Commit Graph

98603 Commits

Author SHA1 Message Date
Anthony Hugh
4d4e91db5e Merge "Expose findCurrentGuestUser() to system apps" 2019-12-04 22:54:07 +00:00
satayev
8899e8f174 Merge "Handle overrideSourcePosition in unsupportedappusageprocessor." am: 168c609085 am: be7b380039
am: 271ca11abe

Change-Id: I05d1a54032c456b9e07674199e334a4d483298f2
2019-12-04 14:44:45 -08:00
Jordan Liu
5e21a0deaa Merge "Add API to send background intent" 2019-12-04 21:07:23 +00:00
Shashwat Razdan
d775eabbce Merge "Added ACTION_UNPIN = 4 in ActionType" 2019-12-04 20:19:31 +00:00
Jordan Liu
45c0d54dfa Add API to send background intent
Test: manual
Bug: 144108192
Change-Id: I93c49d377921830a2ae83217a3fbef5026982319
2019-12-04 10:36:37 -08:00
Automerger Merge Worker
57253a47ef Merge "Deprecate LoginFilter" am: 254411a902 am: 755f6ae1a3
Change-Id: I995410bc4e2f56cfad092435eb34a570b58261b7
2019-12-04 18:03:39 +00:00
Chen Xu
c2c774a606 Merge "expose APIs for mainline telephony-sdk" 2019-12-04 18:02:28 +00:00
Eran Messeri
ac767ac5d9 Merge "Device Identifiers access: only on organization-owned devices" 2019-12-04 17:42:56 +00:00
Automerger Merge Worker
8ed8527519 Merge "Rename priority to connection policy in bluetooth apis" am: 98c91be8ae am: a115281a2d
Change-Id: I243cf844883e088f82613a97fe061468bc126cdb
2019-12-04 17:37:42 +00:00
Alex Johnston
e9a5ccd42f Merge "Replace setAutoTimeRequired and getAutoTimeRequired with setAutoTime and getAutoTime" 2019-12-04 16:59:19 +00:00
satayev
271ca11abe Merge "Handle overrideSourcePosition in unsupportedappusageprocessor." am: 168c609085
am: be7b380039

Change-Id: I63ed4728cc06f4799544a709841f6cfab38085c1
2019-12-04 08:57:37 -08:00
Paul Hu
973a925ff9 Merge "Replace the permission of internal connectivity checks" am: 6be69420df
am: 3256e731e3

Change-Id: I461936789b24940cc81146e9d0fc6c4c455206ed
2019-12-04 08:51:28 -08:00
Charles Munger
755f6ae1a3 Merge "Deprecate LoginFilter" am: 254411a902
am: 3eefccbc20

Change-Id: Ib4cc0727aaee1ab07bdc2b38c6d41ced7d06a947
2019-12-04 08:50:21 -08:00
Rahul Sabnis
a115281a2d Merge "Rename priority to connection policy in bluetooth apis" am: 98c91be8ae
am: 0f3bfe6c3b

Change-Id: I30f8e10c9f240b648dae695b8a7c859fb754fe00
2019-12-04 08:48:47 -08:00
TreeHugger Robot
63330e6859 Merge "Fix SurfaceControl#captureLayers docs" 2019-12-04 16:25:50 +00:00
Eran Messeri
4a96031617 Device Identifiers access: only on organization-owned devices
Deprecate access to device identifiers on non organization-owned
devices.

This is in line with changes to device identifiers access made in
Android Q. Profile owner access to device identifiers on personal
devices was deprecated in Q and is now removed.

However, on an organization-owned device, for asset management
purposes, the profile owner maintains access to device identifiers as
well as the ability to perform device ID attestation.

This is done by adjusting the checkDeviceIdentifierAccess method in the
DevicePolicyManagerService to take into account whether the profile
owner is on organization-owned device.

Bug: 145336515
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testDeviceOwnerCanGetDeviceIdentifiers
Test: atest com.android.cts.devicepolicy.ManagedProfileTest#testProfileOwnerCanGetDeviceIdentifiers
Change-Id: I13486509b5af7acb4713adf8cb17fa301e647268
2019-12-04 16:10:28 +00:00
Automerger Merge Worker
9c965a575a Merge "Add SystemApi to setActiveDevice in BluetoothAdapter" am: 52df59acb3 am: 9c8e9bcc68
Change-Id: I8bd8be4848dbab16882dbf368a8faa886635cd89
2019-12-04 15:56:19 +00:00
Automerger Merge Worker
026bd122de Merge "Add a manual path for setting time zone" am: 7fcab2dba8 am: 57aaf1d427
Change-Id: I8a7113adfe3d420be6e3a99fb504859fc2f387ed
2019-12-04 15:54:54 +00:00
Automerger Merge Worker
3a9ace7b43 Merge "Camera: Avoid removing valid repeating requests" am: 0e7782c87b am: 468c1263cf
Change-Id: I5fec062950b09211988c3b784c1608dcfbaae191
2019-12-04 15:54:17 +00:00
Rahul Sabnis
9c8e9bcc68 Merge "Add SystemApi to setActiveDevice in BluetoothAdapter" am: 52df59acb3
am: 3d59aefb50

Change-Id: Ib5db2cced863edb9e60c81d80dea6102273e69bc
2019-12-04 07:44:01 -08:00
Neil Fuller
57aaf1d427 Merge "Add a manual path for setting time zone" am: 7fcab2dba8
am: 076cd7aa3a

Change-Id: I03abce9eca7c3fa031a4a0b103cb0063ea4bb85b
2019-12-04 07:42:57 -08:00
Emilian Peev
468c1263cf Merge "Camera: Avoid removing valid repeating requests" am: 0e7782c87b
am: a491caf3fb

Change-Id: Ia6e5cfabdea60d3dffb018f15b4fa1a4224a153c
2019-12-04 07:42:25 -08:00
Alex Johnston
8c50338cfd Replace setAutoTimeRequired and getAutoTimeRequired with setAutoTime and getAutoTime
* Deprecate setAutoTimeRequired and getAutoTimeRequired.
* Added new API methods setAutoTime and getAutoTime.
* DPCs are recommended to combine these new APIs together with the DISALLOW_CONFIG_DATE_TIME
  restriction to prevent the user from changing auto time settings.
* The new methods can also be called by the WP PO (COPE mode).

Bug: 138709470
Test: Manual testing with testdpc and the set auto time toggle
      atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testSetAutoTime

Change-Id: I6f93b2a28e3ef0e1e97c9c414ce65d4e753c1bf3
2019-12-04 14:02:58 +00:00
satayev
168c609085 Merge "Handle overrideSourcePosition in unsupportedappusageprocessor." 2019-12-04 13:03:34 +00:00
Bernardo Rufino
ee7d195f03 Merge "Add MANAGE_APP_OVERLAY_PERMISSION intent action" 2019-12-04 10:42:34 +00:00
Paul Chang
5c179c5627 Merge "Add requestBugreport system API in BugreportManager." 2019-12-04 08:46:22 +00:00
Ryan Lin
3c71e504dc Merge "Added ACTION_PRESS_AND_HOLD" 2019-12-04 06:12:56 +00:00
Paul Hu
d1fa427d41 Merge "Replace the permission of internal connectivity checks" 2019-12-04 05:52:01 +00:00
paulhu
a6af6b6c2a Replace the permission of internal connectivity checks
A number of connectivity checks that protect system-only methods
check for CONNECTIVITY_INTERNAL, but CONNECTIVITY_INTERNAL is a
signature|privileged permission. We should audit the permission
checks, and convert checks that protect code that should not be
called outside the system to a signature permission. So replace
all CONNECTIVITY_INTERNAL to other proper permissions.

Bug: 32963470
Test: atest FrameworksNetTests NetworkPolicyManagerServiceTest
Change-Id: I8f2dd1cd0609056494eaf612d39820e273ae093f
2019-12-04 11:45:51 +08:00
paulhu
59148b7938 Replace the permission of internal connectivity checks
A number of connectivity checks that protect system-only methods
check for CONNECTIVITY_INTERNAL, but CONNECTIVITY_INTERNAL is a
signature|privileged permission. We should audit the permission
checks, and convert checks that protect code that should not be
called outside the system to a signature permission. So replace
all CONNECTIVITY_INTERNAL to other proper permissions.

