Commit Graph

479888 Commits

Author SHA1 Message Date
Beverly
8c736aa4f9 Set PageIndicator pages in QSPanel#onMeasure
Pre-emptively update PageIndicator's numPages before measuring in
QSPanel so that views will be appropriately measured. Previously, new
PageIndicator child views would be added in the middle of a QSPanel layout pass
after already being measured, so the new PageIndicator child wouldn't be
measured.

Test: manually add and remove new QS tiles. rotate between landscape +
portrait modes. observe the PageIndicator is correct.
Fixes: 157542221

Change-Id: Ic1bb29039dd12993a50758bf48a4ad792d8cdfc3
2020-06-15 15:51:42 +00:00
TreeHugger Robot
3fb94d8e9d Merge "Add logging on sharesheet displayList to help investigate issue that icons launch different apps unexpectedly." into rvc-dev 2020-06-15 12:12:07 +00:00
TreeHugger Robot
ccd0d1e05d Merge "Fix testGlobalActions_doesntStealImeControl" into rvc-dev 2020-06-15 11:11:56 +00:00
TreeHugger Robot
65ddf5fa17 Merge "Compare letterbox and bar content frame with the same rotation" into rvc-dev 2020-06-15 10:59:15 +00:00
TreeHugger Robot
40bdc176e1 Merge "Fix advanced icon will incorrect on some device" into rvc-dev 2020-06-15 10:31:33 +00:00
Wei Sheng Shih
67a056a94c Merge "Fix the root task of secondary split screen could be overwritten." into rvc-dev 2020-06-15 09:45:02 +00:00
Riddle Hsu
ee5df39e93 Merge "Finish fixed rotation of recents until transition is done" into rvc-dev 2020-06-15 09:43:53 +00:00
Louis Chang
e873ed3290 Merge "Wait for all of associated activities done animating" into rvc-dev 2020-06-15 09:43:24 +00:00
Wei Sheng Shih
17efbc6266 Merge "Moving all hierarchy chain to top when adjust focusable task." into rvc-dev 2020-06-15 09:43:05 +00:00
Hyundo Moon
e7ae494759 Merge "Clear preferred feature when unregistering MediaRouter2" into rvc-dev 2020-06-15 09:38:23 +00:00
Lorenzo Colitti
242087ad3e Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices." into rvc-dev 2020-06-15 09:06:29 +00:00
Tiger Huang
ac4e36b948 Merge "Let position of system bars can be restored by swipe" into rvc-dev 2020-06-15 08:54:46 +00:00
Hugh Chen
c06745b3d3 Fix advanced icon will incorrect on some device
Use the fixed value to locate the center of icon instead
of use value of density. Because the value of density will
different between the device according the resolution.

Bug: 156689249
Test: build pass
Change-Id: I6d3a53e68058232871dd281ec4736179090a6580
2020-06-15 16:04:38 +08:00
TreeHugger Robot
c944f5e947 Merge "Revert "Only add divider when it need to show"" into rvc-dev 2020-06-15 07:59:00 +00:00
TreeHugger Robot
ec09667201 Merge "Don't lock rotation to natural rotation when entering overview" into rvc-dev 2020-06-15 07:05:25 +00:00
Tony Huang
3dd2b93add Revert "Only add divider when it need to show"
This reverts commit a0ee06083c.

Reason for revert: Cause cf devices cts tests failed

Bug: 158836294
Change-Id: I5b439cf1aaee51f0c6d2e7e7e8d73487ec851648
2020-06-15 06:47:10 +00:00
TreeHugger Robot
316f0d3604 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-15 05:51:51 +00:00
TreeHugger Robot
b637ab0e38 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-15 05:50:22 +00:00
Yanting Yang
2db442459a Merge "Update mainline module utils function of AppUtils" into rvc-dev 2020-06-15 02:59:12 +00:00
wilsonshih
046523ce96 Moving all hierarchy chain to top when adjust focusable task.
Find a issue that when a background app crashed, the top focus
task would also changed because of AMS trigger resumeTopActivities.
However there should be nothing changed.

For some tasks like home or split screen, because they can be more
than one layer of task-to-container structure, so when adjusting
focus task, we should move the whole chain to the top of it's
container.
Also update preferred top focusable stack in
TaskDisplayArea#positionChildAt so the API can be more identical.

Fixes: 157393169
Test: atest ActivityRecordTests
Test: atest ActivityLifecycleTopResumedStateTests
Test: atest MultiDisplayPolicyTests
Change-Id: Ibf86f375ac91a50a013cfa7a7ea19e571a0a0d61
2020-06-15 01:50:03 +00:00
Louis Chang
242be90516 Wait for all of associated activities done animating
Fixed rotation transform was finished and continued
to update the orientation when transferring the
starting window, which was before the activity ready to
show and caused flickers. This can happen while trampoline
activities were started during app launch.

This also fixes other flickers that happens when the
fixed rotation launching app's animation finished
before other associated activities.

Bug: 157446341
Test: atest DisplayContentTests AppWindowTokenTests
Change-Id: Ibeb50edc7dfd9dddffe2c420fde92c1ebb70ed37
2020-06-15 09:11:24 +08:00
Louis Chang
5463497bed Merge "Deliver latest intent extras to recents" into rvc-dev 2020-06-15 00:53:56 +00:00
Song Hu
f473e42f96 Add logging on sharesheet displayList to help investigate issue that icons launch
different apps unexpectedly.

