summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2022-07-07 16:37:50 +0000
committer Mark Renouf <mrenouf@google.com> 2022-08-22 18:39:48 +0000
commitea7c33f75c991754c9b344417c5aae900c3e9be5 (patch)
treef87019ec579ec49ee38f8abd9a559d39ca887a83 /libs/androidfw/StringPool.cpp
parenta53fd2a5cd4e6bc9f526403342f1aef18c3002e9 (diff)
Initial work profile screenshot policy handling
When a request is received, screen contents are inspected to determine the most appropriate owner. If the primary content belongs to a work profile app, the screenshot will be isolated to the task content. See: go/work-profile-screenshots for details. This change also enables the foreground app package name to be provided with uievent logging. Additional functionality to follow. To activate, enable the flag WORK_PROFILE_SCREENSHOT_POLICY adb shell cmd statusbar flag 1301 on This also requires the flag SCREENSHOTS_REQUEST_PROCESSOR adb shell cmd statusbar flag 1300 on Bug: 159422805 Bug: 231957192 Bug: 200294244 Test: atest RequestProcessorTest manual; enable flags, take screenshot of launcher take screenshot of work profile app observe logs and screenshot content Change-Id: Idc74b04ddd449bfd9765ab9a456e9f9344c3aa2c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions