Merge "Close access to WindowGlobalManager.trimMemory starting with Q"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7bd4ed2703
@@ -520,7 +520,7 @@ public final class WindowManagerGlobal {
|
||||
return false;
|
||||
}
|
||||
|
||||
@UnsupportedAppUsage
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
|
||||
public void trimMemory(int level) {
|
||||
if (ThreadedRenderer.isAvailable()) {
|
||||
if (shouldDestroyEglContext(level)) {
|
||||
|
||||
Reference in New Issue
Block a user