diff options
| author | 2018-09-25 13:19:53 -0400 | |
|---|---|---|
| committer | 2018-09-25 15:04:20 -0400 | |
| commit | b663487d28fe257d7d7296ff84e8402027d9120d (patch) | |
| tree | faa120ff454c1565d7bfca256ce8ee334b4838ff /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | e36375ecf1394a5f232269e0fbd5d467b0f552e6 (diff) | |
Look for apps in the proper user
System server can post notifications that appear to
be coming from apps in other users (like when apps in
a work profile start a foreground service). Thus,
when resolving the uid of the notification, it's not safe
to use the calling user; instead the userid as resolved
by ActivityManager.handleIncomingUser() must be used.
Test: runtest systemui-notification
Test: start a foreground service in a managed profile for
an app that doesn't exist in the primary user.
Fixes: 116283798
Bug: 116019760
Change-Id: I568f1ed6fabe64a6c32ef0901f76b2baadc63f6c
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions