Fix RequestPermissionActivity crash
- Dialog needs to use AppCompat theme. - Activity needs to finish itself when user closed AlertDialog. If we don't fix it, you can see a window after AlertDialog was dismissed. Change-Id: Idfbd6b68bcdd3b577f1459657b635b7af9397276 Fixes: 112018696 Test: robo test, manual test
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
<item name="android:navigationBarColor">#00000000</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.BluetoothPermission" parent="@android:style/Theme.Material.Light.Dialog.Alert">
|
||||
<style name="Theme.BluetoothPermission" parent="@style/Theme.AlertDialog">
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
|
Reference in New Issue
Block a user