653335 Commits

Author SHA1 Message Date
Soonil Nagarkar
309ab3bb49 Log locations received by default and add javadocs
Logging received locations was originally removed over fears it would be
too spammy, but it is proving too difficult to debug without at least
some logs here.

Bug: 196053011
Test: manual
Change-Id: Ie18baa26daca9ad761125ad07a734f27fabfd89e
2021-08-10 09:58:31 -07:00
Grace Jia
5400101ec6 Add new API to notify CallRedirectionService timed out.
Currently, CallRedirectionService is unable to know if a call failed due
to timeout. Add new API to notify them and call it when Telecom wait too
long to complete a call redirection request.

Bug: 187346611
Test: CTS test
Change-Id: I65aa0a893b3e35a412851ec969f6cdec74af8fab
2021-08-10 15:37:27 +00:00
Dave Mankoff
373f1ebc40 [automerger skipped] Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-dev am: af9ebd49b1 am: f27380d2ed -s ours am: bc0c531069 -s ours
am skip reason: Merged-In Iebaba435c17c5644c5357c0683858447f5ffb897 with SHA-1 90824714b5 is already in history

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

Change-Id: I3127ecd7574750534afae8910e3fe3b387a07d3f
2021-08-10 14:49:50 +00:00
Dave Mankoff
bc0c531069 [automerger skipped] Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-dev am: af9ebd49b1 am: f27380d2ed -s ours
am skip reason: Merged-In Iebaba435c17c5644c5357c0683858447f5ffb897 with SHA-1 90824714b5 is already in history

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

Change-Id: Ic422af33ef81f4f78bc893c56958da6c54e5cb61
2021-08-10 14:47:42 +00:00
Dave Mankoff
4d37c0e634 [automerger skipped] Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-dev am: af9ebd49b1 -s ours am: 4d56213cf8 -s ours am: 01429a24a1 -s ours
am skip reason: Merged-In Iebaba435c17c5644c5357c0683858447f5ffb897 with SHA-1 c2c2fa79ff is already in history

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

Change-Id: I4657c8f6e2269006fec64e2dd5b07a42b2fa863a
2021-08-10 14:39:32 +00:00
Caitlin Cassidy
dcf8838ab7 Merge "[Ongoing Call] Always unregister the UidObserver." into sc-dev am: 3d1c180320
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15503430

Change-Id: I7fca83295fe2a70561094a805b9989358bbf1198
2021-08-10 14:39:22 +00:00
Dave Mankoff
01429a24a1 [automerger skipped] Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-dev am: af9ebd49b1 -s ours am: 4d56213cf8 -s ours
am skip reason: Merged-In Iebaba435c17c5644c5357c0683858447f5ffb897 with SHA-1 c2c2fa79ff is already in history

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

Change-Id: Iac57bdab395d61798b1f9629cb9d510c1c3b96a0
2021-08-10 14:38:42 +00:00
Dave Mankoff
f27380d2ed Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-dev am: af9ebd49b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15358520

Change-Id: Ibbe0f2081b3a3135932f5e464a7a470ac9495123
2021-08-10 14:23:37 +00:00
Dave Mankoff
4d56213cf8 [automerger skipped] Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-dev am: af9ebd49b1 -s ours
am skip reason: Merged-In Iebaba435c17c5644c5357c0683858447f5ffb897 with SHA-1 c2c2fa79ff is already in history

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

Change-Id: I3445750158f2527ed841c233ff3ae866f16c9790
2021-08-10 14:23:24 +00:00
Caitlin Cassidy
3d1c180320 Merge "[Ongoing Call] Always unregister the UidObserver." into sc-dev 2021-08-10 14:22:13 +00:00
Bill Yi
2bddf2e837 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0a6f501007df4e6e66acc7b61742fbb1b8c22507
2021-08-10 14:13:51 +00:00
Dave Mankoff
af9ebd49b1 Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-dev 2021-08-10 14:10:32 +00:00
Bill Yi
d1147b7933 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie9784ff9b9832ca8ad24b185078f9db1bcf833ef
2021-08-10 13:56:13 +00:00
Tim Peng
41aac681b8 Disable volume control bar for all remote devices
Bug: 189270378
Test: manual test
Change-Id: I72d7d674513e882f5e1628c8bfa78934a998fc40
2021-08-10 12:43:30 +00:00
Tim Peng
4cd66d15d7 Disable volume control bar for all remote devices
Bug: 189270378
Test: manual test
Change-Id: Id5ca32ffb86ac634a41b5ba077f76f2842e747e8
2021-08-10 12:37:54 +00:00
Riddle Hsu
faf5966128 Allow to use fixed rotation if recents is animating
The condition of visible wallpaper was added for transition between
lockscreen and home that show wallpaper in different orientation.
But that also affects when swiping to home if the recents activity
is not home activity (3rd party launcher). And it will cause
additional rotation animation which looks unpolished.

