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
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user