Commit Graph

23691 Commits

Author SHA1 Message Date
shepshapard
192c635632 getScaledMinScalingSpan -> getScaledMinimum...
Fixes: 126376129
Test: android.view.cts.ViewConfigurationTest

Change-Id: Ie5ac265bb8a390d9b82a61cac32ac1dc02556eb7
2019-02-26 15:19:15 -08:00
Yiwen Chen
5624e4f021 Merge "Remove @hide from comment of apply_ramping_ringer so that it can be accessed from setting intelligence." 2019-02-26 18:17:12 +00:00
TreeHugger Robot
8768f11463 Merge "Make assistant and telephony role names public API." 2019-02-26 18:14:30 +00:00
Felipe Leme
f6b8a28426 Merge "Added ContentCaptureEvents for session resumed and paused." 2019-02-26 16:28:49 +00:00
Sahin Caliskan
8a7b9b5217 Merge "Hide RcsMessageStore APIs" am: 35e3d8e897 am: 6ec7ea069d
am: e247d679b7

Change-Id: If80ce434ed71ea379bb289c6f3d41ffd4ea3a970
2019-02-25 13:48:56 -08:00
Chen Xu
25a4f6f868 Merge "API council feedbacks for preciseCall APIs" am: e05a1cb5db am: c3045478cc
am: 01c3c948fd

Change-Id: I057d1eed1552956ae4b9e6b19aba7d86d2f09866
2019-02-25 13:42:47 -08:00
TreeHugger Robot
52480bee82 Merge "Fix Battery Saver location bugs." 2019-02-25 21:33:36 +00:00
Android Build Merger (Role)
437ca649d6 Merge "Merge "Add Class-Filtered getCellSignalStrengths" am: c020cf5291 am: 2a1c372131 am: 2b5f9c6b20" 2019-02-25 21:19:13 +00:00
Nathan Harold
46c3750f21 Merge "Add Class-Filtered getCellSignalStrengths" am: c020cf5291 am: 2a1c372131
am: 2b5f9c6b20

Change-Id: Ieecec3df1245bce08c32062ec2cca9eedcd410a9
2019-02-25 13:17:39 -08:00
TreeHugger Robot
1dd0cb9898 Merge "Clarify brightness correction API" 2019-02-25 21:07:48 +00:00
Mehdi Alizadeh
6d4ce1e5bb Merge "Make ShortcutInfo@getPersons() systemApi" 2019-02-25 21:02:11 +00:00
TreeHugger Robot
a984bb74b1 Merge "Enforce MANAGE_APP_PREDICTIONS on hasShareTargets" 2019-02-25 20:54:55 +00:00
Nandana Dutt
3267e6513a Merge "Add a new error code for disallowing concurrent bugreports" am: 2badc1e434 am: 1ae35be3e3
am: a973019596

Change-Id: Ie9a4bdc744a103b10a30df415524c94e46957ee5
2019-02-25 11:52:59 -08:00
TreeHugger Robot
3d61f89275 Merge "Address API council feedback" 2019-02-25 19:21:52 +00:00
Sahin Caliskan
e247d679b7 Merge "Hide RcsMessageStore APIs" am: 35e3d8e897
am: 6ec7ea069d

Change-Id: If0389e459250b76ccb03128e14975b23b7cdfbc1
2019-02-25 11:10:57 -08:00
Chen Xu
01c3c948fd Merge "API council feedbacks for preciseCall APIs" am: e05a1cb5db
am: c3045478cc

Change-Id: I0c052bd3fe587eba3864ae2547b7e700c9151e1f
2019-02-25 11:06:17 -08:00
Tyler Gunn
0b0d3022ee Merge "Change data types on CallIdentification API." am: 016982ae2f
am: d29c7d63a2

Change-Id: I902f8f14350567973ab007b407bfe72ef90c2b2d
2019-02-25 11:00:58 -08:00
Nathan Harold
2b5f9c6b20 Merge "Add Class-Filtered getCellSignalStrengths" am: c020cf5291
am: 2a1c372131

Change-Id: Ib397709e307d81ffabcdb54d2c0d51e6ed8eac6a
2019-02-25 10:50:03 -08:00
Android Build Merger (Role)
fb19bf21b5 Merge "Merge "Update MbmsDownloadServiceBase to reflect implements IInterface" am: 07037a86d3 am: 0287ddfde2 am: 9bed52b751" 2019-02-25 18:40:37 +00:00
Tor Norbye
f68fdfcfa1 Merge "Update MbmsDownloadServiceBase to reflect implements IInterface" am: 07037a86d3 am: 0287ddfde2
am: 9bed52b751

Change-Id: Ic7871cc31a32fc91bf0ad945d1088c2e22d8cd3c
2019-02-25 10:39:06 -08:00
TreeHugger Robot
d45ebde4b2 Merge "getSimLocale should return locale rather than string tag" 2019-02-25 18:25:48 +00:00
Nandana Dutt
a973019596 Merge "Add a new error code for disallowing concurrent bugreports" am: 2badc1e434
am: 1ae35be3e3

Change-Id: I7440be8e4605466958d072dd977e0019f13b2193
2019-02-25 10:20:50 -08:00
Michele Berionne
f9a69bc3f6 Merge "Add checks on multisim capabilities." am: 862821ede5
am: 811e1165c2

Change-Id: I37939825d83107fd45db6c1ffef8e28f2b48704c
2019-02-25 09:49:56 -08:00
Sooraj Sasindran
0acab502a0 Merge "Allow UiAutomation to adopt the shell permission indentity" am: 9f0115bb6e
am: 178684530b

Change-Id: If21a26f16b8c88f1dab56ac7fa7a804a1e9077b0
2019-02-25 09:25:50 -08:00
Tor Norbye
9bed52b751 Merge "Update MbmsDownloadServiceBase to reflect implements IInterface" am: 07037a86d3
am: 0287ddfde2

Change-Id: Ic80c694fd7587d8c25a78f3fe50af8602b42249f
2019-02-25 09:19:26 -08:00
Kenny Guy
0a9e341940 Clarify brightness correction API
Add annotations to clarify the brightness
correction API.

Bug: 125347154
Test: atest android.display.cts.BrightnessTest
Test: manual, flash phone, get app using API to push corrections, adb shell dumpsys display
Change-Id: Icbb61bb542a49c49f279b865d69d59a542c0e42b
2019-02-25 17:10:37 +00:00
TreeHugger Robot
d138be09df Merge "Add Foldable feature flag" 2019-02-25 16:57:50 +00:00
Dario Freni
7d98a45672 Merge "Add "Staged" to API related to staged sessions." 2019-02-25 15:23:17 +00:00
Dario Freni
60a96c1791 Add "Staged" to API related to staged sessions.
Also, throw an IllegalArgumentException is these APIs are called on
sessions that are not marked as staged.

Test: tested new apis with an ad-hoc app. atest RollbackTest
StagedRollbackTest
Fix: 124507718

Change-Id: I3529aaff404d644ab6dad98f29411141e8df865d
2019-02-25 13:09:48 +00:00
Ivan Chiang
a46ade3cc1 Add @RequiresPermission annotations to getCahce and putCache
Add @RequiresPermission annotations to the methods so that
it's clear what permission is protecting these APIs.

Test: make
Change-Id: I203ce997319c7fc8a13e91b55f3c55d844429be8
Fix: 123661724
2019-02-25 11:30:34 +08:00
Kevin Rocard
2f9dd0aa80 Merge "Public Audio playback capture must have a valid projection" 2019-02-23 05:22:33 +00:00
TreeHugger Robot
fb8509a3dd Merge "Create setting screen from Notification Assistant" 2019-02-23 04:30:23 +00:00
Hai Zhang
051cdc85e6 Make assistant and telephony role names public API.
Not sure about the car mode dialer and call companion app roles yet,
so leaving them out for now.

Bug: 125936031
Test: build
Change-Id: Ibe34256ea3c8c0514a7c97c641935c79c7da8d0d
2019-02-22 19:58:02 -08:00
Felipe Leme
b0da18f32e Added ContentCaptureEvents for session resumed and paused.
Test: atest CtsContentCaptureServiceTestCases # which was updated to listen to the new events
Test: m update-api

Fixes: 125395044

Change-Id: Ie1ed5d9badaa64ff0921226a1c08bd5e3cbf07d8
2019-02-22 18:10:22 -08:00
Kweku Adams
5e0052b1eb Fix Battery Saver location bugs.
1) Actively disabling LOCATION_MODE instead of LOCATION_PROVIDERS_ALLOWED
since the latter is deprecated and not supported.

2) The LOCATION_MODE_FOREGROUND_ONLY flag wasn't used anywhere. As
such, it was essentially no different from LOCATION_MODE_NO_CHANGE. I've
implemented the behavior in LocationManagerService so it works properly.

3) GnssLocationProvider only turned off GPS when the location mode was
LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF, but not the mode was
LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF. I've fixed it so GPS is
turned off in both modes.

4) PowerManager looked at the global battery saver state to determine if
the location mode should be used. This was fine for full Battery Saver,
but would be a problem with adaptive Battery Saver. The proper thing to
do is to just look at the local 'batterySaverEnabled' flag.

Bug: 121256487
Bug: 122849003
Bug: 119261320
Test: atest CtsBatterySavingTestCases
Change-Id: I8973d27fb050d9892bb97021712d9cf9743e8939
2019-02-22 17:07:08 -08:00
Yiwen Chen
ea4238f060 Remove @hide from comment of apply_ramping_ringer so that it can be accessed from setting intelligence.
Bug: 120789399
Test: When finish the whole change, flash into a dev phone to test first.
Change-Id: I50047dece95122f0d55f370d644a38c68abec045
2019-02-22 16:35:40 -08:00
Chandan Nath
8715260984 Merge "[Multi-user] add PackageInstaller.installExistingPackage with IntentSender which is fired only after the asynchronous restore is complete" 2019-02-22 23:34:04 +00:00
John Reck
e57475e6c9 Address API council feedback
Bug: 125027187
Bug: 125026102
Bug: 125026678
Bug: 125026234
Bug: 125027586
Bug: 125026476
Bug: 125026103
Bug: 125026237
Bug: 125027248
Bug: 125026475
Bug: 125027487
Test: RenderNodeTests
Change-Id: Ic63ea7a3cfe359a7dff0c1b46e534e499f7e928b
2019-02-22 14:24:28 -08:00
Sahin Caliskan
35e3d8e897 Merge "Hide RcsMessageStore APIs" 2019-02-22 21:56:31 +00:00
Chen Xu
e05a1cb5db Merge "API council feedbacks for preciseCall APIs" 2019-02-22 21:52:00 +00:00
Tyler Gunn
016982ae2f Merge "Change data types on CallIdentification API." 2019-02-22 21:13:28 +00:00
Nathan Harold
c020cf5291 Merge "Add Class-Filtered getCellSignalStrengths" 2019-02-22 20:42:03 +00:00
Ricky Wai
ccac071827 Merge "SystemAPI for setting app details activity state" 2019-02-22 20:19:03 +00:00
Fabian Kozynski
171f40d8a7 Create setting screen from Notification Assistant
Test: atest
Fixes: 120852765
Change-Id: I90b22daa67f73809697fd629dabec22ef991de54
2019-02-22 14:18:58 -05:00
Tyler Gunn
b3bdb7c36c Change data types on CallIdentification API.
Per API council feedback update the call identification name, details,
description and app name to use CharSequence.

Test: Update apis, run tests.
Bug: 123241094
Merged-In: I42df17506535c1dd598ffd61a44cb0d0440b8159
Change-Id: I42df17506535c1dd598ffd61a44cb0d0440b8159
2019-02-22 11:18:05 -08:00
Chandan Nath
e8e463bd84 [Multi-user] add PackageInstaller.installExistingPackage with IntentSender which is fired only
after the asynchronous restore is complete

This is a better alternative to the existing synchronous PackageManager.installExistingPackage
method where the restore operation happens asynchronously but the method itself will return
success before the restore finishes.

Bug: 122881085

Test: 1) cts-tradefed run cts -m CtsBackupHostTestCases
-t android.cts.backup.ProfileKeyValueBackupRestoreHostSideTest
2) atest RunBackupFrameworksServicesRoboTests
3) Install Hangouts on work profile. Then install on primary profile, backup and uninstall.
Now install again and immediately hit Open. Before this change, the app will crash after a few
seconds (when the background restore operation finishes). With this change and a corresponding
Play Store change to use this new method, Open shows up only after restore has finished so the
app doesn't crash.

Change-Id: I5d2e1f3bb5509894bedd6bbcfac32ed6cf946a80
2019-02-22 19:14:53 +00:00
chen xu
7621ff222f API council feedbacks for preciseCall APIs
Bug: 125346540
Test: Build
Change-Id: I3a9a8d3e2168d937f085624b80a891b6baddd0e5
2019-02-22 11:09:07 -08:00
Ecco Park
e334ea7de8 Merge "Passpoint: add FQDN and Provider name field in WifiInfo" 2019-02-22 19:07:26 +00:00
Ecco Park
957e868f31 Merge "passpoint: remove NETWORK_SETUP_WIZARD permission" 2019-02-22 19:01:38 +00:00
Kevin Rocard
2fe8b8b6e7 Public Audio playback capture must have a valid projection
For privacy, require the app wanting to capture other app audio to have
a valid MediaProjection.

Test: adb shell audiorecorder --target /data/file.raw
Bug: 111453086
Change-Id: I1323048fe308282d3719e38915818a0da17567de
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-02-22 09:48:44 -08:00