summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Hai Zhang <zhanghai@google.com> 2023-04-04 18:46:12 -0700
committer Hai Zhang <zhanghai@google.com> 2023-04-07 17:30:57 +0000
commit1fb6b61687f756bc62c7786a3e37ba23c1265122 (patch)
treec1afed9496ebc84fd58ab0904e7f1f1265f15bd5 /libs/androidfw/ApkParsing.cpp
parentf1f08c6f405a4d6dae0ebaa6b4d04db5c15580d2 (diff)
Unify USE_FULL_SCREEN_INTENT permission check.
So that the developer API and the service enforcement will always be consistent. Also fixes the bug where NotificationManager.useFullScreenIntent() isn't taking flagging and pre-Q target SDK into account. This changed FSI_FORCE_DEMOTE to work for pre-Q apps as well, since it's a development flag and making it work for all apps is more consistent. Bug: 277104139 Test: NotificationManagerTest Test: NotificationManagerServiceTest Change-Id: Ic5736ef2c9ad239dbe822147641ce5db5436dd53
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions