Commit Graph

640958 Commits

Author SHA1 Message Date
Colin Cross
4ff7d4e678 Replace llndk_library with llndk clause in cc_library
Remove the vestigial llndk_library and replace it with properties
in the llndk clause of the implementation cc_library.

Bug: 170784825
Test: m checkbuild
Test: compare out/soong/build.ninja
Change-Id: I960d7592fc71482e547f3617d0e55503c36cb63a
2021-04-23 05:51:31 +00:00
Colin Cross
186a6edd47 bpfmt native/android/Android.bp
Fix formatting errors in with bpfmt -w native/android/Android.bp.

Test: builds
Change-Id: I444579e5672b3bc421f7e73f27bb0d12d92a9a03
Merged-In: I444579e5672b3bc421f7e73f27bb0d12d92a9a03
2021-04-23 05:50:40 +00:00
Remi NGUYEN VAN
efcd27a0dc Merge "Use connectivity resources in service-connectivity" 2021-04-23 05:42:13 +00:00
Remi NGUYEN VAN
410973d590 Merge "Add AOSP certificates for connectivity resources" 2021-04-23 05:40:58 +00:00
Jackal Guo
91c2cc0bd7 Traverse all users to look up the names of the appId
In #dumpQueries, it uses appId as UID. This results in that it only
queries for appId on user 0. If the given appId is only installed
on the other user, we would fail to get the package name.

Bug: 165901712
Test: manually install an application on the secondary user, and use
      'dumpsys package queries' to check whether '[app id <AID> not
      installed]'(previous '[unknown app id <AID>]') still exists.
Change-Id: I783aec7f8b52099519365b75acddffe59dd50003
2021-04-23 13:21:40 +08:00
Hongwei Wang
b899f626b6 Merge "Apply PictureInPictureSurfaceTransaction upon reparent" into sc-dev 2021-04-23 05:17:12 +00:00
TreeHugger Robot
8af1716cc5 Merge "bpfmt native/android/Android.bp" into sc-dev 2021-04-23 04:51:12 +00:00
Christine Franks
8327ce6b24 Merge "Check virtual displays for ime dispatch" into sc-dev 2021-04-23 04:29:02 +00:00
TreeHugger Robot
29ebb3033c Merge "Camera: Add new hidden tag for multiResolutionStream support" into sc-dev 2021-04-23 04:14:36 +00:00
Tony Huang
faa060ae15 Merge "Make AppTransition animations sharable (3/n)" into sc-dev 2021-04-23 04:03:10 +00:00
TreeHugger Robot
60a6502567 Merge "Fix SurfaceView callback timings" into sc-dev 2021-04-23 03:47:30 +00:00
shawnlin
431ebd6040 Move no cutout overlay packages to frameworks/base
With this, we don't need to add the whole no cutout packages every time
when a new device that need the emulations.

All we need to do is just to update the device_xxx.mk

Bug: 186177228
Test: make
Change-Id: Ib244dc4be789a58fe66a0d2bc9b54f31031bfeec
2021-04-23 11:23:22 +08:00
Lucas Dupin
d765a0634b Merge "Fix issue where theme would be accepted in SUW" into sc-dev 2021-04-23 03:17:06 +00:00
Jay Aliomer
3e67a9d2de Make PendingIntent mutable in UiModeManger
Fixes: b/173744200
Test: UiModeManagerTest
Change-Id: I30a7e7d33fa432ca6352a80e41c4641ed6c6c1dc
2021-04-22 22:56:49 -04:00
Edgar Arriaga
75a88439e1 Update OWNERS for CachedAppOptimizer
Bug: 162993824
Test: Compiled codebase
Change-Id: I9c95e60cdcae324aaabf3341d3348b99b52f20f8
2021-04-23 02:49:14 +00:00
Chiachang Wang
a424d5bafc Address API review feedback
Address API review feedback to:
 - Rename NetworkAgent#setTeardownDelayMs to
   NetworkAgent#setTeardownDelayMillis
 - Use getters instead of fields in VpnTransportInfo
 - Rename registerDefaultNetworkCallbackAsUid to
   registerDefaultNetworkCallbackForUid in ConnectiivityManager

Bug: 183972850
Bug: 185246410
Fix: 184735863
Test: make update-api
Test: atest FrameworksNetTests
Test: atest CtsNetTestCasesLatestSdk
Change-Id: I5e8c4bed8bda40d507afa894c359b5e24ee5d868
Merged-In: I5e8c4bed8bda40d507afa894c359b5e24ee5d868
2021-04-23 02:46:05 +00:00
Bill Yi
f5da656426 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fff12f831d -s ours am: 6d90946e08 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1b6f7f943635bd00ccf259ae3cea30ac338c16cb
2021-04-23 02:41:56 +00:00
Xusong Wang
f89ad4b416 [automerger skipped] Merge changes from topic "rs-deprecation" am: 67485cf930 am: 9b5047f696 am: 33be8eec88 -s ours
am skip reason: skip tag Change-Id I50b7ce18841eb38f2e5d986307afd91791efdf7b with SHA-1 efbe8ac645 is already in history

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

