diff options
author | Chad Brubaker <cbrubaker@google.com> | 2017-01-27 13:39:00 -0800 |
---|---|---|
committer | Chad Brubaker <cbrubaker@google.com> | 2017-02-02 11:04:57 -0800 |
commit | 6b68f1060ccb2b58bd24f85d05813c09667556b8 (patch) | |
tree | d0b8c606b0cec5815b8261f384549e361d482b9d /tools/aapt2/diff/Diff.cpp | |
parent | 61d7a8a7f56bb4b47da54eb0763c0a033ddee715 (diff) |
Limit Instant App notifications
Instants apps are not allowed to create toasts or notifications, however
they are allowed to update notifications that were created by the
system for them (i.e. a notification for a foreground service).
Test: Manually verified that .notify() fails with a security exception
Test: Manually verified startForeground shows a notification and that it
can be updated.
Change-Id: I054cccc2aa817263d15abd34851b0e06f16fb829
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions