Commit Graph

768884 Commits

Author SHA1 Message Date
Xiaowen Lei
10ef287c2f Move setIsDreaming(..); to be right after plugin.getView(parent);.
This is necessary because registerDataProvider(plugin) could already be
logging events. The logged surface is 2 (Keyguard) without the
`setIsDreaming(true)`.

Bug: 227613246
Bug: 231251252
Test: on device via `adb logcat | grep SMARTSPACE_CARD_RECEIVED`
Change-Id: Id792bde00b66fd51b6a8606f7f6480718f64a22a
2022-06-23 05:41:06 +00:00
Xiaowen Lei
ce97eb6480 Merge "Add unit test to verify SmartSpaceComplicationViewHolder.getView() reuses view." into tm-qpr-dev 2022-06-17 16:45:06 +00:00
Ming-Shin Lu
a1671c040e Merge "Use isVisibleRequested to replace with isAnimating for IME picker dialog" into tm-qpr-dev 2022-06-17 16:24:45 +00:00
TreeHugger Robot
8bcab9fe8d Merge "Add OWNERS for notifications" into tm-qpr-dev 2022-06-17 15:03:00 +00:00
Julia Reynolds
631cba15f3 Add OWNERS for notifications
Test: TH build
Fixes: 236149805
Change-Id: If07dd854271bf2f89d5bfb7b5298497c74aa0518
2022-06-17 10:55:20 -04:00
Hongwei Wang
ff78e98ac9 Merge "Keep mCanAffectSystemUiFlags to be false while in PiP" into tm-qpr-dev 2022-06-17 02:23:42 +00:00
Jeff DeCew
ecb49e9d87 Merge "Clean up NotifCollection logging slightly." into tm-qpr-dev 2022-06-17 01:01:47 +00:00
Louis Chang
5a9a25e80b Merge "Update the activity current config only if it is reported" into tm-qpr-dev 2022-06-17 00:19:50 +00:00
Jeff DeCew
ae85446b82 Merge "When updating background colors in the shade, be sure to apply the reset to child rows." into tm-qpr-dev 2022-06-16 22:27:45 +00:00
An An Yu
9c50f7af8d Merge "Allow custom animations to run on ActivityEmbeddings and propagate custom backdrop color." into tm-qpr-dev 2022-06-16 22:09:41 +00:00
Ben Murdoch
c5c9c91706 Merge "Output a tracing instant when device state changes." into tm-qpr-dev 2022-06-16 22:02:00 +00:00
William Leshner
653d715c56 Merge "Disable the notifications status icon in dream status bar." into tm-qpr-dev 2022-06-16 20:58:31 +00:00
Jeff DeCew
fef313cf80 Merge "Move interrupt logs from NotifLog to NotifInterruptLog" into tm-qpr-dev 2022-06-16 20:16:00 +00:00
Jeff DeCew
05e9a7bdf9 Move interrupt logs from NotifLog to NotifInterruptLog
This reduces the log volume in the NotifLog, which was blocking lots of diagnostics.

Test: dumpsysui NotifInterruptog NotifLog
Bug: 236140753
Change-Id: Iadc0202678ccd2823e97fa4dce0a9db47bdef0e6
2022-06-16 20:14:34 +00:00
Jeff DeCew
7d2bee7b5a Clean up NotifCollection logging slightly.
Test: dumpsysui NotifCollection ShadeListBuilder
Bug: 236140753
Change-Id: I50c573969b3d012f8858058c6b3544e78874d35b
2022-06-16 19:36:05 +00:00
Jeff DeCew
483aff40f3 Merge "New Pipeline: isNewPipelineEnabled() is always true." into tm-qpr-dev 2022-06-16 19:18:11 +00:00
Hongwei Wang
e9f801e292 Keep mCanAffectSystemUiFlags to be false while in PiP
Introduced in ag/14105379 and it appears that a Window should not be
able to affect system ui flags when it's in PiP mode. Reset this flag
when we're leaving PiP mode.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dH4cGuTxpEYpm2myTNraJI
Bug: 234082669
Test: follow the reproduce steps in bug, see also the video \
      1. status bar does not flash when launch another app \
      2. status bar always visible when launch Settings \
      3. status bar turns back invisible when exiting to fullscreen
Change-Id: I4d64c19750e69a33ad9ec5962ee4e62320b921af
2022-06-16 12:15:30 -07:00
Hui Yu
9e578ed3ac Merge "Fix the missing history event problem." into tm-dev am: 25019b3782 am: f6743c032c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18582121

Change-Id: I94c52ccbdc1b734d16f3dc9f99023e7a17973000
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 18:32:18 +00:00
Richard (Torne) Coles
89bb59963b Merge "webview: add trace event for relro timeout." into tm-dev am: db243f1fe1 am: d8aa1435cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18888975

Change-Id: Iaa03ca1d269a4b3f9fc5bf19903a8d7212ff5f5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 18:32:05 +00:00
Hui Yu
f6743c032c Merge "Fix the missing history event problem." into tm-dev am: 25019b3782
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18582121

Change-Id: I2a47c4030779112265d957fe58f90136aa0c7831
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 18:07:13 +00:00
Richard (Torne) Coles
d8aa1435cb Merge "webview: add trace event for relro timeout." into tm-dev am: db243f1fe1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18888975

Change-Id: I9a06d3c492c8343d732a31186dea372adf515b8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 18:06:47 +00:00
Hui Yu
25019b3782 Merge "Fix the missing history event problem." into tm-dev 2022-06-16 18:03:26 +00:00
Richard (Torne) Coles
db243f1fe1 Merge "webview: add trace event for relro timeout." into tm-dev 2022-06-16 17:41:47 +00:00
Ben Murdoch
9d97e37ad5 Output a tracing instant when device state changes.
Also set the debug.tracing.device_state system property so that
tracing can determine the initial device state.

SELinux blocks the test app from setting a system property, so
refactor slightly to allow injection of a test implementation
that can also be used to verify the behavior.

Bug: 233041857
Test: Manual & atest com.android.server.devicestate.DeviceStateManagerServiceTest
Change-Id: Ice4e0059c19df9ef8bd814954f9865e68f8d2b17
2022-06-16 17:19:01 +00:00
Xiaowen Lei
f366ad5586 Add unit test to verify SmartSpaceComplicationViewHolder.getView() reuses view.
Bug: 235625099
Fix: 235625099
Test: atest SmartSpaceComplicationTest
Change-Id: I51fcca158812a159ff6f59e3e53b4098cfe4a699
2022-06-16 17:13:53 +00:00
Matt Pietal
1da65a9a11 Merge "Close panel immediately on launch animation end" into tm-dev am: dad4f1c9e8 am: f0cc36f393
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18912507

Change-Id: Icd06970d186812ca3b75ed0be54d5d0c818d34ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 16:55:40 +00:00
Matt Pietal
f0cc36f393 Merge "Close panel immediately on launch animation end" into tm-dev am: dad4f1c9e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18912507

Change-Id: Ida68811cd72c7b406fcaf1b5322f6d887d43baef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 16:38:59 +00:00
Matt Pietal
dad4f1c9e8 Merge "Close panel immediately on launch animation end" into tm-dev 2022-06-16 16:14:29 +00:00
Jeff DeCew
326701046b When updating background colors in the shade, be sure to apply the reset to child rows.
Bug: 227880269
Fixes: 235868877
Test: atest ExpandableNotificationRowTest
Change-Id: I10dae8dde98d94a629f4b8c1d99b4d4cd3a2d310
2022-06-16 16:10:03 +00:00
Peter Kalauskas
593ac5567c Merge "Introduce a flag for new back affordance" into tm-qpr-dev 2022-06-16 15:32:02 +00:00
Jeff DeCew
5d52946fc4 New Pipeline: isNewPipelineEnabled() is always true.
This just deletes Flags.NEW_NOTIFICATION_PIPELINE_RENDERING and returns true where it was used.

Merged-In: If2e36064a7b8dfc1f27ec046818ee68696a7e387
Change-Id: If2e36064a7b8dfc1f27ec046818ee68696a7e387
Test: attempt to disable flag; new pipeline stays on.
Bug: 200269355
2022-06-16 15:17:13 +00:00
Pablo Gamito
f81f314c4c Merge "Dump start and end transaction ids" into tm-qpr-dev 2022-06-16 14:58:54 +00:00
Ming-Shin Lu
ae6bb5a6d2 Use isVisibleRequested to replace with isAnimating for IME picker dialog
In CL[1] to fix IME picker dialog may still be selected as the focus window
when quick-switch to the next app from the IME layering target.

Since even though the dialog surface is attached to the app where the
surface hierarchy is lower than the next app, the dialog is a system window
where the window hierarchy is higher than the next app.

Previously we use isAnimating to check if the IME layering target is in
transition state, which may costly and not reliable.

In order to check if the IME layering target is leaving more efficiently,
use isVisibleRequested to replace with isAnimating state and it also
benefits when in shell-transition.

[1]: I771d9817cd6dfcb1bf0d576d94bea9d1b9adc80e

Bug: 212570341
Test: atest DisplayContentTests#\
    testImeMenuDialogFocusWhenImeLayeringTargetChanges
Test: manual, ensure Bug 195073688 won't happen with enabling
      shell-transition
Change-Id: I6857c13ab8bbd0ca84d0e145fc783d4e64b8dcee
2022-06-16 14:52:11 +00:00
Bryce Lee
1f784a0525 Merge "[Condition] Subscription Introduction" into tm-qpr-dev 2022-06-16 14:28:36 +00:00
Tiger Huang
0aa1b8ed79 Merge "Only create valid insets sources of display cutout" into tm-qpr-dev 2022-06-16 09:38:07 +00:00
Miguel Aranda
63148449ec Merge "Merge "Fix ZipFilePerfTest issues by closing the file in each loop iteration." am: 90c3935195 am: 9c051367f8 am: 4c2143df58 am: 10eceff1b1 am: b90b509fc7" into tm-dev am: 12e599047c am: a274f676be
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18910046

Change-Id: If0d865acedca310588dc41881ae90fd2ab7f8492
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 09:06:02 +00:00
TreeHugger Robot
eca2bac472 Merge "Update brightness nits to keep brightnessFloat same when RBC toggled" into tm-dev am: 2f8fc626c3 am: 06305bb550
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18889029

Change-Id: I60c17c12d2057cf29e54e30bc712dec910cf2b8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 09:05:55 +00:00
Miguel Aranda
a274f676be Merge "Merge "Fix ZipFilePerfTest issues by closing the file in each loop iteration." am: 90c3935195 am: 9c051367f8 am: 4c2143df58 am: 10eceff1b1 am: b90b509fc7" into tm-dev am: 12e599047c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18910046

Change-Id: Ib1503d95d824ba935640956f0f19fe3b786f978a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 08:40:29 +00:00
TreeHugger Robot
06305bb550 Merge "Update brightness nits to keep brightnessFloat same when RBC toggled" into tm-dev am: 2f8fc626c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18889029

Change-Id: I0f016f8e58c854cc4d7bbf9ecf92f2c215200f27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 08:39:51 +00:00
Miguel Aranda
12e599047c Merge "Merge "Fix ZipFilePerfTest issues by closing the file in each loop iteration." am: 90c3935195 am: 9c051367f8 am: 4c2143df58 am: 10eceff1b1 am: b90b509fc7" into tm-dev 2022-06-16 08:25:18 +00:00
TreeHugger Robot
2f8fc626c3 Merge "Update brightness nits to keep brightnessFloat same when RBC toggled" into tm-dev 2022-06-16 08:11:09 +00:00
Jeff Chang
7a499f6ca7 Merge "Update context object if split bounds changed" into tm-d1-dev am: bceb4a9e7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18881887

Change-Id: I5a49f69e880c025b324e8afc37f0fe40294ee823
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 05:51:39 +00:00
An An Yu
2bedc1d9f7 Allow custom animations to run on ActivityEmbeddings and propagate custom backdrop color.
Test: atest RemoteAnimationsControllerTest
Bug: 221048002

Change-Id: I801cc4700cf944da5acf9b92734153b56d46b655
2022-06-16 05:36:22 +00:00
Jeff Chang
bceb4a9e7d Merge "Update context object if split bounds changed" into tm-d1-dev 2022-06-16 05:25:24 +00:00
TreeHugger Robot
7c2c2000a0 Merge "Keep OEM defined DisplayAreaPolicy.Provider" into tm-dev am: bbecbbeeb0 am: e3113a0ccf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18869756

Change-Id: Ib7b4acde811a110fc3fb986688c9a31c94aab962
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 03:02:10 +00:00
TreeHugger Robot
e3113a0ccf Merge "Keep OEM defined DisplayAreaPolicy.Provider" into tm-dev am: bbecbbeeb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18869756

Change-Id: I9440cfa3b05cb7615cd6e733443b58c2e43957d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 02:44:31 +00:00
TreeHugger Robot
bbecbbeeb0 Merge "Keep OEM defined DisplayAreaPolicy.Provider" into tm-dev 2022-06-16 02:05:54 +00:00
Beth Thibodeau
a3dfcbed6f [automerger skipped] Merge "Forward device updates when info changes" into tm-dev am: a2b34c4c21 am: 4ee64c742b -s ours
am skip reason: Merged-In Iefd7ce0e8859b89db2bc75c243b3a04a0cb3915d with SHA-1 4c8144ee84 is already in history

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

Change-Id: I9fcf5789aa4e55273dbef8cb75890c46728904ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 01:19:12 +00:00
Beth Thibodeau
4ee64c742b Merge "Forward device updates when info changes" into tm-dev am: a2b34c4c21
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18878115

Change-Id: I6d43d20198da900da0db332abf1473129a340229
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 00:45:08 +00:00
Beth Thibodeau
a2b34c4c21 Merge "Forward device updates when info changes" into tm-dev 2022-06-16 00:17:04 +00:00