summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-11-28 16:37:47 -0800
committerPhilip P. Moltmann <moltmann@google.com>2016-11-29 10:33:33 -0800
commit733d322cf594bb29a57e5e44c5c8100c4cf3ffcc (patch)
treef75ad22e178ef53deecc362c18fb25c816bdc3e0 /tools/aapt2/diff/Diff.cpp
parent776a2402faf71cc8d1fbbd6e060480f10300fa24 (diff)
Consider priority when launching a USB app
If there are differnet priorities only consider the acitities with the highest priorities. Esp, if there is only one app with the highest priority launch it directly. This enables an interesting use case: If a priviledged app wants to always be launched for a device it can just set the priority to >0. As it is also on system/ the user _will_not_ get a confirmation dialog and the app will always be directly launched. Test: Added app with higher priority to device and saw it to get auto-selected. Fixes: 28595282 Change-Id: Ia2c9afa00b5a6e8a00b30a01442da62dd0e33961
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions