diff options
author | Nick Kralevich <nnk@google.com> | 2015-05-13 11:54:20 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2015-05-13 15:23:52 -0700 |
commit | 7000d5433880b736bd67cbb44f66df771b64ee1b (patch) | |
tree | 437978fb76cf2b4314b706b545aebc5dba39cf6d /src/com/android/settings/DevelopmentSettings.java | |
parent | 07851208fc43afb343085bbfc9fbab6741d8bb03 (diff) | |
download | packages_apps_Settings-7000d5433880b736bd67cbb44f66df771b64ee1b.zip packages_apps_Settings-7000d5433880b736bd67cbb44f66df771b64ee1b.tar.gz packages_apps_Settings-7000d5433880b736bd67cbb44f66df771b64ee1b.tar.bz2 |
New UI for controlling USB
Create a new UI for managing USB access control. This UI is implemented
as a transparent popup triggered by a persistent notification.
Delete the old UI for controlling this. It is no longer used.
Bug: 18905620
Change-Id: I54186961414447a9d37f68e946e1c167506170ae
Diffstat (limited to 'src/com/android/settings/DevelopmentSettings.java')
-rw-r--r-- | src/com/android/settings/DevelopmentSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java index 314e70a..23191ad 100644 --- a/src/com/android/settings/DevelopmentSettings.java +++ b/src/com/android/settings/DevelopmentSettings.java @@ -1274,7 +1274,7 @@ public class DevelopmentSettings extends SettingsPreferenceFragment private void writeUsbConfigurationOption(Object newValue) { UsbManager manager = (UsbManager)getActivity().getSystemService(Context.USB_SERVICE); - manager.setCurrentFunction(newValue.toString(), false); + manager.setCurrentFunction(newValue.toString()); } private void updateCpuUsageOptions() { |