Commit Graph

650864 Commits

Author SHA1 Message Date
Bill Yi
30ed56808d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2bf6a0e06c -s ours am: 8bc7d250c0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0853a448611c010bb2961d38b9bee3324ded1f69
2021-08-03 05:34:29 +00:00
Bill Yi
8bc7d250c0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2bf6a0e06c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaa0fc0971f4715971a28e77f5de2f0389cf68b9f
2021-08-03 05:29:25 +00:00
TreeHugger Robot
74117d4cf7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: d07084aa5a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifc6b661d1ac14df5fae564769d157c56db11f28e
2021-08-03 05:29:02 +00:00
TreeHugger Robot
d07084aa5a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-03 05:19:01 +00:00
TreeHugger Robot
913f57d41c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 6c9b2fc393 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5b2e1529902025f11aa7abe7a3d2c5d9e8db960e
2021-08-03 05:10:10 +00:00
Chris Li
3a39ccf93d Merge "Call with Shell transition for TRANSIT_KEYGUARD_OCCLUDE/UNOCCLUDE" into sc-v2-dev 2021-08-03 04:58:30 +00:00
TreeHugger Robot
6c9b2fc393 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-03 04:57:33 +00:00
TreeHugger Robot
c4c85214ad Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-03 04:50:41 +00:00
TreeHugger Robot
97a7d7edb5 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-03 04:35:54 +00:00
Shawn Lin
ac5c8d29f2 Merge "[DO NOT MERGE] Fixed LocalDisplayAdapterTest test failure" into sc-v2-dev 2021-08-03 04:19:16 +00:00
Bill Yi
3337455396 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8d4242aa046bd94364f15573c271a8f4db2356cd
2021-08-03 03:19:21 +00:00
Bill Yi
1cd73a062d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib14972fb3047cb1ef362e603d4141f8d20e522bf
2021-08-03 03:16:27 +00:00
Bill Yi
2bf6a0e06c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I760f028a35c3b74b79dd6ec1595a83931a6d996c
2021-08-03 02:43:40 +00:00
Louis Chang
3acc328b12 Merge "Sending TaskFragment token to client for the launching activity" into sc-v2-dev 2021-08-03 02:25:11 +00:00
Wei Sheng Shih
244416ae3f Merge "Showing starting window on freeform windowing mode." into sc-v2-dev 2021-08-03 01:37:29 +00:00
Mady Mellor
81ce27f854 Merge changes I500c566e,I4b5ffc26 into sc-v2-dev
* changes:
  Update the flyout width to be smaller on large screens
  Updates to manage button based on latest mocks
2021-08-03 01:07:12 +00:00
Winson Chiu
847ca37229 Merge "Revert "Only dump necessary info when specifying a package"" into sc-dev am: 7708fd9733
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15433531

Change-Id: I9333a7a285b4c8379352f65ac6b68044a8a31c11
2021-08-03 00:48:09 +00:00
Winson Chiu
7708fd9733 Merge "Revert "Only dump necessary info when specifying a package"" into sc-dev 2021-08-03 00:32:30 +00:00
Riddle Hsu
25f50a91e8 Merge "Associate starting window in task fragment with base task" into sc-v2-dev 2021-08-03 00:15:48 +00:00
Vishnu Nair
67ebbffe5f Merge "SurfaceView: Synchronize destframe updates with SurfaceView size changes" into sc-dev am: 40ddf958e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15363651

Change-Id: Ibb5b01b673814faac6e15e4bda80ff070d0f2928
2021-08-02 23:54:34 +00:00
Vishnu Nair
40ddf958e6 Merge "SurfaceView: Synchronize destframe updates with SurfaceView size changes" into sc-dev 2021-08-02 23:35:38 +00:00
Bill Yi
a017d8308f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8a1e99dabbfddb7880b0ed030a28b132f55ad38e
2021-08-02 23:11:24 +00:00
Bill Yi
984e09a179 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I986d98864f062b019498ea13b3ac2468bec5f4f9
2021-08-02 23:07:53 +00:00
Mady Mellor
3289ae9f64 Update the flyout width to be smaller on large screens
On phone we use 60% of the screen which is huge on
tablet. This change uses 30% of the screen for the
flyout on large screens & enforces a minimum for
that value.

Test: manual - get a long message in a bubble on a
               tablet, it should have similar width
               as it does on phone.
Bug: 186776550
Change-Id: I500c566edd9941dc2bd149692eaf95c6e6f4aa61
2021-08-02 14:03:01 -07:00
Emilian Peev
8cd46b20a3 Merge "Camera: Enable rotate and crop overrides" into sc-v2-dev 2021-08-02 20:54:12 +00:00
Joshua Mccloskey
1945ea1739 Merge "Set package name for learn more action" into sc-dev am: 308cc9919e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15332854

Change-Id: Iccd6e86ed05e1b3982cce8e898530c5180555ba7
2021-08-02 20:08:44 +00:00
Evan Severson
d07e9fab1a Merge "Restrict the mic and cam phone call ops when toggle is muted" into sc-dev am: b13bdd4ae2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15430629

Change-Id: I55d56cf93f8f7916296d931a7ed7180a0229df40
2021-08-02 20:08:29 +00:00
Joshua Mccloskey
308cc9919e Merge "Set package name for learn more action" into sc-dev 2021-08-02 19:59:32 +00:00
Evan Severson
b13bdd4ae2 Merge "Restrict the mic and cam phone call ops when toggle is muted" into sc-dev 2021-08-02 19:56:14 +00:00
Caitlin Cassidy
f67fa09cb9 Merge "[Dagger] Add BatteryMeterViewController. Future CLs will move Dependency.get calls from BatteryMeterView to this controller." into sc-v2-dev 2021-08-02 19:44:34 +00:00
Mady Mellor
ba35a77513 Updates to manage button based on latest mocks
- manage button should be inset from the expanded view edge
  but the menu should be flush with expanded view edge.
- button size is smaller (36dp instead of 40dp)
- more padding (16dp above / below on both tablet & phone)
- diff colour N1-800 instead of N1-900

Test: visual 1 - expand a bubble and look at 'manage' button
             2 - tap on the button and look at the menu
             3 - do 1 & 2 on tablet & in RTL & on phone
                 landscape
Bug: 183658858
Change-Id: I4b5ffc26602b72ee28d26476fc222df3e2e1e80b
2021-08-02 12:20:08 -07:00
Matt Pietal
db09474855 Merge "KeyguardViewMediatorTest - Flaky test fix" into sc-v2-dev 2021-08-02 18:31:05 +00:00
Riddle Hsu
efe9df6ff2 Associate starting window in task fragment with base task
The 2 cases when a fullscreen activity is launching with starting
window (step a), and it launches embedded activity before it is
drawn (step b): (assume X,Y are 2 different activities)
 1. a. Task - X (Fullscreen) - starting window
    b. Task - TaskFragment - X (Left side)
            - TaskFragment - Y (Right side) - starting window
 2. a. Task - X (Fullscreen) - starting window
    b. Task - TaskFragment X (Left side)
            - TaskFragment - Task - Y (Right side) - starting window