This restores the case to have the same behavior as R.

Bug: 196012011
Test: Use 3rd party launcher as default home and gesture navigation.
      Swipe to home from an app which has different orientation from
      the launcher. There should be no rotation animation.
Change-Id: I8a3b4617434c619463a96b9e3106d25654a55391
2021-08-10 15:32:08 +08:00
Bill Yi
cdf5fcd035 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3cbdbea10da9a5d918397a4395861a746830ed8b
2021-08-10 06:10:26 +00:00
Bill Yi
92f8c700b2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I971598f81991b4d5e44c224939b401eb90b4e4e5
2021-08-10 06:00:13 +00:00
Bill Yi
b4a8dd6659 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5f737debd2a4befcaa0a6c612af1374d15ffa937
2021-08-10 05:35:21 +00:00
Bill Yi
545021a0d8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I447fab54cdd16552944b84b9f7d2c99b69698c05
2021-08-10 05:28:14 +00:00
Bill Yi
27ea8be07a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4cac51ac28c8c10d614f6be467030ac0d151b7e1
2021-08-10 05:24:47 +00:00
Bill Yi
514aa6acf0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I81ef822474ecd8002af6695335bf02c16b326735
2021-08-10 05:19:04 +00:00
Bill Yi
3f1e09793b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iafd9faff184740491284b5e433383a88d0c886dc
2021-08-10 04:54:33 +00:00
Bill Yi
8a0482a6f7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d52956f3c7e82d2c6efb17b77e68ecec9f445a6
2021-08-10 04:48:41 +00:00
Treehugger Robot
c978bf0e0a Merge "AdbService sends callback on adb debugging enabled / disabled." am: 6efa908b95 am: 870e9c266b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1775965

Change-Id: I54a60b127532a7a8ea4f20c597789362ac2eb47f
2021-08-10 04:26:31 +00:00
Treehugger Robot
870e9c266b Merge "AdbService sends callback on adb debugging enabled / disabled." am: 6efa908b95
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1775965

Change-Id: I9598e35ce96a5dec832360071c8bc4c9012e7dc0
2021-08-10 04:13:48 +00:00
Treehugger Robot
6efa908b95 Merge "AdbService sends callback on adb debugging enabled / disabled." 2021-08-10 04:03:11 +00:00
Treehugger Robot
a883c2c975 Merge "IAdbManager.getPairDevices returns FingerprintAndPairDevice[]." am: e9e1f5afa7 am: da74454c03
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1780474

Change-Id: Ie2798465753d7a6fd7d7e157fb528db6d17dbd89
2021-08-10 03:19:55 +00:00
Treehugger Robot
da74454c03 Merge "IAdbManager.getPairDevices returns FingerprintAndPairDevice[]." am: e9e1f5afa7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1780474

Change-Id: I848b4fa8b5ee660702ff1d630bab832d4da843d7
2021-08-10 03:07:39 +00:00
Treehugger Robot
e9e1f5afa7 Merge "IAdbManager.getPairDevices returns FingerprintAndPairDevice[]." 2021-08-10 02:54:06 +00:00
Michael Groover
6c60c5c7c1 Create new instance of shared lineage signers to preserve capabilities
When the platform writes package signatures to packages.xml the first
instance of a shared signature is written with the hex value of the
ANS.1 DER encoding and an index; subsequent instances of the same
signature just reference it via the index value. When writing a
previous signer in the lineage a flags attribute is also written
containing the capabilities of this previous signer in the lineage.
During boot the platform will read the packages and signatures from
the packages.xml, but when a shared signer is read the initial
instance of the signature is used for all packages that share this
same signer even if the signer is a previous signer with its own
capabilities. This causes the platform to lose the unique
capabilities granted to each signing lineage that use the same
signatures and can prevent apps from being able to join a
sharedUserId if another app with a lineage has revoked this
capability from its own signer. This commit creates a new signature
for each shared signature used as a previous signer in the
lineage to ensure these unique capabilities are maintained.

Bug: 195789348
Test: atest PkgInstallSignatureVerificationTest#
  testSharedKeyInSeparateLineageRetainsDeclaredCapabilities
Change-Id: I0f763a1b1b004c6e6e4f80d0e401ad5d4c4fab34
2021-08-09 19:50:56 -07:00
Treehugger Robot
0d7b83fdfc Merge changes Icabed06e,I25bc13c6 am: afce05e2e5 am: 9de9c7f693
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683328

Change-Id: I50a17e3b0a1d0da3794db7704585a7d1df3af14e
2021-08-10 02:45:37 +00:00
Lucas Lin
105b17be49 Merge "Make sure that only the owner can call [stop|start]VpnProfile()" into sc-dev am: 8d26ea92b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15359750

