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 {
|
||||
Thread.sleep(5000);
|
||||
} catch (InterruptedException ignored) { }
|
||||
Runtime.getRuntime().gc();
|
||||
System.gc();
|
||||
System.runFinalization();
|
||||
System.gc();
|
||||
});
|
||||
} else {
|
||||
SysUiStatsLog.write(SysUiStatsLog.KEYGUARD_BOUNCER_PASSWORD_ENTERED,
|
||||
|
||||
Reference in New Issue
Block a user