Taran Singh
4987048675
Merge "Fix InsetsConsumer leak" into rvc-dev am: 296855fe76 am: 85ba727a85
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11935094
Change-Id: I5ede4fa176aef12ff788893144a3a64191958976
2020-06-22 19:19:31 +00:00
Taran Singh
85ba727a85
Merge "Fix InsetsConsumer leak" into rvc-dev am: 296855fe76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11935094
Change-Id: Ib75a41ed810e430ba302cfca1fd2043f1d3941af
2020-06-22 19:13:18 +00:00
Taran Singh
296855fe76
Merge "Fix InsetsConsumer leak" into rvc-dev
2020-06-22 18:53:20 +00:00
Hongwei Wang
29afe59ac4
Merge "Updates enterPictureInPicture API doc" into rvc-dev am: 997150ee0a am: 4cac31dde3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10961377
Change-Id: If123c397d1b6ce7e0820b71fb1f41b8039267f8c
2020-06-22 18:39:21 +00:00
Hongwei Wang
b1d028531b
Merge "Updates enterPictureInPicture API doc" into rvc-dev am: 997150ee0a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10961377
Change-Id: I800000c876df75cac0d736b73f1daf99e545492b
2020-06-22 18:28:47 +00:00
Hongwei Wang
4cac31dde3
Merge "Updates enterPictureInPicture API doc" into rvc-dev am: 997150ee0a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10961377
Change-Id: Ic4d994aa3635098e269dc3e198a96ad84f976910
2020-06-22 18:27:57 +00:00
Treehugger Robot
4d88d35930
Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1" am: bdc57bef81 am: bb606cfc11 am: adeef01787
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1207444
Change-Id: I6e91c9036b5a8d705eb0e0ecd4963fc45fb9b340
2020-06-22 18:15:07 +00:00
Hongwei Wang
997150ee0a
Merge "Updates enterPictureInPicture API doc" into rvc-dev
2020-06-22 18:14:10 +00:00
Treehugger Robot
adeef01787
Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1" am: bdc57bef81 am: bb606cfc11
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1207444
Change-Id: I0e6cab7597bbdf12292feb7c5b8a03bcd05df7f8
2020-06-22 17:59:33 +00:00
Treehugger Robot
bdc57bef81
Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1"
2020-06-22 17:22:54 +00:00
Taran Singh
531404721f
Fix InsetsConsumer leak
...
Activity was still referred from ImeInsetsSourceConsumer after
ViewRootImpl's mView was destroyed when ViewRoot's surface is cleared
using die signal.
This CL makes sure we still free-up resources at die signal.
Fix: 157955883
Test: atest NexusLauncherTests
Change-Id: Ia48f7b7a8cf6b867ce75b2b7393a60ba73b0c3d0
2020-06-22 15:32:47 +00:00
TreeHugger Robot
92809870d0
Merge "Ignore onStartInput when WINDOW_FOCUS_GAIN_REPORT_WITH_SAME_EDITOR" into rvc-dev am: 70ad33113f am: 2d8df39d7c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11863061
Change-Id: I756f28edde2a871597dacfc8213f7b22b144ce46
2020-06-22 15:16:51 +00:00
TreeHugger Robot
d3a0198031
Merge "Ignore onStartInput when WINDOW_FOCUS_GAIN_REPORT_WITH_SAME_EDITOR" into rvc-dev am: 70ad33113f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11863061
Change-Id: I44a6add590bdc70b99201a2c0e517d0815b8f9b5
2020-06-22 15:01:26 +00:00
TreeHugger Robot
2d8df39d7c
Merge "Ignore onStartInput when WINDOW_FOCUS_GAIN_REPORT_WITH_SAME_EDITOR" into rvc-dev am: 70ad33113f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11863061
Change-Id: If8d0a8fc85b7c595665d6b6cfe1cc8d31889fb67
2020-06-22 14:59:51 +00:00
TreeHugger Robot
70ad33113f
Merge "Ignore onStartInput when WINDOW_FOCUS_GAIN_REPORT_WITH_SAME_EDITOR" into rvc-dev
2020-06-22 14:51:15 +00:00
Stanislav Zholnin
7f757a3006
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c am: 113387f309
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: Idd9acf7078c05270b99bf064702e92257ddc2496
2020-06-22 08:40:35 +00:00
Stanislav Zholnin
b234c0a600
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: I8fc36dcc5d7a1769e302735a1a613356329926ff
2020-06-22 08:25:18 +00:00
Stanislav Zholnin
113387f309
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev am: 7a65a7a37c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11930479
Change-Id: Iccfaf0a632131722b130b932796a0386fa5bd559
2020-06-22 08:25:11 +00:00
Stanislav Zholnin
7a65a7a37c
Merge "Prevent developer provided strings from being uploaded through statsd." into rvc-dev
2020-06-22 08:10:52 +00:00
Ming-Shin Lu
48bfc3165c
Ignore onStartInput when WINDOW_FOCUS_GAIN_REPORT_WITH_SAME_EDITOR
...
CL[1] introduces new WINDOW_FOCUS_GAIN_REPORT_ONLY flows to notify
InputMethodService only reports IME input target to WM when focusing to
the next window and its input connection remains.
Originally in android Q and prior devices, we don't need such report
mechnism but just skip to start new input connection and ignore
onStartInput / onFinishInput for the above use case.
Since starts from Android R, new IME insets control APIs relying on this
mechanism (see CL[2]) to keep the actual IME input target up-to-date.
As we expected there should be no new input connection and additional
onFinishInput when CL[1] landed.
However, in IMMS, startInputUncheckedLocked will be called
to callback additional onStartInput for InputMethodService, which mostly
is not expected, except when focusing the same window after device
turned screen on, we need to start input and callback onStartInput to
align with the behavior of android Q or the prior platform.
Besides, to have more clear code logic and debugging concept of
ignoring onStartInput and onFinishInput only when focused the same editor
with input connection remains, we remove WINDOW_FOCUS_GAIN_REPORT_ONLY
reason and introduced 2 more start input reasons to distinguish the
different behavior:
- WINDOW_FOCUS_GAIN_REPORT_WITH_SAME_EDITOR
- WINDOW_FOCUS_GAIN_REPORT_WITHOUT_EDITOR
[1]: I45a9814d812ad906f417c24200fd4219959e2423
[2]: I9e8984b7e5aa989a53ece9e2576393f795b9ef94
Fix: 158624922
Test: atest FocusHandlingTest InputMethodStartInputLifecycleTest
Test: manual as below steps:
1. Use Gboard, Open the emoji keyboard
2. Swipe down to reveal notification shade
3. Swipe up to dismiss notifications
4. Expect the Emoji keyboard is still open without close
Change-Id: I2da99ae67b9ce4051dec0c0f0e975ebe6e1ab118
2020-06-22 12:22:33 +08:00
TreeHugger Robot
d676060146
Merge "Revert "Fix transition return issues when more than 1 level depth"" into rvc-dev am: 48e9dc67f1 am: ba0db734e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936460
Change-Id: I22ad6b374f4f966e1fd2b02ac23caf7817bde105
2020-06-22 03:31:19 +00:00
TreeHugger Robot
35b794f35e
Merge "Revert "Fix transition return issues when more than 1 level depth"" into rvc-dev am: 48e9dc67f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936460
Change-Id: I9eb11d6ad4f4583269811ba77e8aa4b76f17c3e0
2020-06-22 03:18:55 +00:00
TreeHugger Robot
ba0db734e6
Merge "Revert "Fix transition return issues when more than 1 level depth"" into rvc-dev am: 48e9dc67f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936460
Change-Id: Ib88c1bfe684cf8bab47fde2b8771a120bf659726
2020-06-22 03:18:35 +00:00
TreeHugger Robot
48e9dc67f1
Merge "Revert "Fix transition return issues when more than 1 level depth"" into rvc-dev
2020-06-22 03:04:37 +00:00
TreeHugger Robot
67a920be4e
Merge "Camera: Adjust documentation and comments for insensitive language." into rvc-dev am: 8b3783c8e5 am: 1a4d6dcd73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936406
Change-Id: I08626e1a55fe1a01f23bac71c8b1146ea0a98365
2020-06-21 23:39:08 +00:00
TreeHugger Robot
1a4d6dcd73
Merge "Camera: Adjust documentation and comments for insensitive language." into rvc-dev am: 8b3783c8e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936406
Change-Id: I6378c940e5a94e9d2529a42f5b14130249bcb250
2020-06-21 23:14:10 +00:00
TreeHugger Robot
a6426587e0
Merge "Camera: Adjust documentation and comments for insensitive language." into rvc-dev am: 8b3783c8e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936406
Change-Id: Ia0a513bb6b827f41deffa9af9e2603b422b15122
2020-06-21 23:14:06 +00:00
TreeHugger Robot
8b3783c8e5
Merge "Camera: Adjust documentation and comments for insensitive language." into rvc-dev
2020-06-21 22:53:21 +00:00
TreeHugger Robot
727d5a2f14
Merge "Animate IME with zero insets" into rvc-dev am: cc498f3e69 am: 5208fccc52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829827
Change-Id: I58c014806c75aa48c8ada10ede61ecdacdec2823
2020-06-20 17:29:45 +00:00
TreeHugger Robot
e90e845c1c
Merge "Animate IME with zero insets" into rvc-dev am: cc498f3e69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829827
Change-Id: I26e9cda9554f917122ba9df96c851409677c5ba8
2020-06-20 17:19:08 +00:00
TreeHugger Robot
5208fccc52
Merge "Animate IME with zero insets" into rvc-dev am: cc498f3e69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829827
Change-Id: I6808eefe5773915286f641970f09970feb0a271a
2020-06-20 17:18:59 +00:00
Jeff Chang
79f5a49b3c
Revert "Fix transition return issues when more than 1 level depth"
...
This reverts commit 6d834d86fb .
Reason for revert: <http://b/159230864 WhatsApp image is visible after existing a chat>
Bug: 159230864
Change-Id: Ib266cff2e06a82ae9a0e85142ef80ae00328a040
2020-06-20 06:09:04 +00:00
Taran Singh
4291410118
Animate IME with zero insets
...
When IME has zero insets, it doesn't map to any side and doesn't have
can't be animated.
IME can have zero insets in following cases:
1. Floating IME
2. Fullscreen IME (in landscape)
3. IME doesn't overlap with IME target window.
In order to animate a type, it must have insets. We can animate IME
from negative insets to zero and vice-versa. This makes zero insets IME a
special case of ISIDE_BOTTOM.
Deprecate SIDE_FLOATING because it shouldn't logically map to a side.
Fix: 153909316
Test: atest WindowInsetsAnimationImeTests#testZeroInsetsImeAnimates
Change-Id: I6d1d3430888db4632cb2f93e9042f692b35ebaeb
2020-06-20 03:51:00 +00:00
TreeHugger Robot
9a56fc9d77
Merge changes I4fdf368e,Ibc6be890 into rvc-dev am: 48dc192499 am: 6affc2707b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11932511
Change-Id: I467cdc91b8747234fc21241b2a2753bee4871488
2020-06-20 00:24:05 +00:00
TreeHugger Robot
6affc2707b
Merge changes I4fdf368e,Ibc6be890 into rvc-dev am: 48dc192499
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11932511
Change-Id: I9e3ca572d985cd4486fd26eac54ff23670229cdb
2020-06-20 00:12:58 +00:00
TreeHugger Robot
04fb24d142
Merge changes I4fdf368e,Ibc6be890 into rvc-dev am: 48dc192499
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11932511
Change-Id: I31c9b6250db94def939b3e7a13eeab6e7b527808
2020-06-20 00:08:10 +00:00
TreeHugger Robot
48dc192499
Merge changes I4fdf368e,Ibc6be890 into rvc-dev
...
* changes:
SurfaceControlViewHost: Release ViewRoot from finalizer
SurfaceControlViewHost: Call doDie with true
2020-06-20 00:07:56 +00:00
Beth Thibodeau
c650c10758
[DO NOT MERGE] Support toggling resumption in Settings am: c1bc307bce am: b11486a94b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11817534
Change-Id: I126022bf27da392e0e8c5bdb20e35ea4f8b192cb
2020-06-19 22:43:44 +00:00
Beth Thibodeau
7a2dfd3422
[DO NOT MERGE] Support toggling resumption in Settings am: c1bc307bce
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11817534
Change-Id: Ie0520c407c27112a05049ef6627528e204ffdff2
2020-06-19 22:40:39 +00:00
Beth Thibodeau
b11486a94b
[DO NOT MERGE] Support toggling resumption in Settings am: c1bc307bce
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11817534
Change-Id: Ib1a556d8e8a7d24d049d62f6628ab38163b21c79
2020-06-19 22:40:24 +00:00
Beth Thibodeau
ab9e7facdf
Merge "[DO NOT MERGE] Support toggling resumption in Settings" into rvc-dev
2020-06-19 22:26:57 +00:00
Eino-Ville Talvala
14c753626e
Camera: Adjust documentation and comments for insensitive language.
...
Test: Builds
Bug: 159480149
Change-Id: I0daadbfa6505339bdcec4a49c6e4577424832f75
2020-06-19 15:26:39 -07:00
TreeHugger Robot
bb3ebce4c6
Merge "Save AsyncOps for later forwarding instead of SyncOps." into rvc-dev am: 7ec25249ab am: 319a6644f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11913241
Change-Id: I8f89868c1eaaf71238d4490bd68f540e8974b4fb
2020-06-19 22:02:13 +00:00
TreeHugger Robot
319a6644f3
Merge "Save AsyncOps for later forwarding instead of SyncOps." into rvc-dev am: 7ec25249ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11913241
Change-Id: I4a5f511e3739df3ef55070887bbe8929767e58d7
2020-06-19 21:43:33 +00:00
TreeHugger Robot
4b94dff328
Merge "Save AsyncOps for later forwarding instead of SyncOps." into rvc-dev am: 7ec25249ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11913241
Change-Id: I464f47c0f6ff9b6977abac65675b3ab2bbda1b59
2020-06-19 21:43:04 +00:00
TreeHugger Robot
7ec25249ab
Merge "Save AsyncOps for later forwarding instead of SyncOps." into rvc-dev
2020-06-19 21:29:40 +00:00
TreeHugger Robot
cea20b1589
Merge "Camera: Relax physical stream cropping behavior" into rvc-dev am: 08465447a2 am: aaee7513c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11457099
Change-Id: Iddd8017310ec515bc0d2877fe61bd9b4021a56d6
2020-06-19 21:27:35 +00:00
TreeHugger Robot
67d8e4ba14
Merge "Camera: Relax physical stream cropping behavior" into rvc-dev am: 08465447a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11457099
Change-Id: Ib9fc64d11cbc3efa8df08fcc0a422bdba677be88
2020-06-19 21:12:10 +00:00
TreeHugger Robot
aaee7513c7
Merge "Camera: Relax physical stream cropping behavior" into rvc-dev am: 08465447a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11457099
Change-Id: I826b131674313c5de03838709e97f1dc927b316c
2020-06-19 21:11:59 +00:00
TreeHugger Robot
08465447a2
Merge "Camera: Relax physical stream cropping behavior" into rvc-dev
2020-06-19 21:10:22 +00:00