mirror of
https://github.com/bitwarden/android.git
synced 2026-05-10 16:45:43 -05:00
PM-23136: Android 10 crash hotfix (#5447)
This commit is contained in:
5
app/src/main/res/values-v30/values.xml
Normal file
5
app/src/main/res/values-v30/values.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Always -->
|
||||
<integer name="displayCutoutMode">3</integer>
|
||||
</resources>
|
||||
@@ -6,7 +6,7 @@
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowActionModeOverlay">true</item>
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">always</item>
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">@integer/displayCutoutMode</item>
|
||||
<item name="android:backgroundDimAmount">@dimen/dialogDimBackgroundAmount</item>
|
||||
</style>
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="dialogDimBackgroundAmount" format="float">0.55</dimen>
|
||||
<!-- default -->
|
||||
<integer name="displayCutoutMode">0</integer>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user