diff options
| author | 2022-01-18 15:49:32 -0500 | |
|---|---|---|
| committer | 2022-01-26 15:14:46 -0500 | |
| commit | 17e784a8b8de90be20c3c485680fda1ddbbdde59 (patch) | |
| tree | e0eff81e67787af6b0910430492992486f656d3c /libs/androidfw/StringPool.cpp | |
| parent | b476f8b522089a76dbd41b147ccf7ff641210c4f (diff) | |
Enable notification permission enforcement
This change will guard posting notifications with a new
"android.permission.POST_NOTIFICATIONS" permission introcuded as part of
Android T.
This permission is marked "dangerous" and will require both declaring
usage of the permission in AndroidManifest.xml as well as showing a
runtime prompt to the user in order to be granted the permission.
Packages which are not granted the permission will have their
notifications silently dropped.
Test: atest Cts*
Bug: 194833441
Change-Id: I274738d4d4c3b09902844708327feb2d1d367307
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions