Commit Graph

542466 Commits

Author SHA1 Message Date
Selim Cinek
eb70e1310a Fixed an issue where the Device output chip lost its alpha
Since the alpha is determined by the view state, the alpha
we set on the view was dropped. We now set it on the
constraintSet instead and ensure that the state is properly
loaded from the layout when measuring.

Fixes: 156875717
Test: Cast a player, observe device chip being faded
Change-Id: If3f856390542113aaac668799d9b019e064ec909
2020-06-12 19:04:42 -07: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
Automerger Merge Worker
f1cba5ba81 Merge "Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 2a30ca9e17" into rvc-d1-dev-plus-aosp am: 3f67c4c42b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: Id87320f1de330f2d363b222a6fb909f03b83a14c
2020-06-13 01:57:59 +00:00
Automerger Merge Worker
57cbc12826 Merge "Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 5a78574e55 am: 93fa5e4ac8" into rvc-qpr-dev-plus-aosp 2020-06-13 01:57:32 +00:00
Sudheer Shanka
f95144dce2 Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 5a78574e55 am: 93fa5e4ac8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: I4356dc8a21b2af4215666b724b362cc8c0fb6f5c
2020-06-13 01:57:16 +00:00
Sudheer Shanka
e2a0c8c227 Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 5a78574e55 am: f81117f0d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: I85278455a3d1954853e67fda011df3fcbc6d292c
2020-06-13 01:57:11 +00:00
Qi (wangqi) Wang
d0292964f3 Make underlying SurfaceView respect visibility of InlineContentView.
SurfaceView doesn't respect its ancestor's visibility change, so we need
a OnPreDrawListener listener to update it according to visibility change
in the view hierarchy.

Bug: 158714351

Test: verified locally

Change-Id: I7d6a7db48e037ed7d4ec2ecb23a158e8d1c43240
2020-06-12 18:53:34 -07:00
Xiangyu/Malcolm Chen
b6d1814cef Merge "Fix bug that notifyDisplayInfoChanged is notified on wrong record" am: 5821bbc6e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1331803

Change-Id: I27caffd81ca9c1a9579831e35d5bf971ee69e7e9
2020-06-13 01:51:55 +00:00
TreeHugger Robot
77d0f42ff9 Merge "Dark grey overflow in dark mode" into rvc-dev 2020-06-13 01:49:25 +00:00
Automerger Merge Worker
3f67c4c42b Merge "Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 2a30ca9e17" into rvc-d1-dev-plus-aosp 2020-06-13 01:40:58 +00:00
Sudheer Shanka
3918f4fc26 Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 2a30ca9e17
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: I0920e00760458595b2fc52ecdfed75ae13f27961
2020-06-13 01:40:51 +00:00
Sudheer Shanka
93fa5e4ac8 Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 5a78574e55
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: If06778ab64e0207ea7af9869fb22bc831c5a0b4e
2020-06-13 01:40:39 +00:00
Sudheer Shanka
f81117f0d8 Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e am: 5a78574e55
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: Iaf5645d296bac01b4eeba74699c9471552ff8e14
2020-06-13 01:40:38 +00:00
Xiangyu/Malcolm Chen
5821bbc6e5 Merge "Fix bug that notifyDisplayInfoChanged is notified on wrong record" 2020-06-13 01:34:03 +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
Sudheer Shanka
2a30ca9e17 Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: Ie52ea68c064d9e62913bfb149241cc832189c2cf
2020-06-13 01:22:38 +00:00
Sudheer Shanka
5a78574e55 Merge "Move RevocableFileDescriptor creation outside the locked section." into rvc-dev am: 51540fe05e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744166

Change-Id: Ic678cea2b0cf25da77a5e6893c4b664bc81dede0
2020-06-13 01:22:25 +00: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
Selim Cinek
7d284a29fd Fading in edit button much later
It was causing overlap with the rest of the items, so we're
fading it later now.

Bug: 157175224
Test: visual, expand panel, observe no overlap
Change-Id: I757a3d69fc0cc941eab33279ea85ec9f1e7b547a
2020-06-12 18:15:44 -07:00
Eugene Susla
f60eb75498 Exempt companion apps from auto revoke
Bug: 153607914
Test: associate a package, and ensure its toggle is turned off
Change-Id: I13125df7e91a1f41548400e9be9e05e2359436a4
2020-06-12 18:14:49 -07:00
Ben Lin
0a6d6154b3 PiP: Animate resize even if the bounds are the same.
On PiP resize animation, we have callbacks that show menu, set PiP to
the correct state, etc. Even if the bounds are the same (which is
possible if the user has resized the largest possible bound and taps on
it), we should still just let the animator do its job so all the
post-animation callbacks are correctly executed.

Bug: 158859217
Test: Resize PIP to max, wait for a new video to come in (current video
finishes playing), tap on PIP - menu displays

Change-Id: I37e669918434b9cfa1cd24356170ddb760092b00
2020-06-12 18:13:42 -07: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
chaviw
ce12f8517e Don't set relative z of window to IME if starting window
If a window is a starting window, it shouldn't get relative z to IME
since we don't want to change its z order.

Test: Split screen with pip and opening new app in split
Test: WindowStateTests#testNeedsRelativeLayeringToIme_startingWindow
Fixes: 158762203
Change-Id: I0be39285a96bc6458e077b772d0315be6075e0b0
2020-06-12 17:47:51 -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
Ryan Mitchell
12ea87c81d Revert "Add multi-user support for AutoTileManager"
This reverts commit 29d65f5e3d.

Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?testMethod=testChangeUserCallbacksStoppedAndStarted&testClass=com.android.systemui.statusbar.phone.AutoTileManagerTest&atpConfigName=apct%2Fsystem_ui%2Funit_test-cloud-tf&testModule=&fkbb=6585473&lkbb=6585683&lkgb=0&testResults=true&badBuildCount=8&branch=git_rvc-dev-plus-aosp&target=aosp_cf_x86_phone-userdebug, bug b/158866689

Bug: 158866689
Bug: 154607890
Change-Id: Ia928824c17edf66675cc448cdcef305530e74010
Merged-In: I518334cca0a0960e0b3b74b43ac9fce4610c7bd0
2020-06-13 00:08:11 +00:00
TreeHugger Robot
68fdb2b115 Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev am: a840c1f3ea am: a447125c3f am: 09488c364c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838105

Change-Id: I30f4ea29956442210f0269a9d8c552a005a34914
2020-06-12 23:46:59 +00:00
Hall Liu
6adb24daee Merge "Throw exception from addServiceAnnouncement impl" am: a179e9f6e7 am: 15b0dc5eb3 am: dd1aa9dc92 am: e9fd2d379e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322368

Change-Id: Idba9220be79e490ef8f50815794e138ea93c454e
2020-06-12 23:46:50 +00:00
Automerger Merge Worker
3bf68b06c8 Merge "Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585" into rvc-dev-plus-aosp am: 5fb38bc9e8 am: f472fd2aee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838961

Change-Id: I5eb66736f0b8c9cedfae2b099ab5af5c185f8153
2020-06-12 23:46:37 +00:00
Automerger Merge Worker
e8796a5cb0 Merge "Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev am: a840c1f3ea am: 8070800916 am: c2007599d7" into rvc-qpr-dev-plus-aosp 2020-06-12 23:45:34 +00:00
TreeHugger Robot
8b2c7503cb Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev am: a840c1f3ea am: 8070800916 am: c2007599d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838105

Change-Id: I140e2b2190a124da3158994acfbd99856b05f313
2020-06-12 23:45:26 +00:00
Hall Liu
a3f94996ed Merge "Rename addServiceAnnouncement-related methods" am: 6f68b4bf53 am: c31fa35b94 am: c6fc7c6ca8 am: e3966e111a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1311925

Change-Id: I2da68b6a552555c777116c95408d11ceb8d22c82
2020-06-12 23:45:09 +00:00
Youngjun Kwak
cfcc7fae13 Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev am: d42606d7c4 am: a9a8a815a1 am: cb3fb6960e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838963

Change-Id: I0dc671a63c19f7517e4e7c571383bf7db3b23909
2020-06-12 23:44:45 +00:00
Automerger Merge Worker
a011e572d2 Merge "Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585 am: ea1c4eeb2d am: 29034d3f88" into rvc-qpr-dev-plus-aosp 2020-06-12 23:44:22 +00:00
Shuo Qian
e05ffaceaa Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585 am: ea1c4eeb2d am: 29034d3f88
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838961

Change-Id: I67bbb3cfc391088279d0e9bf322e9c6c390bdc85
2020-06-12 23:44:14 +00:00
TreeHugger Robot
784385f4b6 Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev am: a840c1f3ea am: 8070800916 am: ad8d6ad319
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838105

Change-Id: I0bb67cca9b35edb0315264237be1940d5c94a968
2020-06-12 23:44:10 +00:00
Automerger Merge Worker
f573c4596b Merge "Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585 am: ea1c4eeb2d am: 9bf3b2df05" into rvc-qpr-dev-plus-aosp 2020-06-12 23:44:07 +00:00
Shuo Qian
f7e3127922 Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585 am: ea1c4eeb2d am: 9bf3b2df05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838961

Change-Id: I8f5410da88642ad9c7dea2de8d5ce7013846ad8d
2020-06-12 23:43:58 +00:00
Automerger Merge Worker
ed4b2ad2c3 Merge "Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev am: d42606d7c4 am: 1f8448a087 am: 3031eff247" into rvc-qpr-dev-plus-aosp 2020-06-12 23:43:57 +00:00
Youngjun Kwak
707710e9f1 Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev am: d42606d7c4 am: 1f8448a087 am: 3031eff247
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838963

Change-Id: I60788e5e09a03a4ed79effc83fa280c120b40207
2020-06-12 23:43:49 +00:00
Youngjun Kwak
e7af0f5a58 Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev am: d42606d7c4 am: 1f8448a087 am: a2c606b73b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838963

Change-Id: I30bfd6dcb2c0e3ee8d9af3b651993069357e4b2d
2020-06-12 23:43:45 +00:00
TreeHugger Robot
09488c364c Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev am: a840c1f3ea am: a447125c3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838105

Change-Id: I926a8bd2cdf95d96e33d715dba4991852db70ba0
2020-06-12 23:40:19 +00:00
Hall Liu
e9fd2d379e Merge "Throw exception from addServiceAnnouncement impl" am: a179e9f6e7 am: 15b0dc5eb3 am: dd1aa9dc92
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322368

Change-Id: Iae3aa41b0ad069da5d0bc227466f1aaad8b7743a
2020-06-12 23:40:11 +00:00
Automerger Merge Worker
f472fd2aee Merge "Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585" into rvc-dev-plus-aosp am: 5fb38bc9e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838961

Change-Id: I421ddbf6025eeab1e70df175bfbccb22efa87edc
2020-06-12 23:39:40 +00:00
Hall Liu
e3966e111a Merge "Rename addServiceAnnouncement-related methods" am: 6f68b4bf53 am: c31fa35b94 am: c6fc7c6ca8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1311925

Change-Id: I486951766ac2765053812a5c3fb04e8295ec61b3
2020-06-12 23:38:54 +00:00
Youngjun Kwak
cb3fb6960e Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev am: d42606d7c4 am: a9a8a815a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838963

Change-Id: I0635cb91b997dd2d82bc155a1a620495219ab7e4
2020-06-12 23:38:31 +00:00
TreeHugger Robot
c2007599d7 Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev am: a840c1f3ea am: 8070800916
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838105

Change-Id: If836f5e3b6da092ae09505bd627c65d805080c74
2020-06-12 23:34:53 +00:00