commit | 6b68f1060ccb2b58bd24f85d05813c09667556b8 | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Fri Jan 27 13:39:00 2017 -0800 |
committer | Chad Brubaker <cbrubaker@google.com> | Thu Feb 02 11:04:57 2017 -0800 |
tree | d0b8c606b0cec5815b8261f384549e361d482b9d | |
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