Loading packages/SystemUI/src/com/android/systemui/tv/pip/PipManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -528,7 +528,7 @@ public class PipManager { private static boolean isSettingsShown(ComponentName topActivity) { for (Pair<String, String> componentName : sSettingsPackageAndClassNamePairList) { String packageName = componentName.first; if (topActivity.getPackageName().equals(componentName.first)) { if (topActivity.getPackageName().equals(packageName)) { String className = componentName.second; if (className == null || topActivity.getClassName().equals(className)) { return true; Loading services/core/java/com/android/server/am/ActivityStack.java +5 −2 Original line number Diff line number Diff line Loading @@ -1350,8 +1350,11 @@ final class ActivityStack { prev.cpuTimeAtResume = 0; // reset it } // Notify when the task stack has changed, but only if visibilities changed (not just focus) if (mStackSupervisor.mAppVisibilitiesChangedSinceLastPause) { // Notify when the task stack has changed, but only if visibilities changed (not just // focus). Also if there is an active pinned stack - we always want to notify it about // task stack changes, because its positioning may depend on it. if (mStackSupervisor.mAppVisibilitiesChangedSinceLastPause || mService.mStackSupervisor.getStack(PINNED_STACK_ID) != null) { mService.notifyTaskStackChangedLocked(); mStackSupervisor.mAppVisibilitiesChangedSinceLastPause = false; } Loading Loading
packages/SystemUI/src/com/android/systemui/tv/pip/PipManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -528,7 +528,7 @@ public class PipManager { private static boolean isSettingsShown(ComponentName topActivity) { for (Pair<String, String> componentName : sSettingsPackageAndClassNamePairList) { String packageName = componentName.first; if (topActivity.getPackageName().equals(componentName.first)) { if (topActivity.getPackageName().equals(packageName)) { String className = componentName.second; if (className == null || topActivity.getClassName().equals(className)) { return true; Loading
services/core/java/com/android/server/am/ActivityStack.java +5 −2 Original line number Diff line number Diff line Loading @@ -1350,8 +1350,11 @@ final class ActivityStack { prev.cpuTimeAtResume = 0; // reset it } // Notify when the task stack has changed, but only if visibilities changed (not just focus) if (mStackSupervisor.mAppVisibilitiesChangedSinceLastPause) { // Notify when the task stack has changed, but only if visibilities changed (not just // focus). Also if there is an active pinned stack - we always want to notify it about // task stack changes, because its positioning may depend on it. if (mStackSupervisor.mAppVisibilitiesChangedSinceLastPause || mService.mStackSupervisor.getStack(PINNED_STACK_ID) != null) { mService.notifyTaskStackChangedLocked(); mStackSupervisor.mAppVisibilitiesChangedSinceLastPause = false; } Loading