Skip to content

Commit e94a3e7

Browse files
committed
ApplicationThread: Check interface before invoking scheduleLowMemory
Change-Id: I51317386e1729366d19f7e3a1747b05170b9305a
1 parent 9d25b82 commit e94a3e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/java/android/app/ApplicationThreadNative.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ public boolean onTransact(int code, Parcel data, Parcel reply, int flags)
369369

370370
case SCHEDULE_LOW_MEMORY_TRANSACTION:
371371
{
372+
data.enforceInterface(IApplicationThread.descriptor);
372373
scheduleLowMemory();
373374
return true;
374375
}

0 commit comments

Comments
 (0)