Improve UI when launching with biometric lock (#940)

This commit is contained in:
Harsh Shandilya
2020-07-19 16:37:18 +05:30
committed by GitHub
parent 465d5b867a
commit c7ccc2f4f1
3 changed files with 4 additions and 6 deletions

View File

@@ -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 - Light theme is now a consistent white across the board with ample contrast
- XkPassword generator is now easier to use with less configuration options - XkPassword generator is now easier to use with less configuration options
- Edit screen now has better protection and guidance for invalid names - 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 ### Fixed

View File

@@ -15,9 +15,6 @@
android:name="android.permission.BIND_ACCESSIBILITY_SERVICE" android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
tools:ignore="ProtectedPermissions" /> tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <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" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application <application
@@ -38,7 +35,8 @@
<activity <activity
android:name=".LaunchActivity" android:name=".LaunchActivity"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:label="@string/app_name"> android:label="@string/app_name"
android:theme="@style/NoBackgroundTheme">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />

View File

@@ -50,7 +50,6 @@ class LaunchActivity : AppCompatActivity() {
} else { } else {
startActivity(Intent(this, PasswordStore::class.java)) 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) Handler().postDelayed({ finish() }, if (noAuth) 0L else 500L)
} }