Bug: 32963470
Test: atest FrameworksNetTests NetworkPolicyManagerServiceTest
Change-Id: I8f2dd1cd0609056494eaf612d39820e273ae093f
Merged-In: I8f2dd1cd0609056494eaf612d39820e273ae093f
2019-12-04 11:44:45 +08:00
ryanlwlin
7b122e8f1c Added ACTION_PRESS_AND_HOLD
This action is used to do support distinct behaviour depends on how long
it's pressed and hold. The view declares this action should not expose
ACTION_LONG_CLICK.

Bug: 139506603
Test: The API Builds, there is no executable code here.
Change-Id: Ic3cf37677dd8bee2faf22f2f57feef4c9bb7cc22
2019-12-04 10:30:58 +08:00
Treehugger Robot
254411a902 Merge "Deprecate LoginFilter" 2019-12-04 01:45:49 +00:00
TreeHugger Robot
b69d57c685 Merge "Add JNI call for writing StatsEvent to statsd." 2019-12-04 01:43:06 +00:00
Treehugger Robot
98c91be8ae Merge "Rename priority to connection policy in bluetooth apis" 2019-12-04 01:11:46 +00:00
Jeffrey Huang
3c75f06378 Merge "Add UserManager#getUserHandles() as SystemApi" 2019-12-03 23:19:42 +00:00
Treehugger Robot
2b65793cd6 Merge "Merge Android10 QPR1 into AOSP master" 2019-12-03 23:15:02 +00:00
TreeHugger Robot
315e256a9b Merge "Add comments to bucketing reasons." 2019-12-03 23:14:43 +00:00
TreeHugger Robot
7e19fcd447 Merge "Adding a non-blocking version of transfer." 2019-12-03 22:59:28 +00:00
Steven Thomas
82eed535ab Merge changes I4851c742,If399edd6
* changes:
  2) DM Generalization of Refresh Rates: Rename listener
  1a) DM: create Class to pass around Specs
2019-12-03 22:37:03 +00:00
Rahul Sabnis
3d59aefb50 Merge "Add SystemApi to setActiveDevice in BluetoothAdapter"
am: 52df59acb3

Change-Id: Ia8143d3581a67138a8e22d1b40aff37c288a799b
2019-12-03 13:55:18 -08:00
Treehugger Robot
52df59acb3 Merge "Add SystemApi to setActiveDevice in BluetoothAdapter" 2019-12-03 21:51:44 +00:00
TreeHugger Robot
b11f93129c Merge "Persist PiP size to be restored on re-entry" 2019-12-03 21:44:59 +00:00
Kweku Adams
d18f07301b Add comments to bucketing reasons.
Some of the names weren't fully self-explanatory so adding comments
helps future readers understand what each reason actually represents.

Bug: 145551233
Test: N/A
Change-Id: Ie517590968733e26e5e1b806f44379442a187e9c
2019-12-03 13:39:40 -08:00
Mady Mellor
c66597d520 Merge "Allow Shortcuts to be started on ActivityView" 2019-12-03 21:39:15 +00:00
Alex Buynytskyy
ea4fe39ad3 Adding a non-blocking version of transfer.
Along with blocking utility method.

Test: atest PackageManagerShellCommandTest
Bug: b/136132412

Change-Id: I4ff8504c54c989e4d6a18d53d8b015d9481b4781
2019-12-03 13:20:23 -08:00
Neil Fuller
076cd7aa3a Merge "Add a manual path for setting time zone"
am: 7fcab2dba8

Change-Id: I4a77a647a01fb5b274a5bf819b1e22d4ec7d8219
2019-12-03 12:28:24 -08:00
TreeHugger Robot
2d4862d4c9 Merge "Expose setFixedToUserRotation via IWindowManager." 2019-12-03 20:28:03 +00:00
Neil Fuller
7fcab2dba8 Merge "Add a manual path for setting time zone" 2019-12-03 20:17:09 +00:00
Emilian Peev
a491caf3fb Merge "Camera: Avoid removing valid repeating requests"
am: 0e7782c87b

Change-Id: Iee1a2277935c0b8a5f04ef9cd85ce7cfbd3415c9
2019-12-03 11:46:08 -08:00
Treehugger Robot
0e7782c87b Merge "Camera: Avoid removing valid repeating requests" 2019-12-03 19:31:49 +00:00