OSDN Git Service

Fix merge problems with cherry-picking "Add notification settings to backup&restore...
authorRaman Tenneti <rtenneti@google.com>
Wed, 6 Feb 2019 00:34:43 +0000 (16:34 -0800)
committerXin Li <delphij@google.com>
Tue, 19 Feb 2019 22:17:12 +0000 (22:17 +0000)
On 9/28 CL https://googleplex-android-review.git.corp.google.com/5116913 was checked into pi-dev. Merge was bad(couple of lines were lost during merge).

  https://b.corp.google.com/issues/35655737#comment34

Adding LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS and LOCK_SCREEN_SHOW_NOTIFICATIONS to SETTINGS_TO_BACKUP array. This fixes apct/framework/presubmit test failure.

Bug: 35655737
Bug: 118674794
Test: presubmit unit tests
Change-Id: I2e9cc95e8827e72ef3c09910d4d3e089bde375e5
Merged-In: I421c7487955ee339f88e3957c973375d0f87e2ff
(cherry picked from commit 33a11bd0e3c29937af311bc55bbbe36ee63608f4)

core/java/android/provider/Settings.java

index af1a83d..e945c5f 100644 (file)
@@ -8146,6 +8146,8 @@ public final class Settings {
             VOLUME_HUSH_GESTURE,
             MANUAL_RINGER_TOGGLE_COUNT,
             HUSH_GESTURE_USED,
+            LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS,
+            LOCK_SCREEN_SHOW_NOTIFICATIONS,
         };
 
         /**