From 7ecc5e9fc1a1c9041182cee1a4505060a5227cbe Mon Sep 17 00:00:00 2001 From: mar-v-in Date: Sat, 7 Feb 2015 20:56:49 +0100 Subject: [PATCH] Start adding ask permission dialog --- AndroidManifest.xml | 5 ++ build.gradle | 2 + res/layout/ask_permission.xml | 46 +++++++++++++++++++ .../{login_base.xml => login_assistant.xml} | 2 +- ...oading.xml => login_assistant_loading.xml} | 0 .../gms/auth/AskPermissionActivity.java | 30 ++++++++++++ src/org/microg/gms/auth/AuthManager.java | 6 +++ ...seActivity.java => AssistantActivity.java} | 4 +- .../microg/gms/auth/login/LoginActivity.java | 2 +- 9 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 res/layout/ask_permission.xml rename res/layout/{login_base.xml => login_assistant.xml} (97%) rename res/layout/{login_loading.xml => login_assistant_loading.xml} (100%) create mode 100644 src/org/microg/gms/auth/AskPermissionActivity.java rename src/org/microg/gms/auth/login/{BaseActivity.java => AssistantActivity.java} (94%) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0ae66739..a4b52dbb 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -113,6 +113,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/login_base.xml b/res/layout/login_assistant.xml similarity index 97% rename from res/layout/login_base.xml rename to res/layout/login_assistant.xml index 45fb73ca..e9a78e70 100644 --- a/res/layout/login_base.xml +++ b/res/layout/login_assistant.xml @@ -50,7 +50,7 @@ android:layout_height="0dip" android:layout_weight="1"> - +