Commit Graph

468813 Commits

Author SHA1 Message Date
Feng Cao
5f7e99e5d8 Add the locale field and an extra Bundle to the InlineSuggestionsRequest.
* The extra can be used to indicate the UI rendering library version, as well as anything else we may need after API freeze
* Also make the style in InlinePresentaionSpec publically accessible

Test: build
Bug: 146454892

Change-Id: Iaaf66c2dcffdef3ef8e91c347774afa3aa6176f9
2020-02-17 11:17:22 -08:00
TreeHugger Robot
37266b681a Merge "Modified getActiveAdminsForAffectedUser" 2020-02-17 19:07:25 +00:00
Stanislav Zholnin
d7674c2be5 Fix bug in StatsService which prevents any shell command from execution.
Bug: 149691126
Test: adb shell cmd stats
Change-Id: I71befdd02e61de0f39cdff9694d4ab07abb1799c
2020-02-17 17:48:12 +00:00
Alex Johnston
a875e43280 Modified getActiveAdminsForAffectedUser
* Removed parent parameter from method.
* If user is a managed profile, return active admins for that user.
* If user is not a managed profile, then add all the active admins
  for that user and the parent active admins of managed profiles
  associated with it.

Bug: 149461308
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testAdminConfiguredNetworks
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetCameraDisabledLogged
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testAdminConfiguredNetworks
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCameraDisabledOnParentLogged

Change-Id: I3a4f9dd9f43c1acd7115aede6d26bb288b110c80
2020-02-17 17:29:31 +00:00
Abhijeet Kaur
642b3d453e Merge "Null Pointer check on ApplicationInfo object before invoking method" 2020-02-17 17:10:50 +00:00
Anna Malova
6adc582d5d Merge "Flip flag to use WebView's implementation of libpac." 2020-02-17 17:09:26 +00:00
Linus Tufvesson
ab72687615 Merge "Block TYPE_PRESENTATION windows on default display" 2020-02-17 17:03:26 +00:00
TreeHugger Robot
309dca6ae2 Merge "Rename PasspointConfiguration#getSubscriptionExpirationTimeInMillis" 2020-02-17 16:23:47 +00:00
Jorim Jaggi
2a3002a54f Revert "SystemUI Split via TaskOrganizer"
Revert "Update CTS tests for tile-based split-screen"

Revert submission 9964969-sysui_split_screen

Reason for revert:
- Random SysUI crash (ag/10335781)
- Breaks IME tests with new_insets set to 2
- Crashes SysUI in split screen with new_insets set to 2.

Reverted Changes:
I103f68030: SystemUI Split via TaskOrganizer
If6740b7ee: Connect split-screen things to systemui divider
I44f497e7d: Update CTS tests for tile-based split-screen

Change-Id: Ife6878044ff19905ed97b599d8c67f80cb8e399e
2020-02-17 17:10:11 +01:00
Stanislav Zholnin
050abc3866 Collect only AppOps self noted by app and proxied by trusted apps.
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive 10060
Change-Id: I9a2e55d258ca37e13ea4a1d8618de29b7143d77e
2020-02-17 16:09:38 +00:00
Treehugger Robot
2481844969 Merge "[vts-core] add vts_permission_validate_test to vts-core" am: 1c91a3d51b am: d7097988d3 am: fb6597f154
Change-Id: Ie8a20dd5c80c4645b931d3520ddfba5a290e6e2e
2020-02-17 16:02:01 +00:00
SongFerng Wang
d16c2323c0 [automerger skipped] Merge "Config of LTE signal strength default value remove SNR" am: b9e141bc55 am: c443e7ba90 am: e417bcfd31 -s ours
am skip reason: skipped by user songferngwang

