Commit Graph

648355 Commits

Author SHA1 Message Date
Quang Luong
f289bf2d8b [automerger skipped] Merge "Fix NPE on getTitle()" into rvc-dev am: b1bf7f55c0 am: 25d1e643ec -s ours
am skip reason: Merged-In I35bf6f5911dc0ee56e43af7faddaceb479362863 with SHA-1 c006ad915a is already in history

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

Change-Id: Ic7dbb441716e0cbbb6f7b34034c951d018e3d765
2021-09-30 15:42:04 +00:00
Quang Luong
4c7f7c1567 [automerger skipped] Merge "Fix NPE on getTitle()" into rvc-dev am: b1bf7f55c0 -s ours am: af87c9c134 -s ours
am skip reason: Merged-In I35bf6f5911dc0ee56e43af7faddaceb479362863 with SHA-1 af6f9ab235 is already in history

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

Change-Id: I7d122510fe91a2327cb58594ceba91675b23c12b
2021-09-30 15:40:11 +00:00
Quang Luong
25d1e643ec Merge "Fix NPE on getTitle()" into rvc-dev am: b1bf7f55c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15888884

Change-Id: I24fa6527a0b5727f5c1830d528dc86e27abf3c8b
2021-09-30 15:24:27 +00:00
Quang Luong
af87c9c134 [automerger skipped] Merge "Fix NPE on getTitle()" into rvc-dev am: b1bf7f55c0 -s ours
am skip reason: Merged-In I35bf6f5911dc0ee56e43af7faddaceb479362863 with SHA-1 af6f9ab235 is already in history

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

Change-Id: Iae2b535426d7ccd5b9f494d233931fa9da3b2b80
2021-09-30 15:24:16 +00:00
Quang Luong
b1bf7f55c0 Merge "Fix NPE on getTitle()" into rvc-dev 2021-09-30 15:12:59 +00:00
TreeHugger Robot
854b04130b Merge "RESTRICT AUTOMERGE: Fix snapshot starting window stuck if the task never gain focus" into sc-dev 2021-09-30 10:01:53 +00:00
TreeHugger Robot
1d814e9bef [automerger skipped] Merge "Fix NPE on getTitle()" into rvc-qpr-dev am: f25ee59fe9 -s ours
am skip reason: Merged-In I35bf6f5911dc0ee56e43af7faddaceb479362863 with SHA-1 f00f2203b5 is already in history

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

Change-Id: Ie166ab9143df6869dd1abe7a2800c70d178f178f
2021-09-30 04:23:17 +00:00
TreeHugger Robot
f25ee59fe9 Merge "Fix NPE on getTitle()" into rvc-qpr-dev 2021-09-30 04:10:52 +00:00
Yu-Han Yang
34835887dc Fix serialization bug in GpsNavigationMessage am: 8bcd86e662 am: 0fa0b6b222 am: 8ff472434b am: 5d7d2aa056 am: 75390af495
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878936

Change-Id: Ic3501f44c97c98a5a84fcaac34ce54ce45b21f22
2021-09-30 02:30:36 +00:00
Yu-Han Yang
4d9e85cb75 Fix serialization bug in GpsNavigationMessage am: 8bcd86e662 am: 0fa0b6b222 am: 8ff472434b am: 5d7d2aa056 am: 72b2ed3385
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878936

Change-Id: I132e3d2a66aa3227fbafa9ea2ec6cc44fa22aa32
2021-09-30 02:28:57 +00:00
Yu-Han Yang
75390af495 Fix serialization bug in GpsNavigationMessage am: 8bcd86e662 am: 0fa0b6b222 am: 8ff472434b am: 5d7d2aa056
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878936

Change-Id: Iacb607e1fdae66228b8237a2385c897c1942f43f
2021-09-30 02:12:15 +00:00
Yu-Han Yang
72b2ed3385 Fix serialization bug in GpsNavigationMessage am: 8bcd86e662 am: 0fa0b6b222 am: 8ff472434b am: 5d7d2aa056
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878936

Change-Id: I5bd84efdcac97e01377635ad55b8fdcd5d175893
2021-09-30 02:12:13 +00:00
Yu-Han Yang
5d7d2aa056 Fix serialization bug in GpsNavigationMessage am: 8bcd86e662 am: 0fa0b6b222 am: 8ff472434b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878936

Change-Id: I6715e92212e55df000c8dd19317c25b1b6a30304
2021-09-30 02:01:21 +00:00
Automerger Merge Worker
b9898b5b1b Merge "Fix serialization bug in GpsNavigationMessage am: a1b4297002 am: fb37bba744 am: 720c338bcb am: 6a9fff7078" into sc-dev 2021-09-30 01:52:24 +00:00
Yu-Han Yang
be3cf6bc94 Fix serialization bug in GpsNavigationMessage am: a1b4297002 am: fb37bba744 am: 720c338bcb am: 6a9fff7078
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878935

Change-Id: I412ff3619c82e6b32e3ddf15c28c4cd13368dab4
2021-09-30 01:51:58 +00:00
Yu-Han Yang
319c7fc460 Fix serialization bug in GpsNavigationMessage am: a1b4297002 am: fb37bba744 am: 720c338bcb am: 342a16b8f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878935

Change-Id: I1b0e5eaffd116e7e908d559e812107593eac39c4
2021-09-30 01:51:29 +00:00
Yu-Han Yang
8ff472434b Fix serialization bug in GpsNavigationMessage am: 8bcd86e662 am: 0fa0b6b222
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878936

Change-Id: I9bc3f5c810eacf619856e1e1098cb9f93f0348ec
2021-09-30 01:47:15 +00:00
Yu-Han Yang
342a16b8f1 Fix serialization bug in GpsNavigationMessage am: a1b4297002 am: fb37bba744 am: 720c338bcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878935

Change-Id: I178aea66605a479bbb70ca5873a07fae9a236990
2021-09-30 01:39:00 +00:00
Yu-Han Yang
6a9fff7078 Fix serialization bug in GpsNavigationMessage am: a1b4297002 am: fb37bba744 am: 720c338bcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878935

Change-Id: Ieaff32d10477cfd20226fbc0b8d0cb6860cb8961
2021-09-30 01:38:59 +00:00
Vishnu Nair
ad85547f8b Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-dev 2021-09-30 01:33:35 +00:00
Yu-Han Yang
0fa0b6b222 Fix serialization bug in GpsNavigationMessage am: 8bcd86e662
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878936

Change-Id: If118227062e72e21f88d7b68a786e2f9b7106a13
2021-09-30 01:32:59 +00:00
Yu-Han Yang
720c338bcb Fix serialization bug in GpsNavigationMessage am: a1b4297002 am: fb37bba744
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878935

Change-Id: I2f532f12080a955dc8c98eec5dc58592fb16cbc7
2021-09-30 01:26:50 +00:00
Yu-Han Yang
fb37bba744 Fix serialization bug in GpsNavigationMessage am: a1b4297002
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878935

Change-Id: I4150f4295f3a4fb0174a0f1175df678bba9a4dbe
2021-09-30 01:12:10 +00:00
TreeHugger Robot
c46a977d82 Merge "Fix serialization bug in GpsNavigationMessage" into rvc-qpr-dev am: c2c72dae24
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878933

Change-Id: I9030e8cced0b2b9879b377d9f3e62aed50022ccb
2021-09-30 00:11:52 +00:00
TreeHugger Robot
c2c72dae24 Merge "Fix serialization bug in GpsNavigationMessage" into rvc-qpr-dev 2021-09-30 00:01:09 +00:00
TreeHugger Robot
7b3e40dd63 Merge changes from topic "b196691596" into sc-dev
* changes:
  Separate refresh rate restrictions for different High Brightness Modes
  Limit refresh rates if skin temperature is high
2021-09-29 18:11:42 +00:00
Bill Yi
b0cde68ecf Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-29 17:09:50 +00:00
Bill Yi
75afb515a1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-29 17:09:06 +00:00
Daniel Solomon
46fff422b4 Separate refresh rate restrictions for different High Brightness Modes
Allow setting a different refresh rate for High Brightness Mode for HDR
and for Sunlight.

Bug: 196691596
Test: atest DisplayModeDirectorTest
Test: Manual:
      1. Ensure HBM for HDR takes presedence over HBM for Sunlight
      2. Ensure app refresh rate votes override bothHBM for Sunlight
Change-Id: I4a29c47f218046d0852178ad5dc7484a86ef8607
Merged-In: I4a29c47f218046d0852178ad5dc7484a86ef8607
2021-09-29 12:40:20 +00:00
Ming-Shin Lu
a4f760bee7 RESTRICT AUTOMERGE: Fix snapshot starting window stuck if the task never gain focus
The tasksnapshot starting window could stuck on task if the task never
gain focus, this could happen when launch multiple tasks to front, e.g.
split screen, or add snapshot starting window to a pip task.

