OSDN Git Service

Disable development settings when the switch bar turns off.
authorFan Zhang <zhfan@google.com>
Mon, 20 Mar 2017 21:56:09 +0000 (14:56 -0700)
committerFan Zhang <zhfan@google.com>
Mon, 20 Mar 2017 22:29:59 +0000 (15:29 -0700)
commit748649b006ca842af9f916f45816ee704d27a46e
tree8a7dac3233d48665af52109018a9248d0f2d70a8
parent981255756187d98f068d0107ba28ca2baad33d5c
Disable development settings when the switch bar turns off.

Change-Id: Icc9953c95ed4d131231bb6ba95d60b43092a3833
Fix: 29274149
Test: make RunSettingsRoboTests
src/com/android/settings/development/DevelopmentSettings.java
src/com/android/settings/development/DevelopmentSettingsEnabler.java [new file with mode: 0644]
src/com/android/settings/deviceinfo/BuildNumberPreferenceController.java
tests/robotests/src/com/android/settings/development/DevelopmentSettingsEnablerTest.java [new file with mode: 0644]