Commit Graph

479840 Commits

Author SHA1 Message Date
Bill Yi
0edbd7bf02 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4ee30f50c8fc9ad7a9884eb5403a070f2ca40be0
2020-06-14 01:24:36 +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
Alex Mang
e2baab7640 Updating StatusBar people avatar sources
- ShortcutInfo now pulled from ranking
- Attempts to grab shortcut icon from launcherapps if not already present
- Checks message icon before checking for large icon

Bug: 157080798
Change-Id: Ibb68de60589f0c501335224d7127c6af972c28b9
2020-06-12 18:27:53 -07:00
Michael Wachenschwanz
1a7f7ab4aa Add BlobStore atoms
Bug: 144155167
Test: atest android.cts.statsd.atom.UidAtomTests
Change-Id: I650dfdf6e2f7b6fff29ba6fdf5010a151fd503b5
2020-06-13 01:17:17 +00:00
Sudheer Shanka
51540fe05e Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev 2020-06-13 01:12:05 +00:00
Muhammad Qureshi
89358feae4 Fix testMultipleConditions flake
Use vector<int> instead of vector<bool>.
vector<bool> is not thread-safe:
https://en.cppreference.com/w/cpp/container#Thread_safety

Fixes: 156690351
Test: atest --iterations=500
statsd_test:MultiConditionTrigger#TestMultipleConditions

Change-Id: I9121747ffbee0864afbff993e7fe417104827952
2020-06-12 18:09:34 -07:00
Antonio Kantek
8403a13752 Enabling New Insets API with Multi-Session IME.
New insets based IME requires windows manager to properly link the
assocaited IME window token against the target window token.

Test script:
Step 1: Patch this CL on rvc-dev repo
Step 2: Build and flash Hawk
Step 3: Build and install a sample multi-client IME
  make -j MultiClientInputMethod
  adb install -r $OUT/system/priv-app/MultiClientInputMethod/MultiClientInputMethod.apk
Step 4: Enable multi-client IME for the side-loaded sample multi-client IME
  adb root
  adb shell setprop persist.debug.multi_client_ime com.example.android.multiclientinputmethod/.MultiClientInputMethod
  adb reboot
