Merge "Attempt to clear memory after keyguard PIN entry" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f16b3f76aa
@@ -146,7 +146,9 @@ public class KeyguardSecurityContainerController extends ViewController<Keyguard
|
|||||||
try {
|
try {
|
||||||
Thread.sleep(5000);
|
Thread.sleep(5000);
|
||||||
} catch (InterruptedException ignored) { }
|
} catch (InterruptedException ignored) { }
|
||||||
Runtime.getRuntime().gc();
|
System.gc();
|
||||||
|
System.runFinalization();
|
||||||
|
System.gc();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
SysUiStatsLog.write(SysUiStatsLog.KEYGUARD_BOUNCER_PASSWORD_ENTERED,
|
SysUiStatsLog.write(SysUiStatsLog.KEYGUARD_BOUNCER_PASSWORD_ENTERED,
|
||||||
|
|||||||
Reference in New Issue
Block a user