Put proper value into windowLightStatusBar
Bug: 381000136
Test: Run VmTerminalApp
Change-Id: I192fb53dc3ced87d6e84ced499a0e6ca2b3b7293
diff --git a/android/TerminalApp/AndroidManifest.xml b/android/TerminalApp/AndroidManifest.xml
index a9d6e9d..6074ef5 100644
--- a/android/TerminalApp/AndroidManifest.xml
+++ b/android/TerminalApp/AndroidManifest.xml
@@ -32,7 +32,7 @@
<application
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
- android:theme="@style/Theme.Material3.DayNight.NoActionBar"
+ android:theme="@style/VmTerminalAppTheme"
android:usesCleartextTraffic="true"
android:supportsRtl="true"
android:enabled="false">
diff --git a/android/TerminalApp/res/values/styles.xml b/android/TerminalApp/res/values/styles.xml
index ee80862..3fb8e7d 100644
--- a/android/TerminalApp/res/values/styles.xml
+++ b/android/TerminalApp/res/values/styles.xml
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<resources>
+<resources xmlns:tools="http://schemas.android.com/tools">
<style name="ModifierKeyStyle" parent="@style/Widget.Material3.Button.TextButton">
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
@@ -24,4 +24,7 @@
<item name="android:paddingHorizontal">0dp</item>
<item name="android:hapticFeedbackEnabled">true</item>
</style>
-</resources>
\ No newline at end of file
+ <style name="VmTerminalAppTheme" parent="@style/Theme.Material3.DayNight.NoActionBar">
+ <item name="android:windowLightStatusBar" tools:targetApi="m">?android:attr/isLightTheme</item>
+ </style>
+</resources>