The starting window will be transferred to the top activity (so it
won't be covered by other embedded activity according to z-order)
of the base task with keeping the configuration of base task.

Another case is to bring the base task to front with snapshot
starting window. That will find all visible activities and share
the starting data to them. Then the starting window can be removed
until all visible embedded activities are drawn.

Bug: 189385912
Test: ActivityRecordTests#testStartingWindowInTaskFragment

Change-Id: Ia4c0f4142d49f9e6ac9c39980b1157c35069ec4e
2021-08-03 01:50:13 +08:00
Caitlin Cassidy
50f3e9ccd8 [Dagger] Add BatteryMeterViewController. Future CLs will move
Dependency.get calls from BatteryMeterView to this controller.

BatteryMeterView is used in QuickStatusBarHeader, KeyguardStatusBarView,
PhoneStatusBarView, and SplitShadeHeaderController, so
BatteryMeterViewController is added to the
controllers for those views.

Bug: 138786270
Test: atest and manual
Change-Id: I4d23a32d4ecda4f4327552b3703e9893ad544bdb
Merged-In: I4d23a32d4ecda4f4327552b3703e9893ad544bdb
2021-08-02 17:47:11 +00:00
TreeHugger Robot
876cf97cd0 Merge "Fix flickering when switched to the task without IME shown" into sc-dev am: 7f95e16a0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15182817

Change-Id: I32aaa41e4e7a9cbd657c8467d9e8f50f3c156f1b
2021-08-02 17:15:42 +00:00
TreeHugger Robot
7f95e16a0d Merge "Fix flickering when switched to the task without IME shown" into sc-dev 2021-08-02 16:59:45 +00:00
Fabian Kozynski
9daa540503 [automerger skipped] Merge "Fix index when moving SecurityFooter" into sc-dev am: d9f207c042 -s ours
am skip reason: Merged-In Ibc85cd5501010fcf9752d8af103500479c6f28c2 with SHA-1 e52042c878 is already in history

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

Change-Id: I2f1bad4b946a8e81f83ffea3ef2414f14c431208
2021-08-02 16:25:31 +00:00
Fabian Kozynski
d9f207c042 Merge "Fix index when moving SecurityFooter" into sc-dev 2021-08-02 16:15:39 +00:00
Matt Pietal
d4f5bde12f KeyguardViewMediatorTest - Flaky test fix
Keep new test changes isolated to the new test to avoid disruption
to the existing tests

Fixes: 195101353
Test: atest KeyguardViewMediatorTest

Change-Id: Ia7706ce8b3923c1bf4fccd3f15edf97c60893472
2021-08-02 11:32:09 -04:00
Ming-Shin Lu
7d9eb2b6f9 Fix flickering when switched to the task without IME shown
When switching tasks from the task has IME shown to another task
without showing IME (e.g. youtube apps.), the flickering might happen
because the next activity accidentally received the IME insets attached
in the previous activity.

If the IME is attached to one app window on that time, even the next
app window is behind the IME window, conceptually the window should
not receive the IME insets if the next window is not eligible IME
requester and ready to show IME on top of it.

Fix the logic in InsetsPolicy#adjustVisibilityForIme for the above
case.

Fix: 192337037
Bug: 194746204
Test: atest WindowStateTests#\
        testAdjustImeInsetsVisibilityWhenTaskSwitchIsAnimating
Merged-In: Ib3a1eacedd3763bcf1e6eed82e7efdf01c50b204
Change-Id: Ib3a1eacedd3763bcf1e6eed82e7efdf01c50b204
(cherry picked from commit f4eb054460)
2021-08-02 14:49:37 +00:00
TreeHugger Robot
201031b0eb Merge "Move FeatureFlags to flags package." into sc-v2-dev 2021-08-02 14:38:06 +00:00
Fabian Kozynski
94442f535f Merge "Make tests more robust" into sc-v2-dev 2021-08-02 13:34:16 +00:00
Beverly Tai
9d881ac1c1 Merge "If keyguard has preferred refresh rate, always use it" into sc-dev am: 72553d5124
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15432440

Change-Id: I17c0ee046f7d6ac8487dabb76d5354e8f4db83f0
2021-08-02 13:07:14 +00:00
Matt Pietal
cfcd14326e Merge "Password bouncer landscape fix" into sc-dev am: 1d3166e69d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15429525

Change-Id: Iebba984b76b2daa9b6b7c9a6444e94168e1e68dd
2021-08-02 13:06:50 +00:00
Beverly Tai
72553d5124 Merge "If keyguard has preferred refresh rate, always use it" into sc-dev 2021-08-02 13:01:58 +00:00
Matt Pietal
1d3166e69d Merge "Password bouncer landscape fix" into sc-dev 2021-08-02 12:54:28 +00:00
Wu Ahan
d6d30bf7f6 Merge "Support surface only instrumentation" into sc-v2-dev 2021-08-02 10:06:03 +00:00
Jason Hsu
c3e670559a Merge "Add the getter APIs to fetch the drawable / resId easily" into sc-v2-dev 2021-08-02 06:25:41 +00:00
Riddle Hsu
045adab7b6 Merge "Check task switch by comparing the previous top task" into sc-v2-dev 2021-08-02 06:10:45 +00:00
Louis Chang
332036a29e Sending TaskFragment token to client for the launching activity
Activity#onCreate is called before receiving the TaskFragment
appeared event in the client process. So, the client split
controller created another split and resulted in unexpected
behaviors.

Bug: 194860679
Test: start activity to side
Test: wm presubmit

Change-Id: Iac34bd39376940c5c0224c8687ad9858a4190e20
2021-08-02 09:42:36 +08:00