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

Commit e5d7ebdb 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

am: 20a96fea

Change-Id: Id9b15b5da4d867bec30beabc7d0d4dcfecf26bf5
parents 56ed9ff0 20a96fea
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;