Commit Graph

468813 Commits

Author SHA1 Message Date
TreeHugger Robot
c57793cee4 Merge "Refactor checkAddPermission" 2020-02-17 01:22:43 +00:00
TreeHugger Robot
bede106341 Merge "Move statsd (and tests) to libbinder_ndk" 2020-02-17 01:11:32 +00:00
Sungsoo Lim
9dd477c02b Merge "Refactor BluetoothRouteProvider" 2020-02-17 00:24:12 +00:00
Taras Antoshchuk
58f0ffac30 Clear preferred activities affected by MIME groups changes
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
2020-02-16 20:10:22 +01:00
Taras Antoshchuk
a7d9c73938 Implement new API to modify MIME groups by adding/removing MIME types
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
2020-02-16 20:10:22 +01:00
phweiss
26d3496c9b Add mimeGroup tag to intent filters
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
2020-02-16 20:10:22 +01:00
Bill Yi
b3c79dd9c3 Import translations. DO NOT MERGE
Change-Id: Ibbdf150842cb9b2d8c1b0f33495f38b5f15410bc
Auto-generated-cl: translation import
2020-02-16 08:46:45 -08:00
TreeHugger Robot
cce9df2afc Merge "Fix animation when launching AppInfo in LiveTile task" 2020-02-16 11:37:32 +00:00
TreeHugger Robot
02b797b3f9 Merge "Add an API to allow AugmentedAutofillService to request an autofill." 2020-02-16 08:45:18 +00:00
TreeHugger Robot
d856f95d2f Merge "Add Invalid Filter/AVSyncID" 2020-02-16 08:23:53 +00:00
Svetoslav Ganov
04eebb6f76 Merge "Fix api after checking in ag/10329810" 2020-02-16 06:49:52 +00:00
Feng Cao
a23784dc33 Fix api after checking in ag/10329810
Test: build
Bug: 146454892

Change-Id: Icb674f683c52d2778342668cf6d678ea6787cd24
2020-02-15 22:46:43 -08:00
lumark
ae078778c8 Fix animation when launching AppInfo in LiveTile task
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
2020-02-16 14:07:18 +08:00
TreeHugger Robot
9d60f2f87e Merge "Interface to represent overflow as bubble" 2020-02-16 04:40:58 +00:00
Sean Pont
59ecddf837 Merge "Improve QuickAccessWallet documentation and client." 2020-02-16 04:30:17 +00:00
Lyn Han
d9f8e2b955 Update empty overflow copy
Bug: 148879187
Test: manual - text updated
Change-Id: I33e0df0b6baac9536f43962cc6f61028fa563201
2020-02-15 19:14:59 -08:00
Lyn Han
3cd75d77e2 Interface to represent overflow as bubble
Bug: 138116789
Test: manual - bubble behavior remains the same
Test: atest SystemUITests
Change-Id: I8c17ab9cddba5e3072274d57382d81657e47f7b8
2020-02-15 19:10:12 -08:00
Henry Fang
3801d6cb98 Add Invalid Filter/AVSyncID
To allow client to identify invalid filter/avSync ID

bug: 148110220
Test: Manual
Change-Id: Id2d5aada44eb2be32f88277fce4db72d375e5c46
2020-02-16 03:09:33 +00:00
TreeHugger Robot
4d07258e6f Merge "Remove inline suggestion styling API from the framework now that they are available in the support library" 2020-02-16 02:23:34 +00:00
Etan Cohen
804d94a100 [WifiNl80211] Rename WifiNl80211Manager namespace
Finish the renaming process from wificond -> nl80211.

Bug: 149105833
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: Icf94799b560da66a5366743fd2a33b0f152da335
2020-02-15 17:33:27 -08:00
Daniel Bright
fb4128e0dd Merge "Revert "Move base resources to telephony"" 2020-02-16 01:26:49 +00:00
Stephane Lee
90bf87449f Consume health HAL 2.1 values from framework
Bug: 148816661
Test: Ensure that there are no issues with the time to full when
charging
Change-Id: Ie21d451432cd65a91303a8faf40df64935f5c4bb
2020-02-15 16:51:02 -08:00
Valerie Hau
e80f306fdf Merge "Fixing another crash when creating/updating BLASTBufferQueue" 2020-02-15 23:24:49 +00:00
Daniel Bright
094913c577 Revert "Move base resources to telephony"
Revert "Remove overlapping resources"

Revert submission 10319574-telephony_res_cleanup

Reason for revert: build issue
Reverted Changes:
I5caec1dc3: Remove overlapping resources
I6b389f4f1: Move base resources to telephony

