OSDN Git Service

Ambient: If user turned off ambient, keep it off after split
authorAdrian Roos <roosa@google.com>
Fri, 21 Oct 2016 21:49:17 +0000 (14:49 -0700)
committerAdrian Roos <roosa@google.com>
Tue, 25 Oct 2016 19:39:14 +0000 (12:39 -0700)
commit69741a2eb83546f55c4128699c9305a65b499e34
tree0d5bab6c3bbdd9b9f1fd76ccb508fc7fcc8d9fc1
parentfbc27b1e9e104a60eaf17f3ada7276366c96e778
Ambient: If user turned off ambient, keep it off after split

The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java