Commit Graph

567407 Commits

Author SHA1 Message Date
TreeHugger Robot
acb2a488fc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 788527c931 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13850727

Change-Id: I224daad7129b242c3fe7d28ded486408c86470af
2021-03-15 18:03:43 +00:00
TreeHugger Robot
788527c931 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-15 17:27:56 +00:00
Treehugger Robot
25c0656b54 Merge "Adds OWNERS file" am: fa31d37ac7 am: f690d62fa2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635326

Change-Id: I03e6053d9e30230c8d970fd25679964d671f7a2e
2021-03-15 17:26:38 +00:00
Nicolas Geoffray
07618a5539 Merge "Make libsigchain a regular shared library dependency of app_process." am: 2fea6f3f77 am: 5040afaa3e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1621159

Change-Id: Ie4347dae1030c27e873c0a4f47ce1c332f9c8685
2021-03-15 17:25:06 +00:00
Treehugger Robot
f690d62fa2 Merge "Adds OWNERS file" am: fa31d37ac7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635326

Change-Id: I61a490851185c24151a3d4a13f224083ae7d8912
2021-03-15 16:50:25 +00:00
Nicolas Geoffray
5040afaa3e Merge "Make libsigchain a regular shared library dependency of app_process." am: 2fea6f3f77
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1621159

Change-Id: I54257db0221884577d2c3165d689d1aeb2adaee8
2021-03-15 16:48:37 +00:00
Treehugger Robot
fa31d37ac7 Merge "Adds OWNERS file" 2021-03-15 16:46:40 +00:00
Julia Reynolds
8e7d5e0889 Vibrate as system instead of as an app am: aec7cbecdc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13875192

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9c2f9061c91ffe54e3981535fc64049b58aff194
2021-03-15 16:05:02 +00:00
Nicolas Geoffray
2fea6f3f77 Merge "Make libsigchain a regular shared library dependency of app_process." 2021-03-15 16:04:38 +00:00
Treehugger Robot
f621a3956a Merge changes from topic "b174856119_aosp" am: 53455cd150 am: 600d28c281
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629262

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I064e3a89e770a275a974176b2ec4e7fdd5535bc3
2021-03-15 15:23:33 +00:00
Jackal Guo
f422095147 Update CTS shim am: f7919a20ea am: b37e4bcc7d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I36ce25ef670df650d3c3f0cc32d9a34229d3674b
2021-03-15 15:23:20 +00:00
Treehugger Robot
600d28c281 Merge changes from topic "b174856119_aosp" am: 53455cd150
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629262

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifc6a8afcef7cb7e9af55534450afed15fce023b1
2021-03-15 14:45:16 +00:00
Jackal Guo
b37e4bcc7d Update CTS shim am: f7919a20ea
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I438c460672c8999dfbc7e699d923ea2391e8bf72
2021-03-15 14:42:13 +00:00
Lorenzo Colitti
df86fe650e Merge "Call clearCallingIdentity when calling registerNetworkProvider in TNS" am: 0665793932 am: 601e411e21
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635045

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6edda160620b4a3cbcf85f21081a41d959cf3173
2021-03-15 14:24:34 +00:00
Treehugger Robot
53455cd150 Merge changes from topic "b174856119_aosp"
* changes:
  Drop prebuilt files to android source tree.
  Update CTS shim
2021-03-15 14:12:17 +00:00
Lorenzo Colitti
601e411e21 Merge "Call clearCallingIdentity when calling registerNetworkProvider in TNS" am: 0665793932
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635045

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie0ca67f38da9d4a70911485d2630fe8bae4cbdfa
2021-03-15 13:48:39 +00:00
Julia Reynolds
aec7cbecdc Vibrate as system instead of as an app
When DND is on, apps aren't allowed to play vibrations on
blocked usages. However, we still need to play vibrations for
notifications from those apps that meet DND criteria.

Previously we accomplished this by passing in the bypass
DND flag, however this flag is also being used to bypass camera
audio restrictions, which we don't want.

So now we'll play vibrations as "android", which is always
exception from DND restrictions and isn't exempt from the
camera restriction. In order to maintain debugging from bugreports,
the package name and uid that we're vibrating for are now included
in the vibration reason.

Test: BuzzBeepBlinkTest
Test: trigger notification vibration
Test: trigger notification vibration, DND on, notif allowed
Test: fail to trigger notification vibration, DND on, notif intercepted
Test: fail to trigger notification vibration, camera is recording video
Test: check bugreport output

