From 9e9f7d11162df92bc430002423a281e22176de41 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 30 Nov 2015 13:28:19 -0700 Subject: [PATCH] Add fallback encryption-aware home screen. When the home screen selected by the user isn't encryption aware, we still need to put something on the ActivityStack. For now, let's use an empty activity that knows how to dismiss itself when the credential-encrypted storage is unlocked; that's enough for the system to re-resolve the home intent and find the real home screen. Also follow method refactoring. Bug: 22358539 Change-Id: Iebc4ad8d2dd62ada079cab03d5765f7631fd4beb --- AndroidManifest.xml | 11 +++++ src/com/android/settings/FallbackHome.java | 45 +++++++++++++++++++ .../applications/AppStorageSettings.java | 8 ++-- 3 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 src/com/android/settings/FallbackHome.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a71821f8614..37edca7b9ca 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2148,6 +2148,17 @@ + + + + + + + + +