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

Commit 20a96fea authored by Matthew Ng's avatar Matthew Ng Committed by android-build-merger
Browse files

Merge "Low ram devices now use 60% reduction for task snap shots" into oc-mr1-dev

am: bba03022

Change-Id: I32dc4579ad58592084b68a19228a6d2842a29649
parents 85f521e7 bba03022
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ class TaskSnapshotPersister {
    private static final String TAG = TAG_WITH_CLASS_NAME ? "TaskSnapshotPersister" : TAG_WM;
    private static final String SNAPSHOTS_DIRNAME = "snapshots";
    private static final String REDUCED_POSTFIX = "_reduced";
    static final float REDUCED_SCALE = 0.5f;
    static final float REDUCED_SCALE = ActivityManager.isLowRamDeviceStatic() ? 0.6f : 0.5f;
    static final boolean DISABLE_FULL_SIZED_BITMAPS = ActivityManager.isLowRamDeviceStatic();
    private static final long DELAY_MS = 100;
    private static final int QUALITY = 95;