Bug: 171946151
Change-Id: I8958852403827341480351ee0c60a4fd30f5280d
(cherry picked from commit e13866164b)
Merged-In: e13866164b
2021-03-15 13:20:59 +00:00
Lorenzo Colitti
0665793932 Merge "Call clearCallingIdentity when calling registerNetworkProvider in TNS" 2021-03-15 13:09:14 +00:00
Aaron Huang
ce43593e5e Merge changes from topic "pacproxy-service" am: 16f50075b1 am: 688ae36dcb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1553959

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ife210de3adbdaff6c88caf744d805571b365b294
2021-03-15 12:30:17 +00:00
Aaron Huang
688ae36dcb Merge changes from topic "pacproxy-service" am: 16f50075b1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1553959

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I29e9e324f25e584d645900f83d31a00a4e151cbb
2021-03-15 12:12:48 +00:00
Sorin Basca
d5258c36f1 Merge changes from topic "jni-errno-exception" am: 4a6c12e650 am: 3d82c63d2f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1619421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib4106aed41c8e00a27fa8fb6dbc4dba5ac08d6c2
2021-03-15 12:12:35 +00:00
Treehugger Robot
94b990e103 Merge "Add OWNER to SettingsLib/connectivity and wifi path" am: 6d9f65cd77 am: cdfe10e2ad
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634467

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I65c02d700034d209f0b2f19493c22b5d814a0508
2021-03-15 12:12:13 +00:00
Aaron Huang
16f50075b1 Merge changes from topic "pacproxy-service"
* changes:
  Make PacProxyService be a system service
  Revert^2 "Refactor setCurrentProxyScriptUrl to a void method"
2021-03-15 11:49:45 +00:00
Sorin Basca
3d82c63d2f Merge changes from topic "jni-errno-exception" am: 4a6c12e650
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1619421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If704b8e72e74f0e1afcfc59d5ad03c3003e2643a
2021-03-15 11:34:48 +00:00
Treehugger Robot
cdfe10e2ad Merge "Add OWNER to SettingsLib/connectivity and wifi path" am: 6d9f65cd77
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634467

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8da5339e0dc91bb522e74e3b308c335e3f084955
2021-03-15 11:30:18 +00:00
Sorin Basca
4a6c12e650 Merge changes from topic "jni-errno-exception"
* changes:
  Using jniThrowErrnoException in android_util_Process
  Using jniThrowErrnoException in android_os_SharedMemory
  Using jniThrowErrnoException in android_net_NetworkUtils
2021-03-15 11:16:14 +00:00
Treehugger Robot
6d9f65cd77 Merge "Add OWNER to SettingsLib/connectivity and wifi path" 2021-03-15 11:02:28 +00:00
TYM Tsai
d12fef90c5 Adds OWNERS file
Those files under view/inline/ are related the Autofill inline
suggestions.

Bug: 177641730
Test: N/A
Change-Id: I0b6ac33a29757f2489441c69450ccacea4f756da
2021-03-15 17:37:16 +08:00
Austin Shin
8400aa6caf Merge "Catch and log exceptions from TvProvider." am: fb8aad8c9b am: 369696bf9f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540912

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c47e4819098c7cdcfdbcecbccee29b32818dc24
2021-03-15 09:18:37 +00:00
Frank Li
2e196d3e6a Merge "[CS15]Do not use hidden API of PlatformProperties" am: ed60cc949b am: ee705dfe0c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1623261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4bd903cd723f0c3d87ac9d2aae14a95132e7a2ea
2021-03-15 09:18:29 +00:00
Austin Shin
369696bf9f Merge "Catch and log exceptions from TvProvider." am: fb8aad8c9b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540912

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaf8885fb7f8c03a6cb7150ffd28d6cb001dc368d
2021-03-15 08:45:35 +00:00
Frank Li
ee705dfe0c Merge "[CS15]Do not use hidden API of PlatformProperties" am: ed60cc949b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1623261

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I623fd33e756f9ada6b73f716a30778fd6236f6ae
2021-03-15 08:42:02 +00:00
Austin Shin
fb8aad8c9b Merge "Catch and log exceptions from TvProvider." 2021-03-15 08:17:59 +00:00
Frank Li
ed60cc949b Merge "[CS15]Do not use hidden API of PlatformProperties" 2021-03-15 08:01:26 +00:00
Remi NGUYEN VAN
b5437344c6 Merge "Revert "Remove connectivity dependency on Preconditions"" am: 84319f2fe0 am: 4ac52e881c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635220

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I396e8936cf8adc0c46555a3ef5d7771d3a268594
2021-03-15 08:01:03 +00:00
Paul Hu
8df091c115 Merge "Replace InetAddress#parseNumericAddress" am: 1f6851f66a am: 7e0396815e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1614980

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5f14d0196b3c641108b1e82def2998d2744cb855
2021-03-15 07:44:28 +00:00
Remi NGUYEN VAN
4ac52e881c Merge "Revert "Remove connectivity dependency on Preconditions"" am: 84319f2fe0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635220

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7dbcb1e49162210b44bd0cf2204b853c34bb5871
2021-03-15 07:44:21 +00:00
Remi NGUYEN VAN
4879735886 Merge "Remove connectivity dependency on Preconditions" am: 644a489011 am: 2d64bcbd09
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1628399

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I462f0d97bf150af7f32238e15e88d34e4c17eed7
2021-03-15 07:44:12 +00:00
Remi NGUYEN VAN
84319f2fe0 Merge "Revert "Remove connectivity dependency on Preconditions"" 2021-03-15 07:30:20 +00:00
Remi NGUYEN VAN
fad59e1d7f Revert "Remove connectivity dependency on Preconditions"
This reverts commit d012890149.

