am: 37d5cb3181
* commit '37d5cb3181b4fc94b5e180f1a011330b893fcd84':
ShortcutManager: API changes for DR
Change-Id: Id585b05388cb487aba19f5c7fee3e13bd467e808
am: 8295332d83
* commit '8295332d83d1e664a7ef3a731370ae71242688a1':
ShortcutManager: API changes for DR
Change-Id: I0006667d4bbe2fa92015ac442ae1e8362cbcacbd
am: 45d4f351ba
* commit '45d4f351ba79e658cb9abc6633b4d7de62e78ffc':
Make some of the UID-based VPN code reusable
Change-Id: I75d9871f8039d14f8d83be4696c3c4d4e864f9c0
am: 607fa836b2
* commit '607fa836b2b60f411ae239bff5391dcaafbbc799':
Make some of the UID-based VPN code reusable
Change-Id: Ie7c88ba3eebe4af85a69f330cae3df3293113d4e
am: 4920698e17
* commit '4920698e17dc8aacd1b0743d313383a8ee1a3400':
Make some of the UID-based VPN code reusable
Change-Id: I0e5b9aa4552ee11ae5ec2d2206cc58487fb9cd4c
am: 4920698e17
* commit '4920698e17dc8aacd1b0743d313383a8ee1a3400':
Make some of the UID-based VPN code reusable
Change-Id: I3f1b1a08059aa58cb76db6cdd070b103024b9bf3
am: 96489e0c2a
* commit '96489e0c2a370b970fc243a23ccfb3e0a73d0298':
Introduce system API to get source of user restriction
Change-Id: Id368f8b1a096a86195097ba87a18539f0558a72a
am: 07e232371f
* commit '07e232371f5249de1c8fe4d8ac277b22b646576c':
Introduce system API to get source of user restriction
Change-Id: Iaec13f6b56a138b67a066c9eb1c234a7a653c4bd
am: 690c2ea117
* commit '690c2ea117f90b7759ac280a1c84f5966b1e7938':
Introduce system API to get source of user restriction
Change-Id: Iec3a08471bc56a3aec1aff43b3c7361931c13539
am: 690c2ea117
* commit '690c2ea117f90b7759ac280a1c84f5966b1e7938':
Introduce system API to get source of user restriction
Change-Id: Iab98753f85774d741c5126395d56af194c8b0ca8
- Added ActivityOption to mark a starting activity as a taskOverlay
activity. That is the activity will always be the top activity of the
task and doesn't cause the task to be moved to the front when it is added.
- Only set the starting window state of the ActivityRecord to shown if
window manager actually showed the starting window for the activity.
Avoids incorrectly trying to remove starting window for an activity that
didn't show any.
- When starting additional activity in a task, transfer the starting
window from the top most activity with a starting window. It is possible
the top most window does have a starting window like in the case of the
forcedResized activity.
- Only ensure visiblity of an activity we are starting in a task whose top
activity is a task overlay. They need to start in the visible-paused state
and not the resumed state which just causes extra churn in the system.
- Always add additional starting activities in a task with an overlay
activity below the overlay activity.
Bug: 28751186
Change-Id: I3624a4313ae9c406d42c67a3537f67ad685791af
See https://goto.google.com/shortcutmanager-spec-dr for
the details.
This CL contains changes to ShortcutInfo and all the new API
entry points, but not the implementation of the new APIs.
- ShortcutInfo.activityComponent is now mandatory.
- Publishers can now disable shortcuts. ShortcutInfo can now have
"disabled message".
- ShortcutInfo now supports string resources for all the String
fields.
-> When launcher fetches shortcuts, ShortcutService will
automatically load resources and expose as strings.
- LauncherApps now supports getShortcutIconDrawable() and
getShortcutBadgedIconDrawable() to be consistent with
LauncherActivityInfo.
- ShortcutInfo.weight is replaced with "rank".
- Added ShortcutManager.reportShortcutUsed(), which will be used for
usage tracking / suggestion.
Bug 28536054
Bug 28536066
Bug 28564134
Bug 28594168
Change-Id: Ib8245b39bb1e753991a9de89c0b73accacd90355
We need to incorporate task bounds when calculating the inset hint
so we don't specify something wrong to the client which we correct
immediately after.
Bug: 28697105
Change-Id: I23cec7d6cc62a4d982e0796a867e803d4cce0803