Merge "[DO NOT MERGE] Get legacy recents working for secondary user"
am: 786e7f34fa
Change-Id: Ibcaaf674e1089f25be9f4236e5bbfbfddcb36d1c
This commit is contained in:
@@ -26,6 +26,14 @@
|
|||||||
(package/class) -->
|
(package/class) -->
|
||||||
<string name="config_recentsComponent" translatable="false">com.android.systemui.recents.LegacyRecentsImpl</string>
|
<string name="config_recentsComponent" translatable="false">com.android.systemui.recents.LegacyRecentsImpl</string>
|
||||||
|
|
||||||
|
<!-- SystemUI Services (per user): The classes of the stuff to start for each user. This is a subset of the config_systemUIServiceComponents -->
|
||||||
|
<string-array name="config_systemUIServiceComponentsPerUser" translatable="false">
|
||||||
|
<item>com.android.systemui.Dependency$DependencyCreator</item>
|
||||||
|
<item>com.android.systemui.util.NotificationChannels</item>
|
||||||
|
<item>com.android.systemui.statusbar.CommandQueue$CommandQueueStart</item>
|
||||||
|
<item>com.android.systemui.recents.Recents</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
<!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
|
<!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
|
||||||
for devices where the java drawing of round rects may be slow -->
|
for devices where the java drawing of round rects may be slow -->
|
||||||
<bool name="config_recents_use_hardware_layers">false</bool>
|
<bool name="config_recents_use_hardware_layers">false</bool>
|
||||||
|
|||||||
@@ -195,6 +195,7 @@ public class LegacyRecentsImpl implements RecentsImplementation {
|
|||||||
mContext.getColor(R.color.recents_task_bar_default_background_color);
|
mContext.getColor(R.color.recents_task_bar_default_background_color);
|
||||||
final int defaultTaskViewBackgroundColor =
|
final int defaultTaskViewBackgroundColor =
|
||||||
mContext.getColor(R.color.recents_task_view_default_background_color);
|
mContext.getColor(R.color.recents_task_view_default_background_color);
|
||||||
|
getComponent(Recents.class).putComponent(LegacyRecentsImpl.class, this);
|
||||||
sDebugFlags = new RecentsDebugFlags();
|
sDebugFlags = new RecentsDebugFlags();
|
||||||
sSystemServicesProxy = SystemServicesProxy.getInstance(mContext);
|
sSystemServicesProxy = SystemServicesProxy.getInstance(mContext);
|
||||||
sConfiguration = new RecentsConfiguration(mContext);
|
sConfiguration = new RecentsConfiguration(mContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user