If MIME group change affects any intent filter,
all preferred activities from the app are cleared
Bug: 134736173
Bug: 136635677
Test: atest CtsDynamicMimeHostTestCases
Change-Id: I84b26768b2da9e98f76f1ab3ec61af58534e3eca
MIME groups can now be modified via PackageManager.
MIME group modification will affect intent-filters
that were declared with that |mimeGroup| in manifest
in the same way, as if intent-filter was initially
declared with |mimeType| attributes that correspond to
MIME types in MIME group
Preferred activities will be handled in the next CL
Bug: 134736173
Bug: 136635677
Test: atest android.content.pm.PackageParserTest#testPackageWithIntentFilters*
Change-Id: I083a8794897e632aad5325a67311931193c69a3c
Intent filters can now have a |data| element
with a |mimeGroup| attribute on it. In a future
CL, the user can add mimeTypes to a mimeGroup,
which will cause the intent-filter to match all those
mimeTypes.
Bug: 134736173
Bug: 136635677
Test: atest android.content.pm.PackageParserTest#testPackageWithIntentFilters*
Change-Id: Ie44dc441e00c29d735814564b7f27b341a69a860
When enabling LiveTile, in overview screen, if launching
AppInfo activity from LiveTile task, since the task view is not
screenshot but is a reparented task surface by RecentsAnimation,
so the wallpaper target will be recents,
But because we ignored to upgrade wallpaper transition because the
topClosingApp is not wallpaper target, it will cause launching AppInfo
activity with TRANSIT_TASK_OPEN or TRANSIT_TASK_TO_FRONT instead of
TRANSIT_WALLPAPER_CLOSE transition.
The fix is to add a check in
RecentsAnimationController#isWallpaperVisible to check if the live-tile
task is in recents animation task and currently wallpaper is visible and
live-tile is on-top of the recents.
So that the topClocingApp and wallpaper target will be the live-tile task and
can upgrade to wallpaper transition.
Fix: 143775967
Test: manual in test steps:
1) long press launcher to launch menu -> Home setttings
2) Enable quick step live-tile.
3) Launch youtube
4) Swipe-up from navbar to launch recents and make sure yotube is still
playing video.
5) Press youtube itcon on the task view and choose launch AppInfo
6) See if the animation is scaled-up from recents.
(i.e.: TRANSIT_WALLPAPER_CLOSE transition)
Change-Id: I3071ba7410f0c1b7ad98450a3d172e22c695c015
SysUI could crash when adding/removing listeners while state was being
refereshed. No longer add new behaviors on every state change. Keep
change of any existing behavior, and only create a new instance if
necessary.
Bug: 149577051
Test: Use togglerange over and over
Change-Id: I28a71ada9f1c26e2077b1c7ab2f843667bc071ff
This will be used by the logic that updates the app bucket state of
cross-profile connected apps that declare the crossProfile manifest
attribute.
Also makes the following changes:
- Fixes CrossProfileAppsServiceImplRoboTest by registering the local
service in a different way.
- Removes some code duplication in CrossProfileAppsServiceImpl.
- Some clean-up.
Robolectric tests will be added later. Right now, there seems to be a
problem causing log messages not to appear, making debugging impossible.
Bug: 140808123
Bug: 136249261
Test: atest com.android.server.pm.CrossProfileAppsServiceImplRoboTest
Change-Id: Iefa6b2a7cb7535d5796d5ca8916c10b29c2e0661
Revert "Fix shared libraries not being reported via Reporter"
Revert submission 1198456-slclc
Reason for revert: Fails on luci:
https://ci.chromium.org/p/art/builders/ci/host-x86_64-cdex-fast/3123
Exempt-From-Owner-Approval: pure revert
Bug: 148494302
Reverted Changes:
I46d8d9105: Fix shared libraries not being reported via Report...
I00357cfe0: [DexLoadReporter] Report classloader contexts dire...
Change-Id: Ib58066e8f059642a11d9eaab02ec0b8b3217e487
So we can clean up the history when a conversation is deleted
and link to the correct notification settings screen
Test: atest
Bug: 149505730
Change-Id: I0784ae80b0fd0a1c00e9b63dfce1104b274df6ce
Exempt-From-Owner-Approval: impatience
Update the javadoc after reviewing the new public-facing Javadoc
implemented for the INTERACT_ACROSS_PROFILES work.
Bug: 136249261
Test: no Java changes
Change-Id: I1a669adea2ff47171dbbcbe6e847a3be0cfa7509
If the cached user ID is not updated after switching user,
the persistent magnification scale setting would be the
last user's manginification scale setting.
Bug: 148831149
Test: atest MagnificationControllerTest
Change-Id: Icef2834cb482bef753191feaf988b28831a2e691