From aa9e98b5d78dc2d932ef41eade7fdde9bfc5af29 Mon Sep 17 00:00:00 2001 From: Uwais Ashraf Date: Mon, 8 Jan 2024 13:30:57 +0000 Subject: [PATCH] Hardcode ActionBar height to avoid changes while emulating Test: Presubmits passing Bug: 284210693 Flag: NA Change-Id: If3fdb74703f57bfc5c7afbb38caa2acd5b7bd189 --- tests/AndroidManifest-common.xml | 3 ++- tests/res/values/styles.xml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 tests/res/values/styles.xml diff --git a/tests/AndroidManifest-common.xml b/tests/AndroidManifest-common.xml index bd9da0ad4d..70e52a915c 100644 --- a/tests/AndroidManifest-common.xml +++ b/tests/AndroidManifest-common.xml @@ -149,7 +149,8 @@ android:name="com.android.launcher3.testcomponent.BaseTestingActivity" android:label="LauncherTestApp" android:exported="true" - android:taskAffinity="com.android.launcher3.testcomponent.Affinity1"> + android:taskAffinity="com.android.launcher3.testcomponent.Affinity1" + android:theme="@style/Theme.TestActivities"> diff --git a/tests/res/values/styles.xml b/tests/res/values/styles.xml new file mode 100644 index 0000000000..1e1a2cd6c7 --- /dev/null +++ b/tests/res/values/styles.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file