summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/AndroidManifest.xml
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-12-08 17:26:44 -0800
committerWinson Chung <winsonc@google.com>2014-12-10 15:16:55 -0800
commit2002cf5b463737e7f615f1469cb20d324c283544 (patch)
treedaf76d1b54b8f3081d628d948832f605ce359150 /packages/SystemUI/AndroidManifest.xml
parent52070f81f2c4c41ffe74adcabda64c2b0349c62d (diff)
downloadframeworks_base-2002cf5b463737e7f615f1469cb20d324c283544.zip
frameworks_base-2002cf5b463737e7f615f1469cb20d324c283544.tar.gz
frameworks_base-2002cf5b463737e7f615f1469cb20d324c283544.tar.bz2
Fixing major regressions in Recents with multi-user. (Bug 18574950)
In the process of front-loading a lot of the loading work, we moved logic into AlternateRecentsComponent, which is not multi-user friendly. This CL proxies all the necessary events for non-primary users to their own SystemUI process to ensure that they handle them correctly, and proxies visibility changes back to the primary user (since that is the only process with the right callbacks). Change-Id: I9fed92214ac4d4e2309ad6ffc35d09b5726c2880
Diffstat (limited to 'packages/SystemUI/AndroidManifest.xml')
-rw-r--r--packages/SystemUI/AndroidManifest.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml
index 0e69f74..b606a6f 100644
--- a/packages/SystemUI/AndroidManifest.xml
+++ b/packages/SystemUI/AndroidManifest.xml
@@ -197,6 +197,7 @@
<!-- Alternate Recents -->
<activity android:name=".recents.RecentsActivity"
android:label="@string/accessibility_desc_recent_apps"
+ android:exported="false"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:stateNotNeeded="true"
@@ -207,6 +208,17 @@
</intent-filter>
</activity>
+ <receiver android:name=".recents.RecentsUserEventProxyReceiver"
+ android:exported="false">
+ <intent-filter>
+ <action android:name="com.android.systemui.recents.action.SHOW_RECENTS_FOR_USER" />
+ <action android:name="com.android.systemui.recents.action.HIDE_RECENTS_FOR_USER" />
+ <action android:name="com.android.systemui.recents.action.TOGGLE_RECENTS_FOR_USER" />
+ <action android:name="com.android.systemui.recents.action.PRELOAD_RECENTS_FOR_USER" />
+ <action android:name="com.android.systemui.recents.action.CONFIG_CHANGED_FOR_USER" />
+ </intent-filter>
+ </receiver>
+
<!-- started from UsbDeviceSettingsManager -->
<activity android:name=".usb.UsbConfirmActivity"
android:exported="true"