diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-09-25 15:03:20 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-09-25 15:27:51 -0700 |
commit | bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 (patch) | |
tree | d0b8906847bdb134fc8ab9b1bae876fccd4611c0 /packages/SystemUI/src/com/android/systemui/usb | |
parent | d49359631bc2642be73dc162a8a73207df1e0baf (diff) | |
download | frameworks_base-bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324.zip frameworks_base-bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324.tar.gz frameworks_base-bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324.tar.bz2 |
Update references to migrated global settings.
Fixed one setting that was migrated but not marked deprecated.
Removed a hidden setting that is no longer used by the new
power manager service.
Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/usb')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java index c55b5bc..91fc67a 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java +++ b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java @@ -317,9 +317,9 @@ public class StorageNotification extends StorageEventListener { } mUsbStorageNotification.setLatestEventInfo(mContext, title, message, pi); - final boolean adbOn = 1 == Settings.Secure.getInt( + final boolean adbOn = 1 == Settings.Global.getInt( mContext.getContentResolver(), - Settings.Secure.ADB_ENABLED, + Settings.Global.ADB_ENABLED, 0); if (POP_UMS_ACTIVITY_ON_CONNECT && !adbOn) { |