Loading packages/SystemUI/AndroidManifest.xml +3 −16 Original line number Diff line number Diff line Loading @@ -411,7 +411,8 @@ <!-- started from PipUI --> <activity android:name=".pip.tv.PipMenuActivity" android:exported="true" android:permission="com.android.systemui.permission.SELF" android:exported="false" android:theme="@style/PipTheme" android:launchMode="singleTop" android:taskAffinity="" Loading @@ -420,24 +421,10 @@ android:supportsPictureInPicture="true" androidprv:alwaysFocusable="true" android:excludeFromRecents="true" /> <activity android:name=".pip.tv.PipOverlayActivity" android:exported="true" android:theme="@style/PipTheme" android:taskAffinity="" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|locale|layoutDirection" android:resizeableActivity="true" android:supportsPictureInPicture="true" android:excludeFromRecents="true" /> <activity android:name=".pip.tv.PipOnboardingActivity" android:exported="true" android:theme="@style/PipTheme" android:launchMode="singleTop" android:excludeFromRecents="true" /> <activity android:name=".pip.phone.PipMenuActivity" android:permission="com.android.systemui.permission.SELF" android:theme="@style/PipPhoneOverlayControlTheme" android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" android:excludeFromRecents="true" Loading packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivity.java +8 −0 Original line number Diff line number Diff line Loading @@ -388,6 +388,11 @@ public class PipMenuActivity extends Activity { private void updateFromIntent(Intent intent) { mToControllerMessenger = intent.getParcelableExtra(EXTRA_CONTROLLER_MESSENGER); if (mToControllerMessenger == null) { Log.w(TAG, "Controller messenger is null. Stopping."); finish(); return; } notifyActivityCallback(mMessenger); // Register for HidePipMenuEvents once we notify the controller of this activity Loading Loading @@ -567,6 +572,9 @@ public class PipMenuActivity extends Activity { } private void sendMessage(Message m, String errorMsg) { if (mToControllerMessenger == null) { return; } try { mToControllerMessenger.send(m); } catch (RemoteException e) { Loading packages/SystemUI/src/com/android/systemui/pip/tv/PipMenuActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,9 @@ public class PipMenuActivity extends Activity implements PipManager.Listener { @Override protected void onCreate(Bundle bundle) { super.onCreate(bundle); if (!mPipManager.isPipShown()) { finish(); } setContentView(R.layout.tv_pip_menu); mPipManager.addListener(this); Loading Loading
packages/SystemUI/AndroidManifest.xml +3 −16 Original line number Diff line number Diff line Loading @@ -411,7 +411,8 @@ <!-- started from PipUI --> <activity android:name=".pip.tv.PipMenuActivity" android:exported="true" android:permission="com.android.systemui.permission.SELF" android:exported="false" android:theme="@style/PipTheme" android:launchMode="singleTop" android:taskAffinity="" Loading @@ -420,24 +421,10 @@ android:supportsPictureInPicture="true" androidprv:alwaysFocusable="true" android:excludeFromRecents="true" /> <activity android:name=".pip.tv.PipOverlayActivity" android:exported="true" android:theme="@style/PipTheme" android:taskAffinity="" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|locale|layoutDirection" android:resizeableActivity="true" android:supportsPictureInPicture="true" android:excludeFromRecents="true" /> <activity android:name=".pip.tv.PipOnboardingActivity" android:exported="true" android:theme="@style/PipTheme" android:launchMode="singleTop" android:excludeFromRecents="true" /> <activity android:name=".pip.phone.PipMenuActivity" android:permission="com.android.systemui.permission.SELF" android:theme="@style/PipPhoneOverlayControlTheme" android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout" android:excludeFromRecents="true" Loading
packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivity.java +8 −0 Original line number Diff line number Diff line Loading @@ -388,6 +388,11 @@ public class PipMenuActivity extends Activity { private void updateFromIntent(Intent intent) { mToControllerMessenger = intent.getParcelableExtra(EXTRA_CONTROLLER_MESSENGER); if (mToControllerMessenger == null) { Log.w(TAG, "Controller messenger is null. Stopping."); finish(); return; } notifyActivityCallback(mMessenger); // Register for HidePipMenuEvents once we notify the controller of this activity Loading Loading @@ -567,6 +572,9 @@ public class PipMenuActivity extends Activity { } private void sendMessage(Message m, String errorMsg) { if (mToControllerMessenger == null) { return; } try { mToControllerMessenger.send(m); } catch (RemoteException e) { Loading
packages/SystemUI/src/com/android/systemui/pip/tv/PipMenuActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,9 @@ public class PipMenuActivity extends Activity implements PipManager.Listener { @Override protected void onCreate(Bundle bundle) { super.onCreate(bundle); if (!mPipManager.isPipShown()) { finish(); } setContentView(R.layout.tv_pip_menu); mPipManager.addListener(this); Loading