Reason for revert: Build broken: b/182721112

Change-Id: Ibc84ec6d7900fdcf0bc14cd7036f9c08287711db
2021-03-15 07:27:44 +00:00
Paul Hu
7e0396815e Merge "Replace InetAddress#parseNumericAddress" am: 1f6851f66a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1614980

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8f1112eef6086798a6f089dde2f297828c0b4f2e
2021-03-15 07:06:12 +00:00
Paul Hu
1f6851f66a Merge "Replace InetAddress#parseNumericAddress" 2021-03-15 07:03:46 +00:00
Remi NGUYEN VAN
2d64bcbd09 Merge "Remove connectivity dependency on Preconditions" am: 644a489011
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1628399

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c0c2572ff84a2b163fb2e4e0f3e2cfec043313d
2021-03-15 07:03:36 +00:00
Aaron Huang
5d31a15d84 Make PacProxyService be a system service
PacProxyInstaller class is running a thread all the time and is
listening to intent ACTION_PAC_REFRESH so it would be better to
make it be a system service with a manager class PacProxyManager
which is obtained with getSystemService(PacProxyManager.class).
Besides, rename PacProxyInstaller to PacProxyService will
be easier to know it's the service for PacProxyManager.

ConnectivityService is going to be a mainline module and it
needs constructor of PacProxyService to be SystemApi.
However, in current design, it needs to pass a handler and
an int arguments to the constructor which would be difficult
to maintain if just expose the constructor directly.

So, define a listener for the event that the current PAC
proxy has been installed so that the handler and the int
arguments can be removed from the constructor.

Bug: 177035719
Test: FrameworksNetTests
Change-Id: I2abff75ec59a17628ef006aad348c53fadbed076
2021-03-15 14:40:58 +08:00
Remi NGUYEN VAN
644a489011 Merge "Remove connectivity dependency on Preconditions" 2021-03-15 06:36:15 +00:00
lifr
2dea00a288 [CS15]Do not use hidden API of PlatformProperties
ConnectivityService is going to become a mainline module, and
it will not able to use hidden method anymore. Using PlatformProperties
as a static library instead of hidden API.

Bug: 170917042
Test: atest FrameworksNetTests
Merged-In: I3a3deca5d2e0f690db8c0061de2db2217376d268
Change-Id: I3a3deca5d2e0f690db8c0061de2db2217376d268
2021-03-15 14:14:18 +08:00
Sooraj Sasindran
49d805a300 Merge "Allow REQUEST_NOT_SUPPORTED for nr dual connectivity config" am: 58489d1d48 am: 0c2d670abd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1632120

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I07108ba6341603b52ecf7c4d86a97e2818969834
2021-03-15 05:56:51 +00:00
Sooraj Sasindran
0c2d670abd Merge "Allow REQUEST_NOT_SUPPORTED for nr dual connectivity config" am: 58489d1d48
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1632120

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifbb8e522bd6ec1f750a988e1a9e0c2f7a823a0d8
2021-03-15 05:22:32 +00:00
Sooraj Sasindran
58489d1d48 Merge "Allow REQUEST_NOT_SUPPORTED for nr dual connectivity config" 2021-03-15 04:38:24 +00:00
Betty Chang
6b65d80970 Add OWNER to SettingsLib/connectivity and wifi path
Change-Id: I59a395a8a937cd2b0baa6b5f59524bc17e4f1d9c
2021-03-15 03:58:57 +00:00