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

Commit 9ee8b138 authored by Ben Lin's avatar Ben Lin
Browse files

Enable PIP Stretch Resize.

Bug: 147361175
Test: Manual
Change-Id: I6088e9c95995b413fdb0f40acc98be120e7c3876
parent d9773f2c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -98,14 +98,14 @@ public class PipResizeGestureHandler {
        mEnablePipResize = DeviceConfig.getBoolean(
                DeviceConfig.NAMESPACE_SYSTEMUI,
                PIP_USER_RESIZE,
                /* defaultValue = */ false);
                /* defaultValue = */ true);
        deviceConfig.addOnPropertiesChangedListener(DeviceConfig.NAMESPACE_SYSTEMUI, mMainExecutor,
                new DeviceConfig.OnPropertiesChangedListener() {
                    @Override
                    public void onPropertiesChanged(DeviceConfig.Properties properties) {
                        if (properties.getKeyset().contains(PIP_USER_RESIZE)) {
                            mEnablePipResize = properties.getBoolean(
                                    PIP_USER_RESIZE, /* defaultValue = */ false);
                                    PIP_USER_RESIZE, /* defaultValue = */ true);
                        }
                    }
                });