Change-Id: Ic2a76fcb0f1ff97e72046956425b472d6a862b91
2020-02-17 16:01:36 +00:00
TreeHugger Robot
8cde2c812e Merge "WindowInsetsAnimation: Clean up API" 2020-02-17 15:38:31 +00:00
TreeHugger Robot
201ae0ba59 Merge "Add media output group panel constant" 2020-02-17 14:31:38 +00:00
Sungsoo Lim
ea1eaf74f3 Remove code duplications
Also prevent callback be called before SysMRP created

Test: pass MediaRouter cts
Change-Id: I0cde791fc73a33de5d42dcb6e550016644301ffd
2020-02-17 23:21:26 +09:00
Lorenzo Colitti
9ce6aea73d Merge changes from topics "capport_dhcpresults", "nm_cb_capport" am: f202725395 am: 2c7a224e1b am: b7c9d205bf
Change-Id: Ie27e5dfd51b38194fa104cbd73f9bbe7c4395e0f
2020-02-17 14:20:04 +00:00
Nicolas Geoffray
6f589478d9 Merge "Revert "[DexLoadReporter] Report classloader contexts directly f..."" am: ae50e15d59 am: ea12868665 am: f96a5bf6a0
Change-Id: I0b69537e9c729cf5983bffcc6d37dfb35e000172
2020-02-17 14:19:52 +00:00
Treehugger Robot
3a6a81b684 Merge "Catch correct exception for adding route fail" am: c2050ac731 am: 55c0f41695 am: b6589dc1f6
Change-Id: Ie79acf53b0cdb532f81d4e61e669bdb101b71c0a
2020-02-17 14:19:32 +00:00
Chiachang Wang
0511cbcdd5 Merge "Update state in NetworkInfo when network resumes" am: a853d2dc37 am: 29a6b4f42f am: 3b9e7d958c
Change-Id: I98e64e6197c5e79e6425f39053981f7bf389a895
2020-02-17 14:18:56 +00:00
Abhijeet Kaur
0a04f04ea0 Merge "Whitelist PlatformCompat permissions for MediaProvider" 2020-02-17 14:18:48 +00:00
Junyu Lai
4689794e19 Merge "[SP16] Address comments on aosp/1172143" am: fc9e4fbc08 am: dfb6a0fdb9 am: a08cdb380e
Change-Id: I4cff4d096f375210585ceae5eb27002b97a35226
2020-02-17 14:18:32 +00:00
Junyu Lai
80a8bd4ce8 Merge "[SP17] Wait for stats providers to report stats update" am: 1e47a3e71d am: 9262c04be3 am: be15d2d70f
Change-Id: I719a1b2c75123f6fa6c765eeced055720c052c9b
2020-02-17 14:18:06 +00:00
Calin Juravle
9fd9baab38 Merge "Pass system server class loader context when asking GetDexOptNeeded" am: d42527b844 am: 7d3380d672 am: 2d5242b680
Change-Id: Ib59bf9c16f7f13a1cbf7cce48e9b56f77364f073
2020-02-17 14:17:41 +00:00
TreeHugger Robot
5905f9ffaf [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: e3640bbf00 -s ours am: 3c9003980a -s ours
am skip reason: subject contains skip directive

Change-Id: I94155d05035d31570cbfb0802b09a8f01b3d317c
2020-02-17 14:17:32 +00:00
TreeHugger Robot
b38e4a7df2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 16716475fd -s ours am: 41fdc00e55 -s ours
am skip reason: subject contains skip directive

Change-Id: Id07dc49ffb15810fa5449901822d0d3510408589
2020-02-17 14:17:21 +00:00
TreeHugger Robot
f4e4f82ab5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 79ffd09927 -s ours am: edd78e89da -s ours
am skip reason: subject contains skip directive

Change-Id: If2d25c81bd0309f328642db7187de10dc72c80e7
2020-02-17 14:17:10 +00:00
TreeHugger Robot
0e112ad8cc [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 792f09927a -s ours am: 6f3e0a7e77 -s ours
am skip reason: subject contains skip directive

Change-Id: I7483f67191fc42d5c55d4d3bc3455c532878b033
2020-02-17 14:17:00 +00:00
Calin Juravle
8e9f0b4d55 Merge "[DexLoadReporter] Report classloader contexts directly from classloader" am: 5a01991fef am: ce9b12f5bf am: cb3d0f7ab5
Change-Id: I181e9df3dbf4e0c8551abcb4b7b912f4a05c11c0
2020-02-17 14:16:38 +00:00
Ivan Lozano
523aca0fad [automerger skipped] Merge "Remove execute-only memory related code." am: 615ef33216 am: cd3df3eeeb am: 18d80b13f7 -s ours
am skip reason: skipped by user ngeoffray

Change-Id: I6e5cc30e2a5c28dc814b1aa5293abc7559a969c4
2020-02-17 14:16:28 +00:00
JW Wang
99c5b20bbd Speed up tests
Don't reboot the device when there is no file to delete. This saves us a
significant amount of time since each reboot takes 1 min and there are
dozens of reboot during the whole test case.

Bug: 149528114
Test: atest StagedRollbackTest

Change-Id: If3b06a304d9c87680c7cc5b7498d3b2ecf11cdfa
2020-02-17 22:08:39 +08:00
timhypeng
6bbd5558ef Add getSelectedMediaDevice() API for output switcher
- To get the device list that has been selected to current media.

Bug: 146813761
Test: build pass
Change-Id: I39b0e23148dfd13914e882ccb2a95073c6e9b00b
2020-02-17 13:59:23 +00:00
Joanne Chung
559c57f493 Merge "Keep a strong reference to the InlineContentCallbackImpl" 2020-02-17 13:50:22 +00:00
Pavel Grafov
50495dd81c Merge "Allow control over account management of parent profile" 2020-02-17 13:48:20 +00:00
Linus Tufvesson
b386456680 Block TYPE_PRESENTATION windows on default display
... and any other display that isn't considered a public presentation
display, as per Display.isPublicPresentation()

Bug: 141745510
Test: atest CtsWindowManagerDeviceTestCases:PresentationTest
Change-Id: I2aaab1903dee54190338f7b6e49888aa51437108
2020-02-17 13:37:25 +00:00
Adrian Roos
db5b0c2321 WindowInsetsAnimation: Clean up API
Fixes issues the app developers have raised with
the WindowInsetsAnimation API:

- it really makes more sense to have the Animation
  as the outer class, and the Callback nested within
- it was not obvious previously that multiple animations
  could be running at the same time. A new argument to
  onProgress now makes this abundantly clear by passing
  in the list of running animations.
- The dispatch mode really fits better as a final
  property on the callback, rather than it being
  queried once from a getter.

Also fixes lint warnings.

Fixes: 143556682
Test: make checkapi; atest WindowInsetsControllerTests
Change-Id: I8cd8faac70dd5a15d779d2c983f0a0ea5d6bbd8e
2020-02-17 14:30:25 +01:00
Abhijeet Kaur
5cbf58e33c Merge "Add synchronization locks to shared objects" 2020-02-17 13:02:01 +00:00
Anna Trostanetski
825a08e10d Merge "Remove media-provider compat config from system image." 2020-02-17 12:54:08 +00:00
Ivan Chiang
f5dd8c7faa Merge "Fix isDocumentMimeType issue in MediaFile" 2020-02-17 12:34:08 +00:00
Tiger Huang
e96570e291 Merge "Refactor AttachInfo.mGlobalSystemUiVisibility" 2020-02-17 12:24:44 +00:00
Hyundo Moon
e962ed4ecb MediaRouter2: Enhance readability of MediaRouter2ServiceImpl
This CL introduces following changes:
 - Renamed methods by adding 'Router2' or 'Manager',
   in order to easily distinguish the type of the caller.
 - Rename and reordered MediaRouter2ServiceImpl methods
 - Add missing @NonNull/@Nullable

Bug: 149642195
Test: CTS and atest mediaroutertest
Change-Id: I82758c1bb54e70b699e06fa46fa3a97462e41bc1
2020-02-17 21:18:22 +09:00
Hyundo Moon
56337496f9 MediaRouter2: Refactor internal classes
This CL introduces following changes:
 - Remove ambiguous 'client' word usages
 - Clarify AIDL file names and related classes/methods/fields
 - Reorder AIDL methods

Bug: 149642195
Test: CTS and atest mediaroutertest
Change-Id: I53656c3be52ab8deb3fbf96bf7caf9a3476d7af6
2020-02-17 21:18:19 +09:00
arangelov
7f8743d50c Refresh list on work profile state change.
When the work profile is enabled or disabled
from anywhere on the device, the share sheet and
the intent picker will refresh to either show
the list of work targets or show the empty state
screen that the work profile is not enabled.

Showing that empty state screen also has a
button to enable the work profile. Pressing
it enables the work profile and also refreshes
the list.

Fixes: 149497248
Test: manually toggled the work profile from quick
settings, from the empty state screen button and
from launcher for both share sheet and intent picker.

Change-Id: I25e38b0cb5824ebdcf6255ed1959e9d7c6fac445
2020-02-17 11:52:05 +00:00
arangelov
b20749400c Only change the intent resolver height in tabbed view.
Fixes: 149489404
Test: manual
Change-Id: Idf801794923f249d58bd1caf4ec34f31179c0dd6
2020-02-17 11:50:17 +00:00
arangelov
c77699997d Add a null check in canForwardTo for getProfileParent.
PackageManagerService#canForwardTo assumes the method is called
from a work profile. However, with the new changes in the intent
resolver and share sheet, we use this method from the personal
profile as well, in order to determine if an intent is
cross-profile or not. Without this null check, we get a NPE
when we call canForwardTo from the personal profile.

Test: CTS tests are not relevant in this case, as
PackageManagerService#canForwardTo is not a public API
and the only place it's called from is IntentForwarderActivity,
which does not have CTS coverage.
Fixes: 149311698
Change-Id: I172f572920c258723b6a51ac35f2abc0c3aabbf8
2020-02-17 11:50:01 +00:00
TreeHugger Robot
06092ad9d6 [automerger skipped] Merge "Added log statements to some user-switching tasks." into qt-qpr1-dev am: 2c4c1f1e6d am: a62ad78758 -s ours
am skip reason: Change-Id I7122e45c45a646419b03242c99d90417a29da92a with SHA-1 b5f0e74302 is in history

Change-Id: I8e5bc44f0c45700465c5ed971f08e822249b8c7e
2020-02-17 11:38:04 +00:00
Chiachang Wang
6d20c0e20d Merge "Add NETWORK_SETTINGS to SystemApi" am: 0ab508981a am: c4f123463a
Change-Id: Ic671b59c116b27ee5bbc6ced29ea04086587a9d3
2020-02-17 11:37:23 +00:00
Isabelle Taylor
78b0651e56 [automerger skipped] Merge "Revert "Remove framework code that has moved to frameworks/libs/net"" am: 5c4b6301d5 am: 288fdeb4cd am: ccd475380b -s ours
am skip reason: skipped by user taylori

Change-Id: If1e7e8719516855f6ad77afdb472ed96c2d0703e
2020-02-17 11:37:15 +00:00
Abhijeet Kaur
a5e906e4b1 Merge "FUSE settings flag on by default" 2020-02-17 11:35:28 +00:00
Abhijeet Kaur
01f58baf57 FUSE settings flag on by default
Make Settings UI feature flag's default value consistent with
default value of FUSE flag (as it is now on by default).

Test: Settings->Feature Flags->settings_fuse shows true (expected
default value)

Change-Id: I296063af08455fbcdf0442388fae566a1a0e6372
2020-02-17 11:33:54 +00:00
Bill Yi
91d9497b48 Import translations. DO NOT MERGE
Change-Id: I31af5705bfa457b9c7289f6e7ceef71017f692f9
Auto-generated-cl: translation import
2020-02-17 03:32:10 -08:00