am: 0f6d5f8a04
* commit '0f6d5f8a04a373c893fd59e0506e274751c53d04':
Make persistent apps become top correctly.
Change-Id: I10c57a404927ef4792d2afbd6649ebd96902b70c
- 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
am: 03a357f8e9
* commit '03a357f8e950aa60c67195844e6e382f0ad4b3b8':
Make persistent apps become top correctly.
Change-Id: I4164ac2d6eaebf845f00a493187986ca9687fe7b
am: 29af3cab29
* commit '29af3cab293dc7a19ca3b387c5507e521f66d0b7':
Make persistent apps become top correctly.
Change-Id: Ic022afa3fa2004735b371dce4738da8d7dfeb008
am: 29af3cab29
* commit '29af3cab293dc7a19ca3b387c5507e521f66d0b7':
Make persistent apps become top correctly.
Change-Id: I3cce5f530659bf2355f79ebcd323ab79137aec92
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
Previously we were only updating configuration for the top activity in
the stack during resizing. This caused an activity behind the top
translucent activity to continue to display in the old configuration
and also get relaunched without window preservation when the top
translucent activity is finished.
We now make sure all activities at all below a translucent activity
have their configuration updated during resizing.
Bug: 28762547
Change-Id: I0926ac6db088cdf3f6a225c552dbfbe944830f68
am: c653375758
* commit 'c6533757587f28efdabc7d040750a9bed3062063':
Ensure app op restrictions reset when the app that set them dies.
Change-Id: Ic268c41a8867e26982d21a258d22a195e1c171c7
am: ba5e72b9ff
* commit 'ba5e72b9ff9f15cbdbbd6f17deb6f783702a389e':
Avoid weird line wrapping by removing columns and forcing line breaks between the links
Change-Id: I502aad87078b7c34cdd885e21d5b62f9291c2b0e
am: cef7a0c03e
* commit 'cef7a0c03eeb3900f949bfdac487a2989013d02b':
Workaround that Recents is shown again after an activity is PIPed
Change-Id: Ia0401634c0a1bf4c900fb8b7182c09898a39066a
am: 4f968024f4
* commit '4f968024f4822155e8428b9e5d8aea3114687412':
Ensure app op restrictions reset when the app that set them dies.
Change-Id: Ia7acd68dfd29d855e26f11a36e04dde153055d62
am: 5f8c5ec9a4
* commit '5f8c5ec9a421b24213fa6c1e0201602088808783':
Ensure app op restrictions reset when the app that set them dies.
Change-Id: I2666118c42a1d67b9e7e6751e627624fff8cdaa1
am: 5d49dc4a37
* commit '5d49dc4a37eedcfb57cbf40b836c8ff040f2d5ba':
Avoid weird line wrapping by removing columns and forcing line breaks between the links
Change-Id: Ia4b3ad784ae8288793a00aad3b6e0b9f348730c4
am: 231adb3e0f
* commit '231adb3e0fbe7cc04971039babfcad717d4af282':
Avoid weird line wrapping by removing columns and forcing line breaks between the links
Change-Id: I5c4dcfc334d5ff5e72a1d83e2b5d12f54f211783
Add some missing @Override annotations, and mark some constants
as unused.
Bug: 28799169
Change-Id: I1ddef87ecb089b62e299544ae94a21d10ef42d98
Test: Compiles.
am: 008d73bd5b
* commit '008d73bd5b3ca4b1b7a8af61957759d65dd67e3b':
Ensure app op restrictions reset when the app that set them dies.
Change-Id: I177256a7f65b3f5c98e5ddc5cf57a7cb47c965ab