Commit Graph

640958 Commits

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

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

Change-Id: I027037e288905193a36156001abeae5cf7d13b1e
2021-04-23 18:08:05 +00:00
Bill Yi
991dc6ed68 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 4bd777bc28 -s ours am: d4810a91b2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7cc508d86382993675f30c7b7abaa9ef041581bd
2021-04-23 18:06:57 +00:00
Treehugger Robot
3310a9a81f Merge "Keystore 2.0 SPI: Fix engineDoFinal with null input." am: 06df6d84eb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680128

Change-Id: Ia75168fc7489fe24178b7b81db643bc43823d7de
2021-04-23 18:06:46 +00:00
Makoto Onuki
2c7fdfcfda Add sampling to FGS atom
Only log the FGS atom for a certain set of packages. Each device
will have a random but stable set of apps, determined by the ANDROID_ID.

By default, the sampling rate is 1, so we log all packages.

If the rate is 0.5, we'll long only the half of the packages. Again,
each device will have a random set of the packages, so the same package
will be logged only on half the devices.

Fix: 184867830
Test: atest FrameworksServicesTests:ActivityManagerUtilsTest
Change-Id: I4cac13ec62d9c98b95df57d47d63e725ba1fcfdd
2021-04-23 11:05:32 -07:00
Dave Mankoff
b5b43ec3cf Avoid gestures occuring on AOD2.
Fixes: 186218339
Test: atest SystemUITests && manual
Change-Id: Ic6ec3df49a47290e31588bb44f7487bb8448d406
2021-04-23 13:59:16 -04:00
Treehugger Robot
06df6d84eb Merge "Keystore 2.0 SPI: Fix engineDoFinal with null input." 2021-04-23 17:53:34 +00:00
Grace Cheng
42edcfbdb6 Merge "Configures FingerprintService to use FingerprintStateCallback to notify clients of fingerprint sensor state changes" into sc-dev 2021-04-23 17:50:17 +00:00
Tony Wickham
5117aa2835 Set PendingIntent as FLAG_IMMUTABLE
Test: compiles
Fixes: 174161910
Change-Id: I3e06e41aafc97670b7aa9ed0d873b69eaf1c635c
2021-04-23 10:48:22 -07:00
TreeHugger Robot
f7d2093ea0 Merge "Turn FalsingManager on for Wallet Button" into sc-dev 2021-04-23 17:47:40 +00:00
TreeHugger Robot
4c41fca732 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 3e6e11d131 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I76a67231eafb094a58c3d1236330a0e70c26f381
2021-04-23 17:45:05 +00:00
TreeHugger Robot
a6f847e886 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 2b4b272fe4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I89543645391351c8318e439d7ceb7229670dc651
2021-04-23 17:44:51 +00:00
Bill Yi
d4810a91b2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 4bd777bc28 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If250a9c66ab1bf7e8eb6aa8e8fca2697610764ae
2021-04-23 17:44:30 +00:00
TreeHugger Robot
3e6e11d131 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-04-23 17:35:48 +00:00
TreeHugger Robot
2b4b272fe4 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-04-23 17:29:07 +00:00
Bill Yi
4bd777bc28 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-04-23 17:22:10 +00:00
TreeHugger Robot
348791b870 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: e6eaba9850 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id94e1a80d733181d9493890f2fddc0e9d8a495ee
2021-04-23 17:20:12 +00:00
TreeHugger Robot
5aba9f85d0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 25b1108174 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3b0886d1539784b09674ec0600a0a1427cae11fc
2021-04-23 17:19:40 +00:00
TreeHugger Robot
035becbe94 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: fded535d1a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I08a1ef8d3fa291fad0180b2d939fd0de93f4e995
2021-04-23 17:17:39 +00:00
TreeHugger Robot
e6eaba9850 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-04-23 17:16:52 +00:00
Song Hu
0482828ca6 Merge "Query and surface Quick Share chip before screenshot image compress/export. Update chip intent, once image URL is available after compress/export." into sc-dev 2021-04-23 17:10:16 +00:00
Pavel Grafov
5ee3398bb9 Drive-by clean-up: remove redundant operation
markProfileOwnerOnOrganizationOwnedDeviceUncheckedLocked sets
DISALLOW_REMOVE_MANAGED_PROFILE restriction on parent profil,
so doing it again in restrictRemovalOfManagedProfile is
unnecessary.

Bug: 162815601
Test: enroll TestDPC into COPE from SuW, check the profile cannot be
      removed.
Change-Id: Ie50c0cfa8affad58759ad3dd01963bb7edccf720
2021-04-23 18:02:13 +01:00
TreeHugger Robot
25b1108174 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-04-23 16:58:42 +00:00
TreeHugger Robot
fded535d1a Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-04-23 16:58:33 +00:00
Flavio Fiszman
2b3dcc6520 Adding logging to People Tiles
Change-Id: I94d99467b1d40bc629406eb6a5bce8a1a78dd0a4
Test: manual
Bug: 186127384
2021-04-23 17:38:45 +01:00
Jay Aliomer
116e4c41e0 Merge "Make lockscreen background opaque" into sc-dev 2021-04-23 16:32:48 +00:00
Jorim Jaggi
469c53f256 Merge "Only start tracing in the next frame" into sc-dev 2021-04-23 16:23:12 +00:00
Bill Yi
169e1299ab Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-23 16:00:47 +00:00
Flavio Fiszman
7852984973 Merge "Check if username is null" into sc-dev 2021-04-23 15:59:09 +00:00
Martin Stjernholm
8cf06f75a6 Merge "Revert "Changed dpm shell commands to use 'cmd device_policy'"" into sc-dev 2021-04-23 15:56:02 +00:00
Matt Pietal
de36555b9f Smartspace - Support launching intents from lockscreen
Also integrate the FalsingManager, which is important for determining
user intent while on the lockscreen.

Fixes: 186219857
Test: atest KeyguardClockSwitchControllerTest

Change-Id: I22108ec2335bd350fbcaf5d5b90dd3b351011767
2021-04-23 11:51:32 -04:00
Fabian Kozynski
8ac671aba3 Merge "Update style of build number string" into sc-dev 2021-04-23 15:35:43 +00:00
Andrei Onea
faa271aa5e Replace source based system server stubs
Use the stubs obtained by merging the system server stubs from
non updatable code in the system server, and the system server apis
exposed by mainline modules in SYSTEMSERVERCLASSPATH.

Test: builds
Bug: 177640454
Change-Id: I3687aeb0a4905418d07c819f1091266aaf708558
2021-04-23 16:23:16 +01:00
Sergey Volnov
04fa253482 Change attribution integration points for SpeechRecognizer.
I've deleted the extra attribution for now just to fix the bug asap, but
we need a long-term sync to make sure attribution works properly. For
both cases when the RS app decides to integrate with the new attribution
framework OR decides to ignore it.

Bug: 184963112
Test: atest CtsVoiceRecognitionTestCases
Change-Id: I20bd8174c1a188da6c5af55cdd3bebee8a638d2d
2021-04-23 16:16:39 +01:00
Jeff Sharkey
efe1110be8 More AttributionSource plumbing.
To prepare for future work which will plumb AttributionSource values
through all remaining AIDLs, we need profiles to interact directly
with the specific BluetoothAdapter they were created from.  This is
how we'll ensure that the relevant AttributionSource can be chained
down from the original Context they're obtained from.

This change also marks getDefaultAdapter() as deprecated to clearly
communicate that BluetoothManager.getAdapter() is the best-practice
path to obtaining a correctly scoped BluetoothAdapter instance.

Bug: 183626112
Test: atest BluetoothInstrumentationTests
Change-Id: I1e15170d7679019bbb6e396279d6e633e3dad4d6
2021-04-23 08:51:49 -06:00
Fabian Kozynski
094f20a916 Disable long press for Device Controls tile
Test: manual
Fixes: 186196549
Change-Id: I36b508a836d2016908102d373d416df5ecf1b3a4
2021-04-23 10:51:09 -04:00
Julia Reynolds
ccbfb05dd9 Add missing javadocs
Test: build
Fixes: 186211207
Change-Id: Ie7da3a9de4afd6eb8f7aeed7c588091be87409f5
2021-04-23 14:48:09 +00:00
James Mattis
572ab83446 Changing per-app default request to TRACK_DEFAULT
Changing the per-app default request flows to fallback to a request of
type TRACK_DEFAULT as opposed to type REQUEST. The main benefit of this
change is that these requests will no longer be sent to the factories
which is desired.

