summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGalia Peycheva <galinap@google.com>2020-03-19 20:28:09 +0100
committerGalia Peycheva <galinap@google.com>2020-03-30 16:34:20 +0000
commited401cc16d27d90c78b9744b580f00529e391e9a (patch)
tree837bf26bf71ee45d1e9d19e2dc3a6f1df6cf472e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent480275a1977bcace74963d83c70c4c9e53d3a029 (diff)
Introduce security checks to startDreamActivity
This CL checks that the caller is the dream package and that the device is dreaming when the activity is started. isDream was instroduced in order to exempt the DreamActivity from background start check. setAllowBackgroundActivityStart does that more cleanly. Bug: 152281628 Test: m && flashall && verify dream works Change-Id: Id6161f923f3350d482b3452a78a792a541dcf1a1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions