Merge "Fix not displaying "Allow restricted settings"" into udc-dev

This commit is contained in:
Chaohui Wang
2023-03-20 16:03:47 +00:00
committed by Android (Google) Code Review
4 changed files with 122 additions and 19 deletions

View File

@@ -437,7 +437,8 @@ public class AppInfoDashboardFragment extends DashboardFragment
}
}
private static void showLockScreen(Context context, Runnable successRunnable) {
/** Shows the lock screen if the keyguard is secured. */
public static void showLockScreen(Context context, Runnable successRunnable) {
final KeyguardManager keyguardManager = context.getSystemService(
KeyguardManager.class);