Keep the PIP at the shifted position when the Settings is shown
Some top level Settings menus launch activities from other packages. In that case, they should be considered as a part of the Settings if they follow the Leanback's side panel style. Add such activities to the whitelist to keep the PIP position. Bug: 31142005 Change-Id: I12cab611b346154048cbd61f6a678f23b5a10c00
This commit is contained in:
@@ -78,6 +78,18 @@ public class PipManager {
|
||||
sSettingsPackageAndClassNamePairList.add(new Pair<String, String>(
|
||||
"com.google.android.leanbacklauncher",
|
||||
"com.google.android.leanbacklauncher.settings.HomeScreenSettingsActivity"));
|
||||
sSettingsPackageAndClassNamePairList.add(new Pair<String, String>(
|
||||
"com.google.android.apps.mediashell",
|
||||
"com.google.android.apps.mediashell.settings.CastSettingsActivity"));
|
||||
sSettingsPackageAndClassNamePairList.add(new Pair<String, String>(
|
||||
"com.google.android.katniss",
|
||||
"com.google.android.katniss.setting.SpeechSettingsActivity"));
|
||||
sSettingsPackageAndClassNamePairList.add(new Pair<String, String>(
|
||||
"com.google.android.katniss",
|
||||
"com.google.android.katniss.setting.SearchSettingsActivity"));
|
||||
sSettingsPackageAndClassNamePairList.add(new Pair<String, String>(
|
||||
"com.google.android.gsf.notouch",
|
||||
"com.google.android.gsf.notouch.UsageDiagnosticsSettingActivity"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user