Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3a6edbb authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Add low-ram check for PiP support even if feature is enabled." into oc-mr1-dev

am: 94480521

Change-Id: I55bc3be04dc14c834f0e6ecd52954d36fad84569
parents 358f7fdf 94480521
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14046,10 +14046,10 @@ public class ActivityManagerService extends IActivityManager.Stub
                mContext.getPackageManager().hasSystemFeature(FEATURE_FREEFORM_WINDOW_MANAGEMENT)
                        || Settings.Global.getInt(
                                resolver, DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT, 0) != 0;
        final boolean supportsPictureInPicture =
                mContext.getPackageManager().hasSystemFeature(FEATURE_PICTURE_IN_PICTURE);
        final boolean supportsMultiWindow = ActivityManager.supportsMultiWindow(mContext);
        final boolean supportsPictureInPicture = supportsMultiWindow &&
                mContext.getPackageManager().hasSystemFeature(FEATURE_PICTURE_IN_PICTURE);
        final boolean supportsSplitScreenMultiWindow =
                ActivityManager.supportsSplitScreenMultiWindow(mContext);
        final boolean supportsMultiDisplay = mContext.getPackageManager()