Change-Id: Idc5d7e35ba220bdcd7dcfd6bcca43d987ef50260
2021-08-10 02:38:50 +00:00
Treehugger Robot
9de9c7f693 Merge changes Icabed06e,I25bc13c6 am: afce05e2e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683328

Change-Id: Iccb3f39a62c0f8d34e986a12ca83e3c0b430b949
2021-08-10 02:31:28 +00:00
Lucas Lin
8d26ea92b4 Merge "Make sure that only the owner can call [stop|start]VpnProfile()" into sc-dev 2021-08-10 02:28:24 +00:00
Beth Thibodeau
c4e1c545e2 Reduce height of expanded media controls
Total height is now 192 dp. Reduced album art size and some padding for
expanded media control layout. Also adjusted album art size and padding
for expanded recommendations card to fit

Bug: 189700268
Fixes: 194492458
Test: visual
Change-Id: I3ca096e663d10a05abee2a645dacfe4ce001597c
(cherry picked from commit 69377262a45d355dd42ff555edd600191177d04f)
2021-08-10 02:18:51 +00:00
Treehugger Robot
afce05e2e5 Merge changes Icabed06e,I25bc13c6
* changes:
  Bluetooth: Add Media Control Profile
  Bluetooth: Add GATT_INSUFFICIENT_AUTHORIZATION error code
2021-08-10 02:14:33 +00:00
Jayant Chowdhary
396aa0d202 [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours am: 0965418bf9 -s ours am: 8d6dbba160 -s ours am: 138d803ee2 -s ours am: b8a3a61c6f -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I421c9e25f48d42d712bb93d34e42cd6835d5bfbd
2021-08-10 02:09:20 +00:00
Jayant Chowdhary
79a8a321cf [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours am: 0965418bf9 -s ours am: 8d6dbba160 -s ours am: a0143a6530 -s ours am: 77cb4f69ce -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I5565995ee480ccc9c2db20808824bb6c02f4df59
2021-08-10 02:09:07 +00:00
Curtis Belmonte
fb9d431132 Merge "Show fingerprint icon when face fails on BiometricPrompt" into sc-dev am: a69ceda9c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15504270

Change-Id: I84a396731a3454729e1e0fdc35a9abd97403b758
2021-08-10 02:08:36 +00:00
Bill Yi
33f7214384 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If354b64f0817b60f66e4623699e7cf17d20df8fa
2021-08-10 02:04:10 +00:00
Jayant Chowdhary
b8a3a61c6f [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours am: 0965418bf9 -s ours am: 8d6dbba160 -s ours am: 138d803ee2 -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I4e4a3e9bed21cffc3650fab18c469f3d4f71cda5
2021-08-10 02:00:47 +00:00
Jayant Chowdhary
77cb4f69ce [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours am: 0965418bf9 -s ours am: 8d6dbba160 -s ours am: a0143a6530 -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: Ic1da5e2041258323857faa214a00340ca3cafaeb
2021-08-10 01:59:50 +00:00
Curtis Belmonte
a69ceda9c4 Merge "Show fingerprint icon when face fails on BiometricPrompt" into sc-dev 2021-08-10 01:51:13 +00:00
Bill Yi
1f69d5875e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I81876dd7997ec3f72890ebb1cce1d42a6fd1917f
2021-08-10 01:50:03 +00:00
Jayant Chowdhary
138d803ee2 [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours am: 0965418bf9 -s ours am: 8d6dbba160 -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I04d00bdfdc1339451e6eee7294ef03cd6be43c3a
2021-08-10 01:45:19 +00:00
Jayant Chowdhary
a0143a6530 [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours am: 0965418bf9 -s ours am: 8d6dbba160 -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: Id4c4ca051df2873d3c4525e7a965aec8626abe9a
2021-08-10 01:45:19 +00:00
Jayant Chowdhary
8d6dbba160 [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours am: 0965418bf9 -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I489bd4243d2e29ac2828869e52649704dd6ca504
2021-08-10 01:33:26 +00:00
Joe Bolinger
316fbf7672 Add detailed fingerprint logging and a historical buffer.
This was done for face as part of I5021534069d59158dde4488ebb13ef90d339ee39 and this extends the pattern for fingerprint to enable better debugging of the listening state changes.

Bug: 194817979
Test: manual (adb bugreport and verify recent auth attempts in logs)
Test: atest KeyguardListenQueueTest

Change-Id: Ib782c9e95c12a65496e2d0245f5f8169f478a6ca
2021-08-09 18:31:56 -07:00
Jayant Chowdhary
0965418bf9 [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours am: d3894cef1b -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I02f81e3e2cdcdea15423fe4195a969e689eba0bd
2021-08-10 01:22:59 +00:00