Wale Ogunwale
a45cbbff83
Merge "Remove Type.statusBars from compatInsetsTypes if FLAG_FULLSCREEN" into rvc-dev am: 0b237bb06f am: 1813474cc9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12157384
Change-Id: Iaadb1cae0d69410b6f20bdf360433c4c061e5c5a
2020-07-15 14:19:44 +00:00
Wale Ogunwale
2346053033
Merge "Remove Type.statusBars from compatInsetsTypes if FLAG_FULLSCREEN" into rvc-dev am: 0b237bb06f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12157384
Change-Id: I82021bdc4f4d737feda4a20febf532db9fa1c850
2020-07-15 14:03:48 +00:00
Wale Ogunwale
1813474cc9
Merge "Remove Type.statusBars from compatInsetsTypes if FLAG_FULLSCREEN" into rvc-dev am: 0b237bb06f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12157384
Change-Id: Ie7bbdf01416680dac708e47347d86718aa22336c
2020-07-15 14:03:34 +00:00
Wale Ogunwale
0b237bb06f
Merge "Remove Type.statusBars from compatInsetsTypes if FLAG_FULLSCREEN" into rvc-dev
2020-07-15 13:53:20 +00:00
Automerger Merge Worker
15544f58ea
Merge "Use clean calling identity to clear preferred activities am: 089b0bb4f9 am: e7b15792ec" into rvc-d1-dev-plus-aosp
2020-07-15 13:42:38 +00:00
Taras Antoshchuk
7cba0684db
Use clean calling identity to clear preferred activities am: 089b0bb4f9 am: e7b15792ec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12149990
Change-Id: I418378cf51fb2f41c614880c4af02b213769bf03
2020-07-15 13:42:24 +00:00
Taras Antoshchuk
ea39a4ada2
Use clean calling identity to clear preferred activities am: 089b0bb4f9 am: 18b130197e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12149990
Change-Id: I6ac1f2be24babfcd974c9810a431f239881c482d
2020-07-15 13:42:13 +00:00
Taras Antoshchuk
e7b15792ec
Use clean calling identity to clear preferred activities am: 089b0bb4f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12149990
Change-Id: If8219cd2f2263a7319be3693252f4557e81d2c2d
2020-07-15 13:31:38 +00:00
Taras Antoshchuk
18b130197e
Use clean calling identity to clear preferred activities am: 089b0bb4f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12149990
Change-Id: I850d6466d880f81ad2c67f94b49668bb7a7cf588
2020-07-15 13:31:25 +00:00
Anton Hansson
215c5ee28d
Remove always-empty variable
...
This has been empty since Ibdfe1cbf34d97c43f4857c2c5d7604fa72d5b5a4.
Test: m
Change-Id: I7ac973f82dc07fb74e0aae80c10a68d3ae6e1d72
2020-07-15 13:02:35 +01:00
Tiger Huang
0f310bdec8
Remove Type.statusBars from compatInsetsTypes if FLAG_FULLSCREEN
...
In the legacy layout world, if a window has FLAG_FULLSCREEN, then its
stable insets won't be affected by status bar. This CL makes the layout
logic compatible.
Fix: 160593171
Test: InsetsStateTest InsetsControllerTest ImeInsetsSourceConsumerTest
Change-Id: I59717e699470273e2462c1ad864e00bb9a126677
2020-07-15 19:00:19 +08:00
Taras Antoshchuk
089b0bb4f9
Use clean calling identity to clear preferred activities
...
In some cases we need to clear preferred activities for all users after
changing mimeGroups via PackageManager#setMimeGroup. This can result in
clearing preferred activities for non-current user. Which will cause
SecurityException if done without using clean calling identity.
Test: multiple users on device; atest CtsDynamicMimeHostTestCases
Bug: 161239297
Change-Id: I0a84702526ea5ab110aa44056d0407d106d079e3
2020-07-15 09:59:22 +00:00
Bill Yi
0dbd975880
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I54dee73642a369ad0a1bd8761ad0cc9a246340ee
2020-07-15 00:27:49 -07:00
Bill Yi
a1be3609f1
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I34f006fc66b6644919d01d017eca022626eaa895
2020-07-14 23:59:42 -07:00
Lucas Dupin
c8daad6962
DO NOT MERGE Fix broken test
...
We now expect one more section, given that media controls are always
enabled.
Test: atest NotificationSectionsFeatureManagerTest
Fixes: 161202319
Change-Id: I6d801d15789a1366e448b6a9b2cf372d7c43064c
2020-07-14 22:55:30 -07:00
Automerger Merge Worker
9c968e1c49
[automerger skipped] Merge "Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10" am: ce458af9d0 am: c067772d53" into rvc-dev-plus-aosp am: 18667cb22d -s ours
...
am skip reason: Change-Id I46ff439d43f64ff21ba5072a8533c60d2557bbb2 with SHA-1 26e679e8e4 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1360866
Change-Id: I96a607c55260cc75ea2976c3ea0576de64f8fdac
2020-07-15 01:55:47 +00:00
Evan Rosky
2031024be7
Merge "Finish supporting floating-IME alpha in split-screen" into rvc-dev am: 9c9434b30f am: b1e36dba36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12130198
Change-Id: I0a7c4f7fca1192cedbd006c03defb32783465646
2020-07-15 01:55:21 +00:00
Evan Rosky
8d381a4355
Merge "Finish supporting floating-IME alpha in split-screen" into rvc-dev am: 9c9434b30f am: 54545eb6c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12130198
Change-Id: I5aa5075279136f6921eb37991764e598a1153ed6
2020-07-15 01:55:00 +00:00
Automerger Merge Worker
18667cb22d
Merge "Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10" am: ce458af9d0 am: c067772d53" into rvc-dev-plus-aosp
2020-07-15 01:43:45 +00:00
Shuo Qian
8c5f2cca52
Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10" am: ce458af9d0 am: c067772d53
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1360866
Change-Id: I96234f53b9aefecdf1008103892597d7f960109c
2020-07-15 01:43:33 +00:00
Evan Rosky
54545eb6c3
Merge "Finish supporting floating-IME alpha in split-screen" into rvc-dev am: 9c9434b30f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12130198
Change-Id: Ie9cf58f7ce272c9736edcbe88f521cae6dcae509
2020-07-15 01:43:28 +00:00
Evan Rosky
b1e36dba36
Merge "Finish supporting floating-IME alpha in split-screen" into rvc-dev am: 9c9434b30f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12130198
Change-Id: Ic3bc0cbcaa5b32372e24f28dadda33bb9bf8820d
2020-07-15 01:43:26 +00:00
Makoto Onuki
a13287f573
Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs
...
Test: build / treehugger
Bug: 146727827
Exempt-From-Owner-Approval: Cherry-picking from goog/master to aosp/master
Merged-in: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
Change-Id: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
2020-07-15 01:36:38 +00:00
Shuo Qian
c067772d53
Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10" am: ce458af9d0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1360866
Change-Id: I752515c48c60be3168c352fc070fbe03195fec1a
2020-07-15 01:28:47 +00:00
Evan Rosky
9c9434b30f
Merge "Finish supporting floating-IME alpha in split-screen" into rvc-dev
2020-07-15 01:28:41 +00:00
Shuo Qian
ce458af9d0
Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10"
2020-07-15 01:15:57 +00:00
android-build-team Robot
03c1770cfc
Snap for 6680390 from f65210f9ca to rvc-release
...
Change-Id: I2524a6264588502cee36df4e6309780e7f4cc1fe
2020-07-15 01:07:06 +00:00
Shuo Qian
431b6f353e
Change the range of SS-RSRQ per 3GPP TS 38.133 section 10
...
Test: Doc changes; unit tests
Bug: 159761054
Change-Id: I46ff439d43f64ff21ba5072a8533c60d2557bbb2
Merged-In: I46ff439d43f64ff21ba5072a8533c60d2557bbb2
(cherry picked from commit 26e679e8e4 )
2020-07-15 00:27:57 +00:00
Evan Rosky
0d7686bffe
Merge "Reset Divider IME state when leaving split-screen" into rvc-dev am: 45e23b280b am: 50ec2f9c3d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12151562
Change-Id: I8311653c456e0057aad9ed6fa14bc5996fd5da61
2020-07-15 00:15:00 +00:00
Evan Rosky
253ab122e9
Merge "Reset Divider IME state when leaving split-screen" into rvc-dev am: 45e23b280b am: 0a2ada02f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12151562
Change-Id: If84627bf6cb94db41391202c7f345fbc9588ecf6
2020-07-15 00:14:51 +00:00
Evan Rosky
0a2ada02f2
Merge "Reset Divider IME state when leaving split-screen" into rvc-dev am: 45e23b280b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12151562
Change-Id: I5ab2278265f3fe198b51fa6a02e8619a96c89f55
2020-07-15 00:04:45 +00:00
Evan Rosky
50ec2f9c3d
Merge "Reset Divider IME state when leaving split-screen" into rvc-dev am: 45e23b280b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12151562
Change-Id: I115b072d7b7ede03dc8563d671537e4df7314c64
2020-07-15 00:04:35 +00:00
Evan Rosky
45e23b280b
Merge "Reset Divider IME state when leaving split-screen" into rvc-dev
2020-07-14 23:38:13 +00:00
TreeHugger Robot
c75dc87a24
Merge "Updated docs for IInlineSuggestionsRequestCallback.aidl." into rvc-dev am: f65210f9ca am: 382bbcdf4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12142032
Change-Id: I8596aaa194402e015d9eeaa2f2a12dccbbf0c758
2020-07-14 23:32:29 +00:00
TreeHugger Robot
92418bd4b4
Merge "Updated docs for IInlineSuggestionsRequestCallback.aidl." into rvc-dev am: f65210f9ca am: eecfa86e8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12142032
Change-Id: I38f4051f1f7735f89ef293063b6fd9d325d9d41b
2020-07-14 23:32:13 +00:00
TreeHugger Robot
eecfa86e8c
Merge "Updated docs for IInlineSuggestionsRequestCallback.aidl." into rvc-dev am: f65210f9ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12142032
Change-Id: Ib25405786ca9c20d602cd3082beb75fed2476cc9
2020-07-14 23:15:42 +00:00
TreeHugger Robot
382bbcdf4a
Merge "Updated docs for IInlineSuggestionsRequestCallback.aidl." into rvc-dev am: f65210f9ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12142032
Change-Id: I382fb6432282027e0042bc7d63b5eafc9bd86a24
2020-07-14 23:15:32 +00:00
TreeHugger Robot
f65210f9ca
Merge "Updated docs for IInlineSuggestionsRequestCallback.aidl." into rvc-dev
2020-07-14 23:02:42 +00:00
Treehugger Robot
3b61eb972d
Merge "Bluetooth: MCE: Add new API to set message read status or deleted status" am: ab98549022 am: 5cdec2e9d1 am: e63b8e9c80
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1212983
Change-Id: I2bbea50079b1a8d60167b71d56d9072dbb888cea
2020-07-14 21:58:58 +00:00
Treehugger Robot
e63b8e9c80
Merge "Bluetooth: MCE: Add new API to set message read status or deleted status" am: ab98549022 am: 5cdec2e9d1
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1212983
Change-Id: Ie09a4b1e54288b88bc829c6713172c1dbe1608a2
2020-07-14 21:39:51 +00:00
Treehugger Robot
5cdec2e9d1
Merge "Bluetooth: MCE: Add new API to set message read status or deleted status" am: ab98549022
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1212983
Change-Id: I4586c0e230795e8ceea851898d7affb8a292b3e4
2020-07-14 21:21:51 +00:00
Evan Rosky
46e68011e7
Finish supporting floating-IME alpha in split-screen
...
There are a couple situations that cause floating IME:
zero-sized frame due to fullscreenIme and the IME itself
providing a frame that doesn't generate insets.
This CL adds detection for an IME frame that doesn't provide
insets and it also allows the subsidiary IME processers (like
divider) to disable alpha animation. This is necessary because
when divider adjust for ime, there is no content behind the
ime, so we can't have it fade in/out; however, if the divider
doesn't adjust, we want the fade in/out so it matches the
ime behavior when not in split.
Bug: 160915523
Test: Use fullscreen IME as well as making gboard floating.
Open ime in either top or bottom for both cases.
Change-Id: If6fd192c6e7f843a958d98bf40c4d0866d818394
2020-07-14 14:21:40 -07:00
Automerger Merge Worker
b3504e1674
Merge "Merge "Fix arguments capture in SoundEffectsHelper" into rvc-dev am: cc91c675cf am: 7dd9dcc47d" into rvc-d1-dev-plus-aosp
2020-07-14 21:21:32 +00:00
TreeHugger Robot
018d6b9271
Merge "Fix arguments capture in SoundEffectsHelper" into rvc-dev am: cc91c675cf am: 7dd9dcc47d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12150230
Change-Id: I18e75f5a417e155541cd3e4f23010d9212399c16
2020-07-14 21:21:23 +00:00
TreeHugger Robot
e085dd72a1
Merge "Fix arguments capture in SoundEffectsHelper" into rvc-dev am: cc91c675cf am: 7e098c1798
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12150230
Change-Id: Ib1a4c2a96fdfe8b50cf7bb63533519b87067ad2c
2020-07-14 21:21:17 +00:00
Treehugger Robot
ab98549022
Merge "Bluetooth: MCE: Add new API to set message read status or deleted status"
2020-07-14 21:05:46 +00:00
TreeHugger Robot
7dd9dcc47d
Merge "Fix arguments capture in SoundEffectsHelper" into rvc-dev am: cc91c675cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12150230
Change-Id: I612a4db1bbee8c496c0aadefcf7063e5f38e1f93
2020-07-14 21:03:39 +00:00
TreeHugger Robot
7e098c1798
Merge "Fix arguments capture in SoundEffectsHelper" into rvc-dev am: cc91c675cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12150230
Change-Id: Idb5b028b3dd34b3d7c7de682499657d7273a796a
2020-07-14 21:03:31 +00:00
TreeHugger Robot
cc91c675cf
Merge "Fix arguments capture in SoundEffectsHelper" into rvc-dev
2020-07-14 20:46:32 +00:00
Evan Rosky
4f83ff47a9
Use keyguard state directly instead of trying to remember it
...
When updating the divider, this was using the last-remembered
hidden state of the dividerview. The only user of hidden state
was keyguard. Sometimes, split-screen would be dismissed
before keyguard was dismissed. In this situation, the divider
state wouldn't be updated properly. So, instead of trying
to use the potentially incorrect state, always just check the
keyguard directly to determine hidden state.
Bug: 161170237
Test: put 2 apps in splitscreen, lock screen, open emergency,
then unlock, go to splitscreen again, re-lock and see
no divider bar.
Change-Id: I470be161e6c712111549959b0f4471867d08a276
2020-07-14 13:42:06 -07:00