Commit Graph

22690 Commits

Author SHA1 Message Date
TreeHugger Robot
3a02bebb34 Merge changes Ic8db00b6,I68a91e07,I860ad443
* changes:
  Remove package name from ROLLBACK_EXECUTED broadcast.
  Use VersionedPackage in PackageRollbackInfo.
  Assign a rollbackId to all rollbacks.
2019-01-23 15:49:41 +00:00
Yiwen Chen
57406a7e0e Merge "Add Ramping Ringer platform flags and fix some Ringtone bugs." 2019-01-23 15:20:08 +00:00
Adrian Roos
38c8934b67 Merge "API: Fix missing @NonNull annotations" 2019-01-23 14:02:15 +00:00
TreeHugger Robot
2288bdc9ab Merge "New extra and helper methods to set screenlock to a specific complexity level" 2019-01-23 13:59:21 +00:00
TreeHugger Robot
448fb122a1 Merge "Remove Constructor of RemoteUserInfo which takes IBinder" 2019-01-23 13:20:46 +00:00
TreeHugger Robot
de3aea6904 Merge "Add an intent extra that contains a number of milliseconds." 2019-01-23 13:13:47 +00:00
TreeHugger Robot
a9b062d0bc Merge "AudioEffect: make Descriptor not final" 2019-01-23 12:01:47 +00:00
Richard Uhler
a7e9b2db4b Use VersionedPackage in PackageRollbackInfo.
Rather than defining a new custom PackageRollbackInfo.PackageVersion
type.

Also clean up PackageRollbackInfo API by replacing public fields with
methods and picking better names.

Bug: 112431924
Test: atest RollbackTest
Change-Id: I68a91e07b8745df9c5ecb22fdccbfcd76385814a
2019-01-23 11:02:56 +00:00
Richard Uhler
b9d54474ad Assign a rollbackId to all rollbacks.
To make it easier to specify what rollback to perform when a rollback is
executed.

Bug: 112431924
Test: atest RollbackTest
Change-Id: I860ad443848341fbb99169a05b084fa797c5e08c
2019-01-23 11:02:42 +00:00
TreeHugger Robot
eea1710cda Merge "Add a feature flag for secure lock screen." 2019-01-23 10:55:33 +00:00
Luke Huang
d121dd2aa5 Merge changes from topic "Java async dns" am: 31ff0616d1 am: a8e16262f1
am: e052154abb

Change-Id: I12f50513eee1c1cf3c908036fe80d3a3d8c373d0
2019-01-23 01:24:21 -08:00
Luke Huang
e052154abb Merge changes from topic "Java async dns" am: 31ff0616d1
am: a8e16262f1

Change-Id: I305cf0ae791f9503519884bdf382863002357ac7
2019-01-23 01:14:34 -08:00
Luke Huang
31ff0616d1 Merge changes from topic "Java async dns"
* changes:
  Add asynchronous DNS query API in Java
  Add jni method for DnsResolver
2019-01-23 08:48:23 +00:00
Ugo Yu
250227d18b Merge "Skeleton implementation of Bluetooth metadata APIs" am: 625a1f4461 am: 2f1cba20a5
am: 716eb586ac

Change-Id: I0ac4ea988598a190d4c14378c072def122f4257e
2019-01-23 00:24:02 -08:00
Ugo Yu
716eb586ac Merge "Skeleton implementation of Bluetooth metadata APIs" am: 625a1f4461
am: 2f1cba20a5

Change-Id: If532d6e87a7d863f0802084f945b12406152d666
2019-01-23 00:12:42 -08:00
Remi NGUYEN VAN
c56ce9735a Merge "Add UserHandle constants to SystemApi" am: 0a9054639d
am: 7b0f06d7d9

Change-Id: I4ab95e6114546f01648a949b5712b7a609319684
2019-01-22 23:39:57 -08:00
Treehugger Robot
625a1f4461 Merge "Skeleton implementation of Bluetooth metadata APIs" 2019-01-23 07:38:06 +00:00
Remi NGUYEN VAN
0a9054639d Merge "Add UserHandle constants to SystemApi" 2019-01-23 07:06:44 +00:00
TreeHugger Robot
09d70fb609 Merge "Implement test harness mode" 2019-01-23 07:05:37 +00:00
TreeHugger Robot
844ff30bfb Merge "Add euicc privileged actions and extras." 2019-01-23 06:41:45 +00:00
Xiangyu/Malcolm Chen
1f61f171e0 Merge "Add System API to enable / disable a logical modem." am: 8df9d17289
am: def2c87ee6

Change-Id: I85875233adced81ae9caa4d1a4c65cdc84922356
2019-01-22 22:07:47 -08:00
Hyundo Moon
eb9bf73b21 Remove Constructor of RemoteUserInfo which takes IBinder
This CL reverts the API change in previously merged CL
"b505f0a: AML: Unhide 4-params constructor of RemoteUserInfo".

Bug: 119752205, Bug: 122550211
Test: make update-api -j; make -j;
      atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
      atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
      atest CtsMediaTestCases:android.media.cts.MediaBrowserTest;
      atest CtsMediaTestCases:android.media.cts.MediaBrowserServiceTest;
      atest CtsMediaTestCases:android.media.cts.MediaBrowserServiceTest;
Change-Id: I5d6835af4d931c001287126c394db48d65bb09f8
2019-01-23 14:41:37 +09:00
Yiwen Chen
3d3ad02312 Add Ramping Ringer platform flags and fix some Ringtone bugs.
Bug: 120789399
Test: When finish the whole change, flash into a dev phone to test first.
Change-Id: Ifd952cf7dfc8fedb6b1b95d276fd8a46e79d172b
2019-01-22 21:41:24 -08:00
Xiangyu/Malcolm Chen
8df9d17289 Merge "Add System API to enable / disable a logical modem." 2019-01-23 05:40:04 +00:00
Rob Carr
302d36b6a8 Merge changes from topic "public-sc"
* changes:
  Unhide parts of SurfaceControl API in SDK.
  Replace SurfaceView background with boundless color layer.
  SurfaceControl: Accept instance rather than handle for reparent
2019-01-23 04:57:59 +00:00
Android Build Merger (Role)
57b252933d Merge "Merge "Add get/set user selected outgoing phone account APIs." am: bf10036306 am: 6e7caec9ae am: 5797bc598b" 2019-01-23 04:55:50 +00:00
Tyler Gunn
d109d4bb58 Merge "Add get/set user selected outgoing phone account APIs." am: bf10036306 am: 6e7caec9ae
am: 5797bc598b

Change-Id: Ic1fa374c80d478586bf61956c28eedef2ba5185d
2019-01-22 20:54:33 -08:00
TreeHugger Robot
ca626b6319 Merge changes from topic "unhide_mss"
* changes:
  MediaSession2Service: Unhide
  MediaSession2Service: Add onUpdateNotification()
2019-01-23 04:40:21 +00:00
Tyler Gunn
5797bc598b Merge "Add get/set user selected outgoing phone account APIs." am: bf10036306
am: 6e7caec9ae

Change-Id: I5278da53a5292379c27db7da1a9029d87f785d9a
2019-01-22 20:10:33 -08:00
Ivan Chiang
035808eea0 Merge "Add new column into Root to get the supported query args" 2019-01-23 02:56:02 +00:00
Tyler Gunn
bf10036306 Merge "Add get/set user selected outgoing phone account APIs." 2019-01-23 02:45:29 +00:00
Remi NGUYEN VAN
cef9889b0d Merge "Add getAvoidBadWifi system API" am: 58582a36fc am: 656f2fa71a
am: 3fb943a7b5

Change-Id: I8ff56380368a340162368ccbeefcae6df1ae549f
2019-01-22 18:21:58 -08:00
Eric Laurent
aa081fdebc AudioEffect: make Descriptor not final
Make AudioEffect.Descriptor class not final and not implement Parcelable.
Directly implement read/write from parcel.

Bug: 123234025
Bug: 111438757
Test: make
Change-Id: I429341d59b9bad68f3a5b4c6c56603a8f6cb96af
2019-01-22 18:12:44 -08:00
Remi NGUYEN VAN
6c7877b7bb Add UserHandle constants to SystemApi
The affected constants are already SystemApi in internal.

