Use right starting window resource in multi-window mode.
Use the override configuration for the task the app is contained in to generate resources for the starting window. Bug: 28220001 Change-Id: I6fdf39a6d6de41287b44b25861a76f58fe58dd53
This commit is contained in:
@@ -727,6 +727,8 @@ public interface WindowManagerPolicy {
|
||||
* @param labelRes The resource ID the application would like to use as its name.
|
||||
* @param icon The resource ID the application would like to use as its icon.
|
||||
* @param windowFlags Window layout flags.
|
||||
* @param overrideConfig override configuration to consider when generating
|
||||
* context to for resources.
|
||||
*
|
||||
* @return Optionally you can return the View that was used to create the
|
||||
* window, for easy removal in removeStartingWindow.
|
||||
@@ -735,7 +737,7 @@ public interface WindowManagerPolicy {
|
||||
*/
|
||||
public View addStartingWindow(IBinder appToken, String packageName,
|
||||
int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel,
|
||||
int labelRes, int icon, int logo, int windowFlags);
|
||||
int labelRes, int icon, int logo, int windowFlags, Configuration overrideConfig);
|
||||
|
||||
/**
|
||||
* Called when the first window of an application has been displayed, while
|
||||
|
||||
Reference in New Issue
Block a user