diff options
author | Varun Shah <varunshah@google.com> | 2018-10-26 17:03:23 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-12-05 05:14:05 +0000 |
commit | 5239804b28b3e49fdea54fc73e431f262c1cf727 (patch) | |
tree | 2f96eb65aa26ea5d94fb165c60648997018d06f1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 77d3f399256783faee7b55a51ac9a28031ed0d78 (diff) |
RESTRICT AUTOMERGE: Added an app id security check in isAppForeground.
ActivityManagerService#isAppForeground now checks if the caller has the
permission to view if an app is in the foreground.
Bug: 115384617
Test: cts-tradefed run cts -m CtsSecurityTestCases -t android.security.cts.ActivityManagerTest#testIsAppInForegroundNormal
Test: cts-tradefed run cts -m CtsSecurityTestCases -t android.security.cts.ActivityManagerTest#testIsAppInForegroundMalicious
Change-Id: I9602c89b2d40036e525c38960a08326dc74c6682
(cherry picked from commit 273eb0918adbc7cd410a583b0d25c518b9b1e35e)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions