Commit Graph

5529 Commits

Author SHA1 Message Date
TreeHugger Robot
3907b90f84 Merge "Add API for external call audio route." 2022-01-11 19:16:34 +00:00
Elliot Sisteron
398ed934da Merge "Add MANAGE_SAFETY_CENTER permission." 2022-01-11 19:11:07 +00:00
Darrell Shi
c331af1cc7 Merge "Pipeline "showComplications" to DreamOverlayService." 2022-01-11 17:16:04 +00:00
Nate Myren
1c89213b97 Merge "Allow shell to revoke notification permission without kill" 2022-01-11 16:48:29 +00:00
John Patterson
5a2fbae44d Merge "Add calendar sync manager role." 2022-01-11 16:24:38 +00:00
Lais Andrade
3a4e97db5f Merge "Introduce media and alarm vibration intensity settings" 2022-01-11 15:16:28 +00:00
Josh Wu
3b35b6ab08 Merge "Revert "Scribe in IMF: startStylusHandwriting & lifecycle 2/N"" 2022-01-11 13:47:41 +00:00
Patrick Rohr
65438a71aa Merge "Address Tuner Filter Delay API review feedback" 2022-01-11 10:30:27 +00:00
Josh Wu
9d0c8ce4f3 Revert "Scribe in IMF: startStylusHandwriting & lifecycle 2/N"
Revert "CTS for Stylus Handwriting lifecycle"

Revert submission 16281467-stylus-handwriting-lifecycle

Reason for revert: Breaks apisignaturetests

BUGID: b/213976598

Reverted Changes:
I7b066c284:Scribe in IMF: startStylusHandwriting & lifecycle ...
I7d672b150:CTS for Stylus Handwriting lifecycle

Change-Id: Ieec94ea525fdb45cf5316b4a331c2bf9882e1083
2022-01-11 08:35:33 +00:00
Darrell Shi
9771f44dad Merge "Add showClockAndComplications to dream metadata." 2022-01-11 04:53:44 +00:00
Taran Singh
5f2a1a7101 Merge "Scribe in IMF: startStylusHandwriting & lifecycle 2/N" 2022-01-11 03:25:10 +00:00
Ryan Lin
a07c844e38 Merge "Expose window type MAGNIFCATION_OVERLAY to AccessibilityService" 2022-01-11 02:16:39 +00:00
Hongguang Chen
38654a1fac Merge "Add CRC32 checking hint" 2022-01-11 01:24:34 +00:00
Mayank Garg
04832954db Merge "Added removeUserWhenPossible API as SystemAPI" 2022-01-11 00:23:08 +00:00
Nate Myren
2c54f50da6 Allow shell to revoke notification permission without kill
Add the revokePostNotificationPermissionWithoutKillForTest API, which
will allow the shell to revoke the POST_NOTIFICATIONS permission without
killing this app. Gate this permission behind the
REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL permission, which is
signature|privileged, accessible only to the shell.

Ignore-AOSP-First: Contains information about unreleased features
Test: manual
Bug: 194833441
Change-Id: I3177d1aeb338591c1d736aa6b4f073b6db6227e7
2022-01-10 11:58:45 -08:00
TreeHugger Robot
7d24159ba2 Merge "Intercept activity start to check for notification permissions" 2022-01-10 19:54:45 +00:00
Xiaowen Lei
2146a59ccb Merge "Clean up Communal Manager READ_COMMUNAL_STATE APIs." 2022-01-10 19:43:23 +00:00
Darrell Shi
7c4e947a49 Add showClockAndComplications to dream metadata.
This boolean metadata allows the dream to declare whether they want
complications to display on the overlay.

Test: manual on device
Bug: 211519550
Change-Id: I7e2dfc3275022be3e1b490e6f8bf104a92fbf11a
2022-01-10 11:28:09 -08:00
Sateshk Kumar Chinnappan
93ee38ecf1 Merge "Add IMS Common, Voice, Video, Supplementary services, emergency call, WFC call, RTT call related configs to CarrierConfigManager." 2022-01-10 19:20:14 +00:00
Taran Singh
44dc2805b5 Scribe in IMF: startStylusHandwriting & lifecycle 2/N
Introduce InputMethodManager.startStylusHandwriting(View) API
and IME lifecycle.

Bug: 203086136
Test: atest StylusHandwritingTest
Change-Id: I7b066c2841b713e7a00ae2ea4ca0ce04aad751c6
2022-01-10 19:09:55 +00:00
Hongguang
185c80abf7 Add CRC32 checking hint
Bug: 172985025
Fix: 172985025
Test: atest android.media.tv.tuner.cts
Change-Id: If463e4e6bf84e656677785d79feb7d48355fb9ea
2022-01-10 10:47:45 -08:00
Lais Andrade
095b3d31db Introduce media and alarm vibration intensity settings
Introduce new setting keys for media and alarm vibration intensity.

Merge all default vibration intensity getters into a helper class that
receives the VibrationAttributes usage int and applies the default logic
to all usages.

Also update the usage of boolean settings for haptic feedback and ringtone
to disable vibrations in VibrationSettings.

Bug: 198346559
Bug: 207477604
Test: VibratorTest & VibrationSettingsTest
Change-Id: I69ba05a8bc35657637b1f351f4c19d2d96efc9e3
2022-01-10 15:42:21 +00:00
Elliot Sisteron
39561ba353 Add MANAGE_SAFETY_CENTER permission.
Only for use by SafetyCenter (PermissionController), and shell for CTS
tests.

Test: atest CtsSafetyCenterTestCases
Bug: 203205376
Ignore-AOSP-First: Not announced yet, and permission hasn't been merged
in AOSP

Change-Id: I0f2ac01a0fc340b48d30b3e2006c2726a88c52a9
2022-01-10 14:50:21 +00:00
Lais Andrade
0eebf348e4 Use absolute frequency in WaveformBuilder
Remove the concept of relative frequency and the mapping logic from
VibratorInfo and receive absolute frequency values, in hertz, from
WaveformBuilder.

The clipping logic to make all PWLE amplitudes fit the HAL bandwidth map
still remains.

Bug: 203785430
Test: com.android.server.vibrator.*
Change-Id: Ic01a08d84e66d88acad6db5c704251394afbf1f6
2022-01-10 14:38:20 +00:00
TreeHugger Robot
8bbbaaea13 Merge "Revert "Implement fallback line spacing for BoringLayout"" 2022-01-10 11:10:17 +00:00
Patrick Rohr
8d02071c98 Address Tuner Filter Delay API review feedback
Bug: 213174673
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I601967d7c57f1026a518185ed35d4c25d56bebeb
2022-01-10 11:11:45 +01:00
Shubham Dubey
da511945c3 Revert "Implement fallback line spacing for BoringLayout"
Revert "Add font extent calculation"

Revert "Add test case for fallback line spacing"

Revert submission 16486662-fallback_line_spacing

Reason for revert: Investigate test failures on master


BUGID: b/213826416
BUGID: b/213829920

Reverted Changes:
I06cd7ab71:Add font extent calculation
I6214d52cd:Implement fallback line spacing for BoringLayout
Ia5825c474:Add test case for fallback line spacing

Change-Id: Ia6d6f9f44e73ddaf5e8fe9a8aead7a53efbddd44
2022-01-10 08:58:04 +00:00
Mayank Garg
910c700b34 Added removeUserWhenPossible API as SystemAPI
Also converted following APIs to SystemAPI:
android.os.UserManager.REMOVE_RESULT_ALREADY_BEING_REMOVED
android.os.UserManager.REMOVE_RESULT_ERROR
android.os.UserManager.REMOVE_RESULT_DEFERRED
android.os.UserManager.REMOVE_RESULT_REMOVED

Remaining task: remove all occurance of UserManager.removeUserOrSetEphemeral

Bug: 197181121
Bug: 199446770
Bug: 199446810
CTS-Coverage-Bug: 199446770
Test: m system-api-stubs-docs-non-updatable-update-current-api
      m module-lib-api-stubs-docs-non-updatable-update-current-api
Change-Id: Iea7867268950050f90d8509d7f3d09725d850a5e
2022-01-09 22:19:54 -08:00
Sateshk Kumar Chinnappan
c53b830806 Add IMS Common, Voice, Video, Supplementary services, emergency call, WFC call, RTT call
related configs to CarrierConfigManager.

Bug: b/180150989
Test: Manually will be testing the configs using the following commands:
adb shell cmd phone cc get-value [KEY]
adb shell cmd phone cc set-value [KEY] [VALUE]

Change-Id: Iffb85aaecfa4537fc40c398d262cf2ff3af860dc
2022-01-09 22:11:00 -08:00
TreeHugger Robot
ba01101164 Merge "Rename StorageVolume.isStub as StorageVolume.isExternallyManaged" 2022-01-08 02:19:08 +00:00
TreeHugger Robot
c79530b4e0 Merge "Implement fallback line spacing for BoringLayout" 2022-01-08 00:58:35 +00:00
Matt Buckley
2952c72239 Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."" am: f7a327e8d5 am: 086cbfd1bf am: 366582cbae am: c83c35b7fd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1941194

Change-Id: Ie4bdc7876ab2bc61aff66d1b3c8a72748b3117ad
2022-01-07 18:58:22 +00:00
Matt Buckley
c83c35b7fd Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."" am: f7a327e8d5 am: 086cbfd1bf am: 366582cbae
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1941194

Change-Id: I9cae0caca7360861d59be3daf5f8406c8598da2d
2022-01-07 18:35:23 +00:00
Matt Buckley
f7a327e8d5 Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."" 2022-01-07 17:48:45 +00:00
Matt Buckley
7153b105e7 Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."
Revert "Revert "Revert "Add VpnServiceBuilderShim for VpnService..."

Revert submission 1931760-reland-vpn-impl-part-2

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=test_suites_x86_64&lkgb=8053795&lkbb=8053908&fkbb=8053828, bug b/213588956.
BUG: b/213588956
Reverted Changes:
Ic8ed8fce7:Revert "Revert "Add CTS tests for exclude VPN rout...
I07104340a:Revert "Revert "Add VpnServiceBuilderShim for VpnS...
I7c69b7244:Revert "Revert "Add APIs that allow to exclude rou...

Change-Id: Ic72cafcf5c7e2c62236f1cef61b0764882bacaad
2022-01-07 17:44:52 +00:00
Taras Antoshchuk
ddb46412b6 Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN""" am: f4177e94ee am: 464eb8bc19 am: accf4c69a5 am: c159f90aa8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931085

Change-Id: I5336589d5ddee73e626c6924d48b9b9cfb126a44
2022-01-07 17:21:35 +00:00
Taras Antoshchuk
c159f90aa8 Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN""" am: f4177e94ee am: 464eb8bc19 am: accf4c69a5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931085

Change-Id: I8e7f48702c2fca7af6279d4cc3f67f724ed2f758
2022-01-07 17:20:29 +00:00
Taras Antoshchuk
f4177e94ee Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN""" 2022-01-07 16:27:12 +00:00
Nicolò Mazzucato
239b68461f Revert "Add IMS configs to CarrierConfigManager"
Revert submission 16320675-aosp_ims_config

Reason for revert: Breaks build
Bug: 213576201
Reverted Changes:
I853fe100e:Add IMS Voice, Video, Supplementary services, emer...
I9b4e429af:Add IMS configs to CarrierConfigManager

Change-Id: I1d45b6c09524c8db96a1e708ced5426b0aefa5f4
2022-01-07 14:51:01 +00:00
Nicolò Mazzucato
1994bbcdae Revert "Add IMS Voice, Video, Supplementary services, emergency ..."
Revert submission 16320675-aosp_ims_config

Reason for revert: Breaks build
Bug: 213576201
Reverted Changes:
I853fe100e:Add IMS Voice, Video, Supplementary services, emer...
I9b4e429af:Add IMS configs to CarrierConfigManager

Change-Id: Iff64c697ab9e4e64acbfefbe24d23ac067152aec
2022-01-07 14:51:01 +00:00
Sateshk Kumar Chinnappan
fd9ab05296 Merge "Add IMS Voice, Video, Supplementary services, emergency call, WFC call, RTT call related configs to CarrierConfigManager." 2022-01-07 13:55:07 +00:00
Sateshk Kumar Chinnappan
8874566762 Merge "Add IMS configs to CarrierConfigManager" 2022-01-07 13:55:07 +00:00
Eden Su
5279dc3512 Merge "Add carrier config for EAP-AKA fast reauth feature" 2022-01-07 11:51:11 +00:00
Seigo Nonaka
a1b7ced11c Implement fallback line spacing for BoringLayout
The fallback line spacing is a feature of extending the line height
when the fallback font has taller glyph. This was implemented to
StaticLayout in Android P but not yet implemented in BoringLayout.

This CL enables this feature to the BoringLayout as well.

Not to break existing apps, change this behavior only if the
targetSdk version is T or later.

Bug: 210923482
Test: atest FallbackLineSpacingTest BoringLayoutFallbackLineSpacingTest
Test: atest CtsGraphicsTestCases
Test: atest CtsTextTestCases
Change-Id: I6214d52cde25a044bc6e246d2118e35d3a243c9d
2022-01-06 23:03:28 -08:00
Nina Chueh
30530053e1 Merge "Add 5 Jitter-related and 2 RTP-related parameters to call quality" 2022-01-07 02:57:06 +00:00
Meng Wang
d21df6ed29 Merge changes from topic "phonenumber" am: 886bf03a2d am: e88de1e6df am: e32ed4893f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1921061

Change-Id: I70e56342d9e519b04e178f009278f49e7816cc27
2022-01-07 01:28:34 +00:00
Meng Wang
fd1302b4ef Deprecate get/setLine1Number in favor of get/setPhoneNumber am: 3e436616c6 am: 9fb15e5b46 am: 9c95c6e001
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920743

Change-Id: I78b077c4d8c27b8ce1077bf152721cce4e362980
2022-01-07 01:28:30 +00:00
Minche Li
4d4314dd81 Merge "Adds new magnificationController API: getCurrentMagnificationRegion, resetCurrentMagnification" 2022-01-07 01:05:32 +00:00
Minche Li
6c257f32e1 Merge "Notifies window magnifcation changes for AccessibilityService (1/n)" 2022-01-07 01:00:27 +00:00
Meng Wang
9fb15e5b46 Deprecate get/setLine1Number in favor of get/setPhoneNumber am: 3e436616c6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920743

Change-Id: Id7ad3d155ef1164c0b86e3ebf579e2faf512b1af
2022-01-07 00:46:51 +00:00