OSDN Git Service

Add a Developer option of "Disable automatic update".
authorTao Bao <tbao@google.com>
Tue, 16 Feb 2016 04:03:22 +0000 (20:03 -0800)
committerTao Bao <tbao@google.com>
Wed, 17 Feb 2016 18:41:24 +0000 (10:41 -0800)
commit45a2c163c3870242ed60b5e025d505c967c2b0cb
tree55fc978b329b6f9bd9841b2aba761595d33f3ee7
parent98f5b2ab66313f82dde2a6eebb2bee2c5b8c5134
Add a Developer option of "Disable automatic update".

For devices using A/B update or update-on-boot feature, we need a
Developer option to prevent the system updates from being installed
automatically.

We store the "disabled" status internally to turn on the automatic
update by default. But we show the opposite "enabled" status on screen
based on UX comments.

Bug: 27193001
Change-Id: I36a08a2a08fd1ba0f8f3c4b3ae5a08dc50829cd2
res/values/strings.xml
res/xml/development_prefs.xml
src/com/android/settings/DevelopmentSettings.java