Bug: 158172791
Test: manual test on the phone
Change-Id: I003b83f6a76dca2f97cfd43b2f265ad572f0e5c5
2020-06-14 14:50:54 -07:00
Bill Yi
ded92e2dc8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4c1d3548690832aa1ef73149dd17b2b087daaa1d
2020-06-14 21:01:37 +00:00
Josh Tsuji
5bef1eb6da Merge "Avoid bad animation states." into rvc-dev 2020-06-14 20:00:56 +00:00
Bill Yi
d4e9808001 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I96a1e755ee621f7a313d4660d56b78fc5295a040
2020-06-14 19:47:32 +00:00
TreeHugger Robot
1e5e8ecad1 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-14 06:16:28 +00:00
TreeHugger Robot
bcec292d51 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-14 05:42:08 +00:00
TreeHugger Robot
a9912b7e6b Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-14 05:40:09 +00:00
TreeHugger Robot
96860e0ecc Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-14 05:25:29 +00:00
Bill Yi
0091ec712c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I44853f7ac781ca461feb6e816344cbfdb545c874
2020-06-14 03:17:24 +00:00
Bill Yi
d573d464cb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I9deb7a8ca2a4fd931bd822badc7ae920696b3cd9
2020-06-14 01:47:21 +00:00
Bill Yi
0edbd7bf02 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4ee30f50c8fc9ad7a9884eb5403a070f2ca40be0
2020-06-14 01:24:36 +00:00
Bill Yi
1cced45622 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I70495288266b7fab214742fc409f2014760d86e8
2020-06-13 23:54:24 +00:00
TreeHugger Robot
a80c586d4f Merge "Add back missing tidy_checks, since tidy_checks_as_errors isn't enough" into rvc-dev 2020-06-13 22:39:03 +00:00
TreeHugger Robot
893cb7835b Merge "Use tidy_checks_as_errors list instead of -warnings-as-errors=*" into rvc-dev 2020-06-13 22:38:57 +00:00
Michael Wachenschwanz
38da493ae4 Merge "Add BlobStore atoms" into rvc-dev 2020-06-13 09:17:54 +00:00
TreeHugger Robot
5c4b92a1b9 Merge "Fix testValueMetric flake" into rvc-dev 2020-06-13 06:38:22 +00:00
TreeHugger Robot
7fc567f7a3 Merge "decouple Bubble from NotificationEntry" into rvc-dev 2020-06-13 03:57:31 +00:00
Sooraj Sasindran
06e61f7cd5 Merge "Add hidden API to support allowed networks reason" into rvc-dev 2020-06-13 03:14:37 +00:00
TreeHugger Robot
e62f9e767b Merge "Updating StatusBar people avatar sources" into rvc-dev 2020-06-13 02:56:37 +00:00
TreeHugger Robot
ecb9cfe093 Merge "Fix testMultipleConditions flake" into rvc-dev 2020-06-13 02:42:54 +00:00
TreeHugger Robot
09419a8129 Merge "Enabling New Insets API with Multi-Session IME." into rvc-dev 2020-06-13 02:42:14 +00:00
Pinyao Ting
d07c2deaf0 decouple Bubble from NotificationEntry
1. decouple Bubble from NotificationEntry
2. save title from Bubble into BubbleEntity
3. copied boolean values from NotificationEntry into Bubble for UI
variants (e.g. isVisuallyInterruptive, isClearable,
shouldSuppressNotificationDot... e.t.c)

Bug: 151474524
Change-Id: I606c6ff93b3dc3867b4d0a6129d7117d9999c170
Test: manual
2020-06-12 19:27:25 -07:00
TreeHugger Robot
9ff2625493 Merge "Fixed unreadble debug messages" into rvc-dev 2020-06-13 02:23:16 +00:00
TreeHugger Robot
298dd714eb Merge "Incident dump does not include current bucket" into rvc-dev 2020-06-13 02:07:02 +00:00
Selim Cinek
3a8b73a881 Merge changes I3b8babc2,I56ea3eee into rvc-dev
* changes:
  Changed the landscape experience of quick settings
  Fixed an issue where the media player would shift when editing QS
2020-06-13 02:01:08 +00:00
TreeHugger Robot
77d0f42ff9 Merge "Dark grey overflow in dark mode" into rvc-dev 2020-06-13 01:49:25 +00:00
Muhammad Qureshi
de28706dd2 Fix testValueMetric flake
Don't skip buckets with MULTIPLE_SKIPPED_BUCKETS reason for pushed
metric that is not diffed.

Fixes: 156690892
Test: atest --rerun-until-failure=100
CtsStatsdHostTestCases: android.cts.statsd.metric.ValueMetricsTests#testValueMetriccts.statsd.metric.ValueMetricsTests#testValueMetric
Change-Id: Ic14198d38ab63d99700a4df9e9e7ae04181f5139
2020-06-12 18:33:38 -07:00
Sooraj Sasindran
7e4cd920e7 Add hidden API to support allowed networks reason
Add hidden API to support allowed networks type for
specific reason like power.

Bug: 156709797
Test: system test
Change-Id: If4424d7d94ac26ad31725a1658dad5751d0d2629
2020-06-12 18:31:37 -07:00