Change-Id: Ib42ce5983bb158e6680e5da5fa85faedbcbe0a64
2020-02-15 23:01:41 +00:00
TreeHugger Robot
7f78246d61 Merge "Controls UI - Reuse behaviors" 2020-02-15 23:00:27 +00:00
Nandana Dutt
5ff3568929 Merge changes from topic "preserve_legacy"
* changes:
  Enforce the preserveLegacyExternalStorage manifest attribute
  Support preserveLegacyExternalStorage manifest attribute
  Introduce preserveLegacyExternalStorage manifest attribute
2020-02-15 21:59:23 +00:00
Daniel Bright
1d2f970c02 Merge "Move base resources to telephony" 2020-02-15 21:37:29 +00:00
Matt Pietal
b582b6936b Controls UI - Reuse behaviors
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
2020-02-15 16:28:44 -05:00
Fabian Kozynski
292f26b602 Merge "Increase Load timeout" 2020-02-15 20:44:06 +00:00
Jing Ji
0ddd5ae3e6 Merge "Fix spurious "Timeout waiting for provider"" 2020-02-15 19:59:00 +00:00
Alex Kershaw
179ba0b4e4 Add CrossProfileAppsInternal#getTargetUserProfiles
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
2020-02-15 19:42:30 +00:00
TreeHugger Robot
efa8903567 Merge "Refactor the InputMethodService to move inline suggestion stuff to a separate class" 2020-02-15 19:15:26 +00:00
Trung Lam
f1514f832f Added missing protobuf for PeopleService data persistence.
Change-Id: I85c1b717f1209f48d24260674cb58d522c19aac5
Test: Built and ran on device.
Bug: 149050408
2020-02-15 10:48:43 -08:00
Lorenzo Colitti
b7c9d205bf Merge changes from topics "capport_dhcpresults", "nm_cb_capport" am: f202725395 am: 2c7a224e1b
Change-Id: Ife1b2c42dede9258e1f74d52583a63eb49a2e1a0
2020-02-15 17:51:12 +00:00
Nicolas Geoffray
f96a5bf6a0 Merge "Revert "[DexLoadReporter] Report classloader contexts directly f..."" am: ae50e15d59 am: ea12868665
Change-Id: I4faaff1f5227b64028222c5824d70ac0356cf20f
2020-02-15 17:51:03 +00:00
Lorenzo Colitti
2c7a224e1b Merge changes from topics "capport_dhcpresults", "nm_cb_capport" am: f202725395
Change-Id: I22bbbb598aaca6ba6c73ab37d34e855ec0def48f
2020-02-15 17:36:37 +00:00
Nicolas Geoffray
ea12868665 Merge "Revert "[DexLoadReporter] Report classloader contexts directly f..."" am: ae50e15d59
Change-Id: Icc45c40ce116ce54a915650ca6f6600b6db08e0e
2020-02-15 17:36:14 +00:00
Lorenzo Colitti
f202725395 Merge changes from topics "capport_dhcpresults", "nm_cb_capport"
* changes:
  Add CaptivePortalApiUrl to DhcpResults
  Send LinkProperties update on new capport data
2020-02-15 17:22:18 +00:00
Nicolas Geoffray
ae50e15d59 Merge "Revert "[DexLoadReporter] Report classloader contexts directly f..."" 2020-02-15 17:14:15 +00:00
Nicolas Geoffray
371fcb7cf2 Revert "[DexLoadReporter] Report classloader contexts directly f..."
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
2020-02-15 17:13:58 +00:00
TreeHugger Robot
3739337747 Merge "Upgrade NoMan's cancelation reposting logic" 2020-02-15 14:57:21 +00:00
TreeHugger Robot
53f7348d69 Merge "Update cross-profile javadoc" 2020-02-15 13:42:35 +00:00
Julia Reynolds
a6640a99f5 Remove log spam
Test: build/flash
Fixes: 149554565
Change-Id: Id54672cbd1fc329fe872e97d25e0e17e0c9437a5
2020-02-15 07:53:25 -05:00
Julia Reynolds
30965c45ce Log conversation id in notification history
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
2020-02-15 12:41:40 +00:00
Alex Kershaw
c4b5cc5957 Update cross-profile javadoc
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
2020-02-15 10:46:16 +00:00
Alex Kershaw
747d05fbf0 Merge "Log cross-profile metrics" 2020-02-15 10:45:44 +00:00
Shawn Lin
68c55ddb4f Merge "Make systemui support waterfall" 2020-02-15 09:16:18 +00:00
mincheli
acf5b57d0a Update the current user id for MagnificationController
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
2020-02-15 16:44:33 +08:00
TreeHugger Robot
1f7fb338c7 Merge "Added recovery for affinities on audioserver crash" 2020-02-15 08:32:58 +00:00
TreeHugger Robot
54ee825371 Merge "Check for null ApplicationInfo object in SMS." 2020-02-15 08:32:18 +00:00