Bug: 180452284
Bug: 176494815
Test: atest FrameworksNetTests
atest FrameworksNetIntegrationTests
atest CtsNetTestCasesLatestSdk

Change-Id: I312e55a54f70aa82953a32ab9369d5afc02b75e5
Merged-In: I312e55a54f70aa82953a32ab9369d5afc02b75e5
2021-04-23 07:47:11 -07:00
James Mattis
320acb1204 Merge changes I5125755b,I312e55a5 into sc-dev
* changes:
  Updating tests to honor per-app TRACK_DEFAULT
  Changing per-app default request to TRACK_DEFAULT
2021-04-23 14:42:51 +00:00
Dave Mankoff
81363b6a72 Turn FalsingManager on for Wallet Button
Changes such as http://ag/14250946 were probably necessary
to make this work reliably.

Fixes: 186212376
Test: manual
Change-Id: I8a45816fc14f4f7c1952d4db28a5d4807b4da254
2021-04-23 10:41:50 -04:00
TreeHugger Robot
13b4392b03 Merge "Add ability to customize haptics on auth success/fail" into sc-dev 2021-04-23 14:41:32 +00:00
Fiona Campbell
c0dea57c64 Merge "Allow sensors to be specified per display" into sc-dev 2021-04-23 14:23:50 +00:00
Anna Zappone
8f42c33204 Merge "Polish updates" into sc-dev 2021-04-23 14:14:14 +00:00
Caitlin Cassidy
4b58dcc957 Merge "[Ongoing Call] Add a temporary workaround for b/178406514." into sc-dev 2021-04-23 14:03:03 +00:00
Caitlin Cassidy
efaeb0c564 Merge "[Ongoing Call Chip] Don't show the chip on lockscreen." into sc-dev 2021-04-23 14:01:58 +00:00
Martin Stjernholm
dc70c57eaf Revert "Changed dpm shell commands to use 'cmd device_policy'"
This reverts commit e311f273d4.

Reason for revert: Suspected to break git_sc-dev: https://android-build.googleplex.com/builds/tests/view?invocationId=I95100008561539923&testResultId=TR98321419962361792

Bug: 186208038
Change-Id: I0dc3ee2d509f395677600590d0cbb42b4d9f1682
2021-04-23 13:54:54 +00:00
TreeHugger Robot
8504b29989 Merge "Fix installKeyPair cred mng app access control" into sc-dev 2021-04-23 13:24:48 +00:00
Jorim Jaggi
e941d4e58b Only start tracing in the next frame
In order to match tracing markers with the metrics, we should start
the tracing marker at the beginning of the next frame, as this is
also the point in time where we start counting janky frames.

Test: Take trace, inspect
Bug: 185902609
Change-Id: I2ec70b3fc2d3236bc24891ef698fdd7ac2917b01
2021-04-23 15:20:10 +02:00
Wesley.CW Wang
b562c3a0ae Make LayoutPreference summary text support multiple lines
Screenshot: https://screenshot.googleplex.com/9YWMSQ4Q8DRd7G9.png

Bug: 178197718
Test: make SettingsLibRoboTests
Change-Id: Ib20e9b383eda884ac53cd8bce1aff998719f400d
2021-04-23 13:04:02 +00:00
lucaslin
56451e2847 Update PrivateDnsMode from StringDef to IntDef
Update PrivateDnsMode from StringDef to IntDef because IntDef is
the normal way of representing multiple choices in public API.
Also update other related files.

Bug: 185311744
Test: 1. make update-api
      2. atest FrameworksNetTests CtsNetTestCases CtsNetTestCasesLatestSdk
      3. atest FrameworksServicesTests:DevicePolicyManagerTest
Change-Id: I23e7ec140066979726d769cabc5f7057bb2167e6
2021-04-23 21:03:39 +08:00
Song Hu
e55e544fef Query and surface Quick Share chip before screenshot image compress/export. Update chip intent, once image URL is available after compress/export.
Test: test on local device
Bug: 185423664
Change-Id: I2710a727d4fc4fabaa1404d965feaa0c97d502fc
2021-04-23 05:36:10 -07:00