Change-Id: I142fc8fb529cc2c0d656dac2d2d54c51545a1aa0
2021-04-23 02:41:36 +00:00
Xusong Wang
592d5b54c6 [automerger skipped] Deprecate RS Java APIs. am: 1f8dc651a8 am: 06287994ec am: 2bf7341ecb -s ours
am skip reason: skip tag Change-Id Id271a794679d445c480d62c87ae6c8150f6901f8 with SHA-1 8b4548c43a is already in history

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

Change-Id: I8f8f21713b4d6b05bd93c2701c7f4d93e0ef5377
2021-04-23 02:41:24 +00:00
Bill Yi
fb22e49b69 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4d8f513521f196a5f9255e4e4964eb95d2d302e3
2021-04-23 02:39:15 +00:00
TreeHugger Robot
7ebc50ac8c Merge "Disable flaky flicker tests" into sc-dev 2021-04-23 02:38:16 +00:00
Kevin Chyn
e68e9ecd54 Update biometric OWNERs to single source of truth
Test: Builds
Change-Id: I21f1f1d61f49d3db93b120fca29893f86526bb9c
2021-04-22 19:31:23 -07:00
Bill Yi
11a4adbfac Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8aebfdf465bd3f8b47763e92512b42b3a53efab0
2021-04-23 02:30:31 +00:00
Bill Yi
6d90946e08 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fff12f831d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I66612ae59af080f0e958bda4b6b34db48fc76f2f
2021-04-23 02:29:31 +00:00
Ming-Shin Lu
4255d36267 Merge "Update IME window status when KeyguardController#setKeyguardShown" into sc-dev 2021-04-23 02:22:43 +00:00
Xusong Wang
33be8eec88 Merge changes from topic "rs-deprecation" am: 67485cf930 am: 9b5047f696
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683499

Change-Id: Ib4d54fc2149f9a1289975c71ba2465a4702185b2
2021-04-23 02:13:22 +00:00
Xusong Wang
2bf7341ecb Deprecate RS Java APIs. am: 1f8dc651a8 am: 06287994ec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683498

Change-Id: I4cf34e687eb12b192740bab30197c37d10ce00e9
2021-04-23 02:13:19 +00:00
Soonil Nagarkar
ad53af1fa7 Update Geocoder docs to strengthen warnings
Bug: 177616061
Test: none
Change-Id: I81bcd4530fd7064ade8be00e0ad6d126cb9ab6f6
2021-04-22 19:05:50 -07:00
TreeHugger Robot
fa29f6f85c Merge "Optimizing AppStandby.getIdleUidsForUser" into sc-dev 2021-04-23 02:00:08 +00:00
Arc Wang
fb4b580156 Merge "Fix UsageProgressBarPreference number pattern problem" into sc-dev 2021-04-23 01:57:30 +00:00
Beth Thibodeau
9985b65f64 Handle media session destroyed
It is possible for a media session to be destroyed without updating the
playback state or removing the notification, in which case the
controller will no longer be valid. So we can treat this like
resumption, and re-register the controller and re-activate the controls
if we later get an event where the media is playing.

Fixes: 185899440
Test: MediaTimeoutListenerTest
Change-Id: If8b8922b436261ccf703ee9e1e3c0294171a6c2e
2021-04-22 21:50:52 -04:00
Xusong Wang
9b5047f696 Merge changes from topic "rs-deprecation" am: 67485cf930
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683499

Change-Id: I800ecc51dfd2c9972f5ab23938df4eb6f2a4c3f0
2021-04-23 01:46:12 +00:00
Xusong Wang
06287994ec Deprecate RS Java APIs. am: 1f8dc651a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683498

Change-Id: I823539a725e083870cf734e45c254a97da982ee5
2021-04-23 01:41:33 +00:00
Remi NGUYEN VAN
2ecc79d616 Use connectivity resources in service-connectivity
Migrate resource usage to the connectivity resource package.
For framework resources that have known overlays, keep a fallback until
the overlays can be migrated.

Bug: 182125649
Test: atest FrameworksNetTests
Merged-In: I778d94a5aac0c4e20e78b1ba3a002495c17a38a0
(clean cherry-pick)

