From 73abbc19c3545c1f48533331b45b39fd6584a269 Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Wed, 13 Dec 2017 10:18:23 -0800 Subject: [PATCH] Add PowerUsageSummaryLegacy to Restricted list. Then in guest/secondary user it is also possible to show battery settings. Bug: 70606597 Test: Manual Change-Id: I7993abbf988926d0890229e9c14c779906be6e23 --- src/com/android/settings/core/gateway/SettingsGateway.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/settings/core/gateway/SettingsGateway.java b/src/com/android/settings/core/gateway/SettingsGateway.java index ecef57e70c..b2ad2cd89d 100644 --- a/src/com/android/settings/core/gateway/SettingsGateway.java +++ b/src/com/android/settings/core/gateway/SettingsGateway.java @@ -271,6 +271,7 @@ public class SettingsGateway { Settings.SoundSettingsActivity.class.getName(), Settings.StorageDashboardActivity.class.getName(), Settings.PowerUsageSummaryActivity.class.getName(), + Settings.PowerUsageSummaryLegacyActivity.class.getName(), Settings.UserAndAccountDashboardActivity.class.getName(), Settings.SecuritySettingsActivity.class.getName(), Settings.AccessibilitySettingsActivity.class.getName(), -- 2.11.0