aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-07-19 16:37:18 +0530
committerGitHub <noreply@github.com>2020-07-19 16:37:18 +0530
commitc7ccc2f4f1c005f95043ef10157edb4469185d95 (patch)
tree60afd91507759d819199eda25b9983989b188786
parent465d5b867a67b3c9b24ecd024aeb6dbf925615cd (diff)
Improve UI when launching with biometric lock (#940)
-rw-r--r--CHANGELOG.md3
-rw-r--r--app/src/main/AndroidManifest.xml6
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/LaunchActivity.kt1
3 files changed, 4 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 30b6638f..5bc44ed5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,7 +10,8 @@ All notable changes to this project will be documented in this file.
- Light theme is now a consistent white across the board with ample contrast
- XkPassword generator is now easier to use with less configuration options
- Edit screen now has better protection and guidance for invalid names
-- Improve password list UI
+- Improved biometric authentication UX on app start
+- Improved password list UI
### Fixed
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 1fea64ba..2fc14f3b 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -15,9 +15,6 @@
android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
- <uses-permission android:name="android.permission.USE_BIOMETRIC" />
- <!--suppress DeprecatedClassUsageInspection -->
- <uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application
@@ -38,7 +35,8 @@
<activity
android:name=".LaunchActivity"
android:configChanges="orientation|screenSize"
- android:label="@string/app_name">
+ android:label="@string/app_name"
+ android:theme="@style/NoBackgroundTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
diff --git a/app/src/main/java/com/zeapo/pwdstore/LaunchActivity.kt b/app/src/main/java/com/zeapo/pwdstore/LaunchActivity.kt
index fa74dc8c..d4622d86 100644
--- a/app/src/main/java/com/zeapo/pwdstore/LaunchActivity.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/LaunchActivity.kt
@@ -50,7 +50,6 @@ class LaunchActivity : AppCompatActivity() {
} else {
startActivity(Intent(this, PasswordStore::class.java))
}
- overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out)
Handler().postDelayed({ finish() }, if (noAuth) 0L else 500L)
}