summaryrefslogtreecommitdiff
path: root/services/tests
diff options
context:
space:
mode:
authorWei Sheng Shih <wilsonshih@google.com>2021-03-05 05:55:56 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-05 05:55:56 +0000
commitcc1e7da83c5ff4bcabdff080082f2b379463ed39 (patch)
treef548d70c11035cd63dc0f53e54c4c6e81ca9b121 /services/tests
parent4c73e05c1d51c8f30b345815642b73ec5fb9e994 (diff)
parent413456e6409664443fd136fe816576bc26a231f9 (diff)
Merge "[RESTRICT AUTOMERGE]Fix launching app from work profile cannot show splash screen."
Diffstat (limited to 'services/tests')
-rw-r--r--services/tests/wmtests/src/com/android/server/wm/TestWindowManagerPolicy.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/tests/wmtests/src/com/android/server/wm/TestWindowManagerPolicy.java b/services/tests/wmtests/src/com/android/server/wm/TestWindowManagerPolicy.java
index 4a8e8dafb57d..979bbdad250b 100644
--- a/services/tests/wmtests/src/com/android/server/wm/TestWindowManagerPolicy.java
+++ b/services/tests/wmtests/src/com/android/server/wm/TestWindowManagerPolicy.java
@@ -109,9 +109,9 @@ class TestWindowManagerPolicy implements WindowManagerPolicy {
}
@Override
- public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme,
- CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon,
- int logo, int windowFlags, Configuration overrideConfig, int displayId) {
+ public StartingSurface addSplashScreen(IBinder appToken, int userId, String packageName,
+ int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes,
+ int icon, int logo, int windowFlags, Configuration overrideConfig, int displayId) {
final com.android.server.wm.WindowState window;
final ActivityRecord activity;
final WindowManagerService wm = mWmSupplier.get();