Commit Graph

813479 Commits

Author SHA1 Message Date
Nick Chameyev
fbd96fab84 Merge "[Unfold transition] Update latency tracker to listen for animation start" into tm-qpr-dev am: 596e3f9025
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20637217

Change-Id: Ie5445ece5ea5d0c19d7f0e37306a6f8cb297ad99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 11:45:46 +00:00
xi yu
78aae53eba [Bugfix] Add reading timeout when waiting for the reply of an application zygote.
Some defective or bad application zygote processes may do much work or just sleep in their doPreload, which makes the ActivityManager:procStart thread of system_server blocked and the other applications can not start.

Test: manual

Change-Id: I5045718719a5f876e2a03b30f104096894c4c307
2022-12-19 11:20:16 +00:00
Nick Chameyev
596e3f9025 Merge "[Unfold transition] Update latency tracker to listen for animation start" into tm-qpr-dev 2022-12-19 11:20:03 +00:00
Piotr Wilczyński
6ddd0586cd Use a brightness sensor to determine the screen's initial brightness
- Create a controller to listen to a brightness sensor when the screen is off
- Estimate the ambient lux based on the sensor reading
- Determine the brightness using the ambient lux estimate
- Specify the sensor and the sensor value to lux mapping in the config

Bug: 193224604
Test: Use the device in a bright room, turn the screen off, go to a dark room, turn the screen on, see that the screen doesn't start as too bright.
Test: atest ScreenOffBrightnessSensorControllerTest
Test: atest DisplayDeviceConfigTest
Change-Id: Ib4c4d9e0d6b385b0d309be6b8c27b71af72d4ecc
Merged-In: Ib4c4d9e0d6b385b0d309be6b8c27b71af72d4ecc
2022-12-19 11:19:58 +00:00
Ioana Alexandru
27c9c83f66 Merge "Make aodIconTint default to white." into tm-qpr-dev am: 7908948853
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20748232

Change-Id: Ibbcbd820582b7f622d96afee4b0fceaf707e1fbd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 11:08:17 +00:00
Vania Januar
6f2ecace7f Detecting first stylus usage.
A CoreStartable that uses internal battery events as a proxy
for first stylus usage, and sets a boolean flag on InputManager.

Bug: 251206662
Test: atest StylusFirstUsageListenerTest
Change-Id: Iea616cde0f6ced7801ae258d66713b1d1dd1d7ee
2022-12-19 10:38:20 +00:00
Ioana Alexandru
7908948853 Merge "Make aodIconTint default to white." into tm-qpr-dev 2022-12-19 10:35:34 +00:00
Shaowei Shen
8cc6d31dde Merge "[Output Switcher] Add group title" into tm-qpr-dev am: b379d5c37d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20689811

Change-Id: I05397020d743426077eda66d6f0ca9acb8fec16b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 10:26:17 +00:00
Shaowei Shen
b379d5c37d Merge "[Output Switcher] Add group title" into tm-qpr-dev 2022-12-19 09:41:23 +00:00
Bill Yi
3216fcb0a0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic4f51bdc47f53df89753b3ed84b82a798b74dd38
2022-12-19 01:12:42 -08:00
Bill Yi
48ed0a4481 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia5d48e3466f616e34a68d76dbb23206a1195122c
2022-12-19 01:09:58 -08:00
Bill Yi
b469f1f2c7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib455a0ae671f9e5da7bd26c6301165392fe5b06c
2022-12-19 01:07:30 -08:00
Bill Yi
d3d9e96572 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia82593fd3031192c5fff90122ba483f8e889cabe
2022-12-19 01:06:28 -08:00
Bill Yi
116103abfa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ee1de8478f84c1cde321ab03a17617647035aa7
2022-12-19 01:05:27 -08:00
Bill Yi
688cc090e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia2cfdba1de3fe0b69ead75f123558e1f2048b0c5
2022-12-19 00:29:55 -08:00
Bill Yi
0d0f0cae58 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0396324791a64f8012edd0a5052bd565cc19823
2022-12-19 00:25:08 -08:00
Treehugger Robot
b61ce03d57 Merge "Fix potential race condition problem" am: 91a15e8ad9 am: 1e5e9923e6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2278342

Change-Id: I171e9459c8740887953945075a962e178a2f98ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 08:22:14 +00:00
Treehugger Robot
1e5e9923e6 Merge "Fix potential race condition problem" am: 91a15e8ad9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2278342

Change-Id: I76029ca539068c82b87ed090c451d2251db9c6fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 07:47:55 +00:00
Bill Yi
d2bd9e8327 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I170203860aa5c4db233c9803ec72ae5cfe84f71b
2022-12-18 23:43:50 -08:00
keparal.li
3b507387a7 Avoid NetworkPolicyLogger NullPointException
Since uidBlockedState is nullable, need to make sure it's not null before call its function.

