diff options
| author | Danesh Mondegarian <daneshm90@gmail.com> | 2012-12-16 12:33:53 -0500 |
|---|---|---|
| committer | Danesh Mondegarian <daneshm90@gmail.com> | 2012-12-16 18:48:31 -0500 |
| commit | 780d0e089b520358a61e80fbf94bccfc69f87852 (patch) | |
| tree | 48388c7711b22317cba53d395b5da7b60903b525 /packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java | |
| parent | 385ad47ef699e05ad7450805b3f90db14761b64d (diff) | |
| download | frameworks_base-780d0e089b520358a61e80fbf94bccfc69f87852.zip frameworks_base-780d0e089b520358a61e80fbf94bccfc69f87852.tar.gz frameworks_base-780d0e089b520358a61e80fbf94bccfc69f87852.tar.bz2 | |
QuickSettings : Dismiss notification panel upon toggle
Automatically dismisses the notification panel after selecting a toggle,
if the option is enabled.
Patchset 2 : Rename to "panel"
Rename onclick/onlongclick to mOnClick/mOnLongClick
Change-Id: Iaf211db99e45ef464cbc59aa2ee26899f1e44d22
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java')
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java b/packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java index 0f934aa..318a557 100644 --- a/packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java +++ b/packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java @@ -37,7 +37,7 @@ public class GPSTile extends QuickSettingsTile implements LocationGpsStateChange mLabel = mContext.getString(R.string.quick_settings_gps); enabled = Settings.Secure.isLocationProviderEnabled(mContentResolver, LocationManager.GPS_PROVIDER); - onClick = new OnClickListener() { + mOnClick = new OnClickListener() { @Override public void onClick(View v) { @@ -45,7 +45,7 @@ public class GPSTile extends QuickSettingsTile implements LocationGpsStateChange } }; - onLongClick = new OnLongClickListener() { + mOnLongClick = new OnLongClickListener() { @Override public boolean onLongClick(View v) { |