Bug: 112869080
Test: m
Change-Id: Iacefdefa59346eaebd8b92743fe8710845edcc29
Merged-In: I261dfcc5cfdfc76bda5d70181785e11c2715a558
2019-01-23 11:06:18 +09:00
Remi NGUYEN VAN
3fb943a7b5 Merge "Add getAvoidBadWifi system API" am: 58582a36fc
am: 656f2fa71a

Change-Id: Ide4ffc316c9301b795e8c0dabea3322aaf0b3184
2019-01-22 17:53:09 -08:00
Remi NGUYEN VAN
58582a36fc Merge "Add getAvoidBadWifi system API" 2019-01-23 01:13:01 +00:00
Sungsoo Lim
1a73f7393e Merge "Introduce MediaSessionEngine" 2019-01-23 00:37:16 +00:00
Soonil Nagarkar
0ef34932e3 Merge "Add location settings piercing in emergencies" 2019-01-23 00:26:52 +00:00
TreeHugger Robot
4edd7eacbd Merge "add OverlayManager.setEnabled to system-current.txt" 2019-01-23 00:07:31 +00:00
Joel Galenson
c857f02a5b Add an intent extra that contains a number of milliseconds.
The Permissions Hub will use this to control the default time filter.

Bug: 63532550
Test: Pass argument to intent.
Change-Id: Iac607853f7020acdb50a20d82c7b8b9e1a0bd32e
2019-01-22 15:07:21 -08:00
Ugo Yu
4a33b88761 Skeleton implementation of Bluetooth metadata APIs
Bug: 121051445
Test: Build pass
Change-Id: I5e80210205b37294b1eb8356502ebf242e627ce4
2019-01-23 07:01:47 +08:00
Roshan Pius
cb32b2d72c Merge "WifiManager: Mark disableEphemeralNetwork as @hide" 2019-01-22 22:35:58 +00:00
TreeHugger Robot
9b90262605 Merge "Add a DeviceConfig namespace for the NOTIFICATION_ASSITANT package." 2019-01-22 22:35:52 +00:00
Remi NGUYEN VAN
7a037988d0 Merge "Migrate ICaptivePortal to stable AIDL" am: eb7c53718a
am: d15930fc27

Change-Id: I6fa53f6f7c45aa801a1e48e04bdb3ca6004f565d
2019-01-22 14:35:29 -08:00
Soonil Nagarkar
be93e9cc5b Add location settings piercing in emergencies
Add new field to LocationRequest that allows clients to ignore location
settings, and validate this field. Support returning location to clients
with this field even when location settings are turned off.

Bug: 118883513
Test: Manual + CTS
Change-Id: Idf4449ae7c20d03f42410936c35fadc602e83d11
2019-01-22 14:29:17 -08:00
Patrick Huang
f43a0ccf9a Add euicc privileged actions and extras.
Bug: 122769846
Test: Test on phone
Change-Id: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
2019-01-22 14:08:08 -08:00
Remi NGUYEN VAN
eb7c53718a Merge "Migrate ICaptivePortal to stable AIDL" 2019-01-22 22:03:44 +00:00
Jeff Sharkey
5199727294 Merge "Add nullability annotations for some apis and update java doc" 2019-01-22 21:37:50 +00:00
Jeff Sharkey
e1e35057b7 Merge "Add public APIs for docsui Westworld metrics" 2019-01-22 21:32:23 +00:00
William Hester
a96d3d3ff4 Implement test harness mode
Test Harness Mode is a feature for device farms that want to wipe
their devices after each test run. It stores the ADB keys in the
persistent partition (used for Factory Reset Protection) then performs
a factory reset by broadcasting the MASTER_CLEAR intent.

Upon rebooting, the Setup Wizard is skipped, and a few settings are set:
  * Package Verifier is disabled
  * Stay Awake While Charging is enabled
  * OTA Updates are disabled
  * Auto-Sync for accounts is disabled

Other apps may configure themselves differently in Test Harness Mode by
checking ActivityManager.isRunningInUserTestHarness()

Bug: 80137798
Test: make && fastboot flashall -w
Test: adb shell cmd testharness enable
Change-Id: I91285c056666e36ad0caf778bffc140a0656fcfa
2019-01-22 13:32:20 -08:00