As using task focus to judge the task snapshot removal may error-prone.
(i.e. unexpected window focus in/lost, non-focusable task window..)

To ensure the tasksnapshot removal works stable in this stage, extanding
MAX_DELAY_REMOVAL_TIME_IME_VISIBLE timeout from 450ms to 600ms
(Includes the worst time perviod from tasksnapshot drawn to the task window
focused around 150ms) would be safer and keeps the behavior of original
fixed Bug 192065018.

Bug: 201264769
Test: atest ActivityRecordTests
Test: manual launch apps from Recents.
Test: enter pip, power on/off, verify starting window is removed.
Test: manual enter split screen, verify starting window is removed.
Merged-In: Ieb5a5e781f5da4228cfc493031b4ad17f2d31a77
Change-Id: Ieb5a5e781f5da4228cfc493031b4ad17f2d31a77
2021-09-29 19:20:36 +08:00
Vishnu Nair
135c7f4c88 ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout
The opaque flag is necessary for the compositor to blend the layers
correctly and prevent translucent pixels from showing the layer
underneath during animations.

Test: manually punch holes in apps and verify opaque apps don't show the layer underneath
Test: automated tests to follow
Bug: 198924563
Change-Id: I1116c51b2efd4e9c0fe2acbca080291f3950245c
(cherry picked from commit f0ae9acf36)
2021-09-29 01:58:52 +00:00
Bill Yi
d98d166893 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I10fc5272aabfdcb940433d19dca2977acece3ba3
2021-09-29 00:26:58 +00:00
Bill Yi
2f8fd51b76 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1db9e1ee4f24934d64fea4b66a0cc102d70254d8
2021-09-28 23:50:11 +00:00
Bill Yi
0a8806d07d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45ed0eb4dd344e144d1e68c5333e7f5f88c9dabb
2021-09-28 20:27:17 +00:00
Long Ling
7e783bb071 Limit refresh rates if skin temperature is high
Stay at low refresh rates (0 to 60) if the thermal status is or above
THROTTLING_CRITICAL.

Bug: 171277171
Test: atest DisplayModeDirectorTest
Test: heat the device to CRITICAL and check the votes in dumpsys
      cool down the device to SEVERE and check the votes in dumpsys
Change-Id: I37b5b05a363a3d4f2ed3626109206863b664ba66
Merged-In: I37b5b05a363a3d4f2ed3626109206863b664ba66
2021-09-28 19:15:22 +00:00
Bill Yi
6e3c154990 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-27 14:32:51 +00:00
Bill Yi
4a8bd31415 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I793e9c105c36cedff7c6fabdd6c63187cbf04b76
2021-09-26 10:12:25 +00:00
Bill Yi
3820a903ef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia3b3ed03742e13e8990890d5948199cfa73713fd
2021-09-26 03:45:04 +00:00
TreeHugger Robot
d92e142ac4 Merge "RESTRICT AUTOMERGE: More improve IME transition during task switch" into sc-dev 2021-09-25 04:00:43 +00:00
Bill Yi
8cb6e80e2d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 22:31:38 +00:00
Bill Yi
d73fcd72c3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 22:31:16 +00:00
Bill Yi
24f4aada7a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 22:30:49 +00:00
Bill Yi
939547f7f5 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 20:23:34 +00:00
Bill Yi
08321e32d7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 18:45:28 +00:00
Bill Yi
4f66623be8 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 18:45:19 +00:00
Bill Yi
7be5cdf97d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 18:45:04 +00:00
Bill Yi
ee117b1fb6 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 17:12:10 +00:00
Bill Yi
8b4392e537 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 17:11:34 +00:00
Bill Yi
fbfd4edc65 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 17:10:46 +00:00
Matt Pietal
83d700c593 Handle duplicate DOWN event
After unlocking the device, an immediate swipe down to reveal the
shade (a very common user journey) can sometimes just directly to the
QS shade variant, instead of showing the expected QQS shade with
notifications. I have been unable to find root cause at this point,
however, I am aware that multiple ACTION_DOWN events are issued in
this case with the same downTime.

To fix, detect this very specific scenario and ignore the touch.

Fixes: 193350347
Test: manual, follow steps in bug (swipe down after unlock)
Change-Id: I84ba92fb0cf981b227afdff15cbe41c09ea56f5d
(cherry picked from commit 2e8d3e5e09)
2021-09-24 16:55:21 +00:00