From e0b6054dbf609241a2c489df40bb255bff781cd0 Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Tue, 4 Jan 2011 15:36:31 -0800 Subject: Add long press handler for service home button to use settings from prefs diff --git a/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java b/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java index 899cfe7..9b50a4d 100644 --- a/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java +++ b/src/net/hoopajoo/android/SoftKeys/SoftKeysService.java @@ -271,7 +271,7 @@ public class SoftKeysService extends Service { ((LinearLayout)mView.findViewById( R.id.button_container )).removeView( container.findViewById( R.id.settings ) ); // no settings in service // arrange buttons - Keys.applyButtons( settings, mView, c, null, touch, true ); + Keys.applyButtons( settings, mView, c, lc, touch, true ); mView.setVisibility( View.INVISIBLE ); mView.setOnTouchListener( touch ); mView.setOnLongClickListener( longpress_rotate ); -- cgit v0.10.2