Bug: 261365478
Change-Id: Ic1bc5cd64ce7ce0340fa0513569e0626a8f8a35f
2022-12-19 15:37:13 +08:00
Shen Lin
9c22862f71 Align passing member references to do nativeInit
Since mInputChannel is written before, we should also pass its reference
like we did with mMessageQueue to nativeInit() to init InputChannel.

Test: atest InputEventSenderAndReceiverTest
Change-Id: I99255eb54fa5332f9051fb4d0de663446ef43bf9
2022-12-19 07:20:57 +00:00
Treehugger Robot
91a15e8ad9 Merge "Fix potential race condition problem" 2022-12-19 07:10:16 +00:00
Brian Isganitis
a7d199515d Merge "Adding permissions for pinning shortcuts." into tm-qpr-dev am: ff11409051
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20693454

Change-Id: I45d7df89e70b73f79aa2e21c3c7129e37535a4a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 04:29:24 +00:00
Brian Isganitis
ff11409051 Merge "Adding permissions for pinning shortcuts." into tm-qpr-dev 2022-12-19 03:45:17 +00:00
Rhed Jao
0c0e6a987a Merge "Fix permanent denial of service via apis with illegal intent filter" into tm-qpr-dev am: 2e8ec83590
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20559211

Change-Id: I9aa6c68957a7b74810e7f04ace58d687b52e25bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 03:10:30 +00:00
Rhed Jao
2e8ec83590 Merge "Fix permanent denial of service via apis with illegal intent filter" into tm-qpr-dev 2022-12-19 02:33:37 +00:00
pioush.kumar-IN009423
0e829258a2 Skype is not opening in full screen
Problem: {
    1. Skype is using flag adjacent launch in this issue while starting the activity.
    2. Skype unable to open in full screen after split screen dismissed.
    3. Skype is being to multi window. without any prior task present.
    4. But its states are not properly set. Causing this issue.
}

Solution: {
    1. Also if source task and candidate task are equal do nothing.
    2. This means task that is starting new activity is itself.
}

Bug: 262643393

Change-Id: I19748f8128d1a3f4eac4dae0d9b7cfd99e5e835c
Signed-off-by: pioush.kumar-IN009423 <pioush.kumar@oppo.com>
2022-12-19 02:29:27 +00:00
shaoweishen
612b354330 [Output Switcher] Add group title
Apply "Display & Speaker" group in the list, it should contain all the
devices besides selected device when launch.
Refine volume control

Bug: 255124239
Test: verified on device
Change-Id: I5467e9bc25ca3685830bee2ce579311336ec2331
2022-12-19 02:28:01 +00:00
Mariia Sandrikova
a166f0128e Set orientation for boot animation and default display rotation.
Change the default display rotation value and boot animation orientation to the value specified in the sysprop ro.bootanim.set_orientation_<display_id>. Four values are supported: ORIENTATION_0, ORIENTATION_90, ORIENTATION_180 and ORIENTATION_270. If the value isn't specified or is ORIENTATION_0, nothing will be changed.

This is needed to support having default rotation behavior and boot animation in orientation different from the natural device orientation. For example, on tablets that may want to keep natural orientation
portrait for applications compatibility but have landscape orientation as a default choice from the UX perspective.

Bug: 260627934
Test: manual test with all 4 values and atest WmTests still pass
Change-Id: I322919999ef787ff2c149293d7e1c7e669796c9a
2022-12-19 00:54:50 +00:00
Android Build Coastguard Worker
dbaaa753de Snap for 9417701 from b9b844866b to tm-qpr2-release
Change-Id: If4d9e8104bcc0311d051d1b0757a7dcf53c9c72d
2022-12-18 22:25:19 +00:00
Rasheed Lewis
281d3ac855 Merge "Add Start Activity API for TileServices" into tm-qpr-dev am: b9b844866b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20581227

Change-Id: I14f482ade1b0b71c9da8ca657ca02db88ccc8815
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-18 18:43:20 +00:00
Rasheed Lewis
b9b844866b Merge "Add Start Activity API for TileServices" into tm-qpr-dev 2022-12-18 17:50:16 +00:00
Robert Shih
ec5693e013 Merge "MediaDrm: throw exceptions with extra info" am: c0d6224bd2 am: 27946cfbef
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2359443

Change-Id: I205f50c39f67dff9a9c40fcd418724750a0ef138
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-18 17:20:06 +00:00
Robert Shih
27946cfbef Merge "MediaDrm: throw exceptions with extra info" am: c0d6224bd2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2359443

Change-Id: I23e3ba1a9370519381b050e3525cb38e008cbd8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-18 16:47:51 +00:00
Robert Shih
c0d6224bd2 Merge "MediaDrm: throw exceptions with extra info" 2022-12-18 16:28:46 +00:00
Jeff Chang
b3017488b0 Merge "Always dismiss split after folded the device" into tm-qpr-dev am: 258944c4cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20730951

