Set use low res snapshots for low ram devices missing in theme snapshot
Creating new tasksnapshot from app theme was missing to set the reduced flag to true. Test: settings to smart lock and pass pattern/password Bug: 65534047 Change-Id: I78e9fed223ffc4c7a9cb8d31836b18f1fc4e7d34
This commit is contained in:
@@ -299,7 +299,7 @@ class TaskSnapshotController {
|
||||
|
||||
return new TaskSnapshot(hwBitmap.createGraphicBufferHandle(),
|
||||
topChild.getConfiguration().orientation, mainWindow.mStableInsets,
|
||||
false /* reduced */, 1.0f /* scale */);
|
||||
ActivityManager.isLowRamDeviceStatic() /* reduced */, 1.0f /* scale */);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user