Skip to content

Commit a03696d

Browse files
Dianne Hackbornandroid code review
authored andcommitted
Merge "ApplicationThread: Check interface before invoking scheduleLowMemory"
2 parents bc69f97 + e94a3e7 commit a03696d

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)