Change-Id: I778d94a5aac0c4e20e78b1ba3a002495c17a38a0
2021-04-23 10:36:15 +09:00
Colin Cross
b16eb69e6d bpfmt native/android/Android.bp
Fix formatting errors in with bpfmt -w native/android/Android.bp.

Bug: 170784825
Test: builds
Change-Id: I444579e5672b3bc421f7e73f27bb0d12d92a9a03
2021-04-23 01:26:14 +00:00
Jing Ji
1528d2ebcb Merge "Move the callbacks in app died/crash handling out of WM global lock" into sc-dev 2021-04-23 01:20:51 +00:00
Xusong Wang
67485cf930 Merge changes from topic "rs-deprecation"
* changes:
  Silence compiler errors because of renderscript deprecation.
  Deprecate RS Java APIs.
2021-04-23 01:16:04 +00:00
Bill Yi
7d8314eac6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d6db38186a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I59c3f4bc70aa17927a3814a437bcd4d0784770ba
2021-04-23 01:08:46 +00:00
Varun Shah
62696eb689 Merge "Update OWNERS for Content* framework." am: 81f00f0198 am: 44b972b1f7 am: 49548d9faf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665999

Change-Id: I920018f2654eee3bcccc865c37fa44f0c265b995
2021-04-23 01:01:17 +00:00
“Grace
02e5b66448 Configures FingerprintService to use FingerprintStateCallback to notify
clients of fingerprint sensor state changes

Implements FingerprintStateCallback class to receive notifications of
changes in fingerprint state, and updates ServiceProvider method
signatures and Fingerprint21 accordingly to use this callback type for
authentication, enrollment, and other side fps events. Also defines
FingerprintStateListener class to forward state changes in
fingerprint-related events from FingerprintService to the
SideFpsEventHandler, which defines logic for interactions
between power button state and side fps state.

Test: adb shell dumpsys fingerprint

Bug: 183997671
Change-Id: I9a44e2f31648590c0d0d4d065b68c39c9f204051
2021-04-23 00:59:57 +00:00
TreeHugger Robot
81eb3f6ddd Merge "Use PostScript name as a key of updated font map" into sc-dev 2021-04-23 00:47:15 +00:00
James Mattis
261c975e3d Updating tests to honor per-app TRACK_DEFAULT
Per-app APIs in ConnectivityService will now have their fallback
request which tracks the system default be of type TRACK_DEFAULT
as opposed to REQUEST. Existing tests which expect this fallback request
to be sent to network factories need to be updated to validate this
change.

Bug: 180452284
Bug: 176494815
Test: atest FrameworksNetTests
Change-Id: I5125755b3ed1ec535494e2d7a48c0860710ed056
2021-04-22 17:41:47 -07:00
Varun Shah
49548d9faf Merge "Update OWNERS for Content* framework." am: 81f00f0198 am: 44b972b1f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665999

Change-Id: Ibc5335fff06db5205ebf8ced5fa0a2ba76225cf1
2021-04-23 00:40:00 +00:00
TreeHugger Robot
efc7e4c0f0 Merge "Add api to propagating translation capability updates." into sc-dev 2021-04-23 00:39:27 +00:00
Chiachang Wang
f66c5cba89 Merge "Address API review feedback" into sc-dev 2021-04-23 00:30:51 +00:00
Ilya Matyukhin
2820c62ad0 Make function names consistent in AidlConversionUtils
Bug: 181358178
Test: atest CtsBiometricsTestCases
Change-Id: I118590e4c335438d801133e6917b0c7829e0cf62
2021-04-22 17:27:40 -07:00
Varun Shah
44b972b1f7 Merge "Update OWNERS for Content* framework." am: 81f00f0198
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665999

Change-Id: If3a743e98296aacffb924d65649723ae07b6a591
2021-04-23 00:20:33 +00:00
Vinit Nayak
8c4f7bb958 Pass IME visibility info to launcher
Bug: 180046394
Change-Id: I613830757f549628d2e84f0916572c9c3c484e42
2021-04-22 17:16:41 -07:00
Bill Yi
28348c7834 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I91b1c783f55460a091de81b5c62fca806b193340
2021-04-23 00:09:43 +00:00
Darryl L Johnson
f89a5e337d Don't throw exception if DeviceStateProviderImpl can't find required
sensor.

DeviceStateProviderImpl would thrown an exception when constructed if
the config it is based on required the presence of a Sensor that did not
exist. This changes the provider to ignore states with conditions that
have unknown sensors. If there are no states with known conditions it
defaults to the state with the lowest identifier.

Fixes: 186166148
Test: atest DeviceStateProviderImplTest
Change-Id: Iec73e33e2b464680fb9404863d11a26e9643248b
2021-04-22 17:03:48 -07:00