Change-Id: I14f322370237672dea21edc878b2dd0e3ad82d52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-18 16:07:09 +00:00
Jeff Chang
35318afb7c Merge "Fix split screen test case failure" into tm-qpr-dev am: 8af0860b12
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20729659

Change-Id: Id7035e7f56837917dc668a2a9a4199614e5a12b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-18 16:05:43 +00:00
Jeff Chang
258944c4cc Merge "Always dismiss split after folded the device" into tm-qpr-dev 2022-12-18 15:30:36 +00:00
Jeff Chang
8af0860b12 Merge "Fix split screen test case failure" into tm-qpr-dev 2022-12-18 15:27:53 +00:00
Chandru S
2acadea65d Add flags for biometrics animation revamp and face auth refactor
Bug: 244313043
Bug: 262838215
Test: NA
Change-Id: I7c496ac9fdd7482a538001e04ee4469e851e6591
Merged-In: I7c496ac9fdd7482a538001e04ee4469e851e6591
2022-12-18 11:09:10 +00:00
Hawkwood Glazier
cd6fcc2859 Minor TAG update in PluginActionManager
Test: N/A
Bug: 260864389
Change-Id: Ib651400c1e2e65e6b13444579a4c3d84e1c14245
2022-12-18 01:08:00 +00:00
Android Build Coastguard Worker
bdc3e04cdf Snap for 9416697 from 52f08d1e0a to tm-qpr2-release
Change-Id: Ie45a0fb1ecddfee7dc5212e5ea30cda657640ae0
2022-12-17 22:25:34 +00:00
Josep del Río
9c7e77777b Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev am: 9a64b4bbe5 am: 4a3603ed0a am: d1d3755436 am: 5c8400f0d8 am: d2fdb41514 am: 242667158c am: 7d188c8207 am: d946501617 am: 467e924657 am: 52f08d1e0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20082616

Change-Id: I72fb62c1065cc4dc36c9924d02b54f99df9fda8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 20:10:38 +00:00
Rasheed Lewis
e00edd6df6 Add Start Activity API for TileServices
This API allows developers to add a pendingIntent to a CustomTile, which
will allow the tile to start a new activity.

There are two ways of using this functionality:
1. Call TileService#startActivityAndCollapse(pendingIntent) to
   immediately start a new activity

2. Set a pendingIntent in advance with
   Tile#setActivityLaunchForClick(pendingIntent), and the activity will
   start when the user clicks on the tile

Bug: 241766793
Test: atest CustomTileTest
Test: atest TileServicesTest
Change-Id: I07ad73ae468eed7a03202babfaeab271d4f7f3ae
2022-12-17 19:56:39 +00:00
Josep del Río
52f08d1e0a Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev am: 9a64b4bbe5 am: 4a3603ed0a am: d1d3755436 am: 5c8400f0d8 am: d2fdb41514 am: 242667158c am: 7d188c8207 am: d946501617 am: 467e924657
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20082616

Change-Id: Ieb7bc234eaaf6f0a200f9afe8897706721cef8c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 19:30:39 +00:00
Josep del Río
467e924657 Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev am: 9a64b4bbe5 am: 4a3603ed0a am: d1d3755436 am: 5c8400f0d8 am: d2fdb41514 am: 242667158c am: 7d188c8207 am: d946501617
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20082616

Change-Id: I4718d3f3bb0961c27446f767c90400bf27604869
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 18:56:58 +00:00
Josep del Río
d946501617 Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev am: 9a64b4bbe5 am: 4a3603ed0a am: d1d3755436 am: 5c8400f0d8 am: d2fdb41514 am: 242667158c am: 7d188c8207
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20082616

Change-Id: I630dbad4e9d619f0f9fb188cfb1d40ce81b36831
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 18:07:01 +00:00
Josep del Río
7d188c8207 Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev am: 9a64b4bbe5 am: 4a3603ed0a am: d1d3755436 am: 5c8400f0d8 am: d2fdb41514 am: 242667158c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20082616

Change-Id: I193f10277d1250012df65355c2de605660f14f1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 17:29:31 +00:00
Josep del Río
242667158c Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev am: 9a64b4bbe5 am: 4a3603ed0a am: d1d3755436 am: 5c8400f0d8 am: d2fdb41514
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20082616

Change-Id: I1dae823cf968d9cf4772437b6391589cd2a960a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 16:50:23 +00:00
Josep del Río
d2fdb41514 Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev am: 9a64b4bbe5 am: 4a3603ed0a am: d1d3755436 am: 5c8400f0d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20082616

Change-Id: I521df4123142659f640ac32c5e72932eb3d71c6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 16:01:53 +00:00