commit | 5cf9f41ed6ab7115c98b5d5fdde98e523c185413 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Fri Oct 26 17:03:23 2018 -0700 |
committer | Varun Shah <varunshah@google.com> | Tue Oct 30 15:52:12 2018 -0700 |
tree | 5b75498e8cb758e04c1a0a2d7163cfb466d7b09f | |
parent | abc7143e342df945296b8e420b51bc46da4e527e [diff] |
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: atest cts/tests/tests/security/src/android/security/cts/ActivityManagerTest.java#testActivityManager_checkAppInForegroundCall Change-Id: I9602c89b2d40036e525c38960a08326dc74c6682