Step 5: Open KitchenSync app, select carboard, enter text on Plain Text
tab (sample multi-session keyboard doesn't support numeric keyboard yet)

Bug: 123718661
Test: manual (see test script above)
Change-Id: I2a27c0da3a243d9cb3c98541531396cd9ff819a0
2020-06-12 18:02:44 -07:00
Tej Singh
61f869e7bb Incident dump does not include current bucket
This is to avoid value metrics skipping buckets due to
DUMP_REPORT_REQUESTED, since if the metric needs to include the current
bucket under time constraints and needs to pull, it will drop the bucket
since it cannot pull.

Test: atest statsd_test
Bug: 158879346
Change-Id: Ia61e69530456ce2b3530add03ec6e068ffb25fb5
2020-06-12 17:25:17 -07:00
Selim Cinek
2a1cab1192 Changed the landscape experience of quick settings
When introducing Media into quick settings, the landscape
experience never really worked well. The music player
would be cut off on the bottom and users could never
reach their playback controls.
Instead of the vertical layout, we're now rendering
quick settings side by side with the player.

Using some densities, this could still be too large,
so we're also introducing a scrollview for the
expanded quick settings.
This also makes sure all the paddings and spacings
are up to spec.

This also fixes behavior where a user could still collapse
the panel while the user switcher was showing.

Bug: 154332040
Test: atest SystemUITests
Change-Id: I3b8babc2cc6a91e19824b67f043aa5044dc370b9
2020-06-12 16:26:53 -07:00
TreeHugger Robot
a840c1f3ea Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev 2020-06-12 23:08:13 +00:00
Jack Yu
e7580a7238 Fixed unreadble debug messages
Fix: 158875554
Test: Manual
Change-Id: I8aa45474521e4ef5e2368ab25c6c39445e9f779c
2020-06-12 16:06:47 -07:00
Shuo Qian
46ff383585 Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev 2020-06-12 22:58:53 +00:00
Youngjun Kwak
d42606d7c4 Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev 2020-06-12 22:58:25 +00:00
Jerome Gaillard
2a38a35622 Revert "Remove IME surface when occured in multi-window mode"
This reverts commit 460dabda46.

Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?testMethod=testTopPositionSwitchOnTapTimeoutDifferentProcess&testClass=android.server.wm.lifecycle.ActivityLifecycleTopResumedStateTests&atpConfigName=cts%2Fframework%2Fgce-presubmit-wm-cloud-tf-3&testModule=CtsWindowManagerDeviceTestCases&fkbb=6585261&lkbb=6585728&lkgb=6581565&testResults=true&badBuildCount=13&branch=git_rvc-qpr-dev-plus-aosp&target=aosp_cf_x86_phone-userdebug, bug b/158836294

Bug: 158836294
Change-Id: Iec015564030658845a5b1262c23c5b72570af9cf
2020-06-12 22:45:20 +00:00
Lyn Han
79d10bfa49 Dark grey overflow in dark mode
Update overflow visibility after setup
Remove BubbleOverflow#getBtn (same as getIconView)

Bug: 158482996
Test: manual => Turn on dark mode
             => Pointer & overflow button/activity use same grey

Change-Id: I0f9c7d8e6dc1ac77e8601f42527f75b1b4e9ef1d
2020-06-12 15:42:04 -07:00
Lyn Han
38694c298c Merge "Hide manage menu in overflow" into rvc-dev 2020-06-12 22:38:38 +00:00
TreeHugger Robot
bbc0eda204 Merge "Hide IME on touching down on a Bubble." into rvc-dev 2020-06-12 22:26:01 +00:00
Kweku Adams
bcdd5c5321 Merge "Offload initial headless app query to handler thread." into rvc-dev 2020-06-12 22:16:44 +00:00
TreeHugger Robot
0b2bb19db4 Merge "Add SafetyNet logging for b/79776455" into rvc-dev 2020-06-12 21:35:27 +00:00
TreeHugger Robot
92b6167fc8 Merge "Avoid unexpected screen off during perf testing" into rvc-dev 2020-06-12 21:30:27 +00:00
Lyn Han
50645b6d8c Hide manage menu in overflow
Fixes: 158669549
Test: manual: manage menu hides in overflow
Change-Id: I6ad6aaced05102be7ed238bf82cd54be1ca23c69
2020-06-12 21:16:04 +00:00
Selim Cinek
516b6dfcc4 Fixed an issue where the media player would shift when editing QS
Because we were pinning it to the bottom, the player would shift
and be clipped off at times.

Bug: 154332040
Test: add media player, click on edit, observe no flicker
Change-Id: I56ea3eeecad22a588b7066f32223631127024bfe
2020-06-12 14:08:11 -07:00
Josh Tsuji
e5c1670ae3 Merge "Ignore failing tests." into rvc-dev 2020-06-12 21:07:33 +00:00
Josh Tsuji
f2c8551644 Hide IME on touching down on a Bubble.
This fixes the issue where the dragged-out bubble and the dismiss target rendered under the IME. It also improves animations all-around since it starts the IME animation earlier (vs waiting for ACTION_UP).

While the IME does hide earlier, once your finger is on a Bubble, there is nothing you can do that would not hide the IME anyway - dragging it out hides it, and if you lift your finger, you'll either switch bubbles or collapse the stack, both of which hide the IME.

Test: have IME, drag out bubble
Fixes: 158861545
Change-Id: I903897eca3c516bc953cbd70ab2102bbc4a81a4f
2020-06-12 17:05:06 -04:00
kwaky
12930e8ddc Hide UserSwitchTransitionView if it is not hidden within timeout.
This prevents being stuck in the Loading screen even if the proper
User Lifecycle event was not broadcast.

Test: Unit Tests + Manual -- Verify that the UserSwitchTransitionView is
hidden after the timeout threshold when the UserLifecycleEvent listener
is not registered.
Bug: 158705895

Change-Id: I895f04bda395bac271b01fbb414a8bf484348324
2020-06-12 14:01:24 -07:00
Josh Tsuji
72e12cb417 Ignore failing tests.
Test: this is a test
Fixes: 158853915
Change-Id: I7824f2c93ce345072e7e9f1992573d88b5a49469
2020-06-12 20:55:36 +00:00
Beth Thibodeau
e4c1cb514c Merge "Check connection state of media browser" into rvc-dev 2020-06-12 19:57:41 +00:00
Miranda Kephart
1e23e8e274 Merge "Check for null service in ScreenshotHelper" into rvc-dev 2020-06-12 19:56:36 +00:00
Beth Thibodeau
a56a27a943 Merge "Remove controls when apps are stopped or removed" into rvc-dev 2020-06-12 19:36:27 +00:00
TreeHugger Robot
b7b425e491 Merge "Make A11yServiceConnection PendingIntent immutable." into rvc-dev 2020-06-12 19:29:09 +00:00
Lyn Han
f3e7dfe156 Merge "Up char limit for dismiss option in manage menu" into rvc-dev 2020-06-12 19:10:26 +00:00
Kevin Chyn
6a9945a3c8 Add SafetyNet logging for b/79776455
Test: Auth is not started after lockdown or reboot
Fixes: 79776455
Change-Id: I9df6cb7fa59a611f81baf4f368df208598f3de3a
2020-06-12 12:04:24 -07:00
TreeHugger Robot
6bf0b87946 Merge "Internal version of isChangeEnabled." into rvc-dev 2020-06-12 18:54:22 +00:00
Winson Chung
3800919656 Merge "Restore overlay change broadcast handler for secondary users" into rvc-dev 2020-06-12 18:46:51 +00:00
Andy Hung
8cda481f5b Merge "statsd: Add audio device usage protos." into rvc-dev 2020-06-12 18:23:03 +00:00
TreeHugger Robot
12b5186f28 Merge "Notify window manager service that we are switching users" into rvc-dev 2020-06-12 18:21:20 +00:00
Mady Mellor
fe96fa8b19 Merge "Fix an obscure NPE" into rvc-dev 2020-06-12 18:20:44 +00:00