TreeHugger Robot
0b2dbedeaa
Merge "Report WINDOW_FOCUS_GAIN_REPORT_ONLY when the served connection remains" into rvc-dev am: b121512580 am: 4f93e9c80c am: f3b9965750 am: bb8e0b922a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11686078
Change-Id: Ife20398017639b41019d3ee58e3179cf31b3da2e
2020-06-09 14:27:19 +00:00
TreeHugger Robot
f3b9965750
Merge "Report WINDOW_FOCUS_GAIN_REPORT_ONLY when the served connection remains" into rvc-dev am: b121512580 am: 4f93e9c80c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11686078
Change-Id: I37a0e10e7b9d84e2411636fdbfbbb43a9a6d2e8c
2020-06-09 14:08:44 +00:00
TreeHugger Robot
b121512580
Merge "Report WINDOW_FOCUS_GAIN_REPORT_ONLY when the served connection remains" into rvc-dev
2020-06-09 13:41:30 +00:00
Adrian Roos
8a931d7f08
Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev am: 5b12e07b9c am: 37afe34234 am: cbfdd45165 am: d49ab516fe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11632046
Change-Id: I5e7e7a5c229e2e6fd2e786545da392b18d7aff80
2020-06-09 09:25:03 +00:00
Adrian Roos
cbfdd45165
Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev am: 5b12e07b9c am: 37afe34234
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11632046
Change-Id: I14ae753f5a4f3bde05cca821c395964850b5f6f9
2020-06-09 08:49:31 +00:00
Adrian Roos
5b12e07b9c
Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev
2020-06-09 08:24:57 +00:00
Ming-Shin Lu
6ecbf08772
Report WINDOW_FOCUS_GAIN_REPORT_ONLY when the served connection remains
...
When we tried CL[1] to fix Gboard Translation UI dialog dismissed that
keeping the served view when focused to the next window,
although we can skip starting new input when the window focused back as
the behavior of Q,
However, we overlooked in R, IME insets will rely on IMS#reportStartInput
to get the updated IME input target, which will out of sync for the above
case.
To fix this regression, we report the next window focus gain
to IMMS with WINDOW_FOCUS_GAIN_REPORT_ONLY when the next focused view is
same as current served view and the served input connection remains.
so that in IMMS side won't get StartInputFlags.INITIAL_CONNECTION flags
to set restarting as false when calling IInputMethod#startInput to IMS,
and in IMS side will still call reportStartInput to WMS for updating
IME input target without additional onFinishInputView callback to
client.
[1]: I8d4fff94ba9313b773bc27fcbd019cc88580d3e9
Fix: 152373385
Bug: 155781821
Test: atest CtsInputMethodTestCases
Test: manual, make sure Bug 155781821 comment #10 works:
1) Launch video call in Hangouts.
2) End call.
3) Click on the text box.
4) Expect Soft-Keyboard shown
Test: make sure not break Bug 148489857 and Bug 148788569, following
auto / manual test to verify:
- Auto: atest FocusHandlingTest#testKeyboardStateAfterImeFocusableFlagChanged
- Manual:
1) Build / install EditTextVariations
2) Select menu -> Direct-Reply, make sure Notification comes up.
3) Tap EditText on Notification, verify soft-keyboard is visible.
Change-Id: I45a9814d812ad906f417c24200fd4219959e2423
2020-06-09 13:48:15 +08:00
TreeHugger Robot
e114dc0ce8
Merge "Fix NPE in InlineContentView" into rvc-dev am: 854b0d1a89 am: cc2d440d90 am: aa9b18aadf am: d57f28de3b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11784246
Change-Id: I7cb7bfd398755b78bb1371743356ad0587fc2d1f
2020-06-09 04:35:41 +00:00
TreeHugger Robot
aa9b18aadf
Merge "Fix NPE in InlineContentView" into rvc-dev am: 854b0d1a89 am: cc2d440d90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11784246
Change-Id: I2eacf1d3ef55fc80bcee86331fed062e20adc66c
2020-06-09 04:09:59 +00:00
TreeHugger Robot
854b0d1a89
Merge "Fix NPE in InlineContentView" into rvc-dev
2020-06-09 03:42:04 +00:00
Minche Li
8570d75ee6
Merge "Documentation cleanup for AccessibilityNodeInfo.ExtraRenderingInfo" into rvc-dev am: e85c54f39b am: 40d61d7ff9 am: 6752577d02 am: b7270392bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745990
Change-Id: I948517a6655ec9a46e8e7f7854925e69241d2256
2020-06-09 02:43:59 +00:00
Minche Li
6752577d02
Merge "Documentation cleanup for AccessibilityNodeInfo.ExtraRenderingInfo" into rvc-dev am: e85c54f39b am: 40d61d7ff9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745990
Change-Id: I1396123c1601a4eb194f84d54b8481154ffd0a23
2020-06-09 02:14:11 +00:00
Feng Cao
10e6217a8d
Fix NPE in InlineContentView
...
* The NPE is due to in the InlineContentView we try to reparent the
surface view which is no longer attached to the window, this can
happen if the InlineContentView is attached to window and then
immediately detached from the window, before the surface package
is returned from the remote view process.
* Release the surface package immediately in this case, so the
remote view can be released.
Test: atest android.autofillservice.cts.inline
Bug: 158139090
Change-Id: I9efdf8ba182a1d66334362edcfb6ba58fcdc222a
2020-06-08 18:52:21 -07:00
Minche Li
e85c54f39b
Merge "Documentation cleanup for AccessibilityNodeInfo.ExtraRenderingInfo" into rvc-dev
2020-06-09 01:46:08 +00:00
Joanne Chung
83ebf36a81
Merge "Handle SyncResultReceiver.TimeoutException" into rvc-dev am: 9856804eb2 am: 4a235e4bf2 am: d853673b5c am: 1d930502f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11489902
Change-Id: I5fc69b553035d1de9932776ee98f5ecc999723b0
2020-06-09 01:09:13 +00:00
Joanne Chung
d853673b5c
Merge "Handle SyncResultReceiver.TimeoutException" into rvc-dev am: 9856804eb2 am: 4a235e4bf2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11489902
Change-Id: I229a595052b53349a6a6ddab4df888e219afb5ef
2020-06-09 00:48:26 +00:00
Joanne Chung
9856804eb2
Merge "Handle SyncResultReceiver.TimeoutException" into rvc-dev
2020-06-09 00:21:44 +00:00
Yinglei Wang
d037df44c1
Merge "Fix RangeInfo RANGE_TYPE_PERCENT javadoc"
2020-06-08 23:01:28 +00:00
Automerger Merge Worker
5498819509
Merge "Merge "Insets: Fix stuck mPendingFrame" into rvc-dev am: 88e86e641a am: a50aa34d52 am: 35d0385fc8" into rvc-qpr-dev-plus-aosp am: 6d9feee263
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744899
Change-Id: I0733095872ff932a161b3db88670a50169c66b7f
2020-06-08 16:20:34 +00:00
TreeHugger Robot
35d0385fc8
Merge "Insets: Fix stuck mPendingFrame" into rvc-dev am: 88e86e641a am: a50aa34d52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744899
Change-Id: I15297675592d437714dc3abdc371c5e9094a427d
2020-06-08 15:52:19 +00:00
TreeHugger Robot
88e86e641a
Merge "Insets: Fix stuck mPendingFrame" into rvc-dev
2020-06-08 15:41:26 +00:00
Joanne Chung
c6adc68368
Handle SyncResultReceiver.TimeoutException
...
1.Change SyncResultReceiver.TimeoutException to checked exception
2.Handle the SyncResultReceiver.TimeoutException in AutofillManager,
ContentCaptureManager, ContentSuggestionsManager
3.Fix the bug we should throw e.rethrowFromSystemServer()
Bug: 156044027
Test: atest CtsAutoFillServiceTestCases
Test: atest ContentSuggestionsManagerTest
Test: atest CtsContentCaptureServiceTestCases
Change-Id: I959d2aca2b80866c076fae2520de66c123f5367d
2020-06-08 14:53:45 +08:00
Shawn Lin
1e6eea2617
Merge "Add a @hide ctr to disable background layer in ActivityView & SurfaceView" into rvc-dev am: c54d84a858 am: 2b2fb4e5fc am: 78c218618c am: 425c1973b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700783
Change-Id: I878f57a19c28fa062c5adf579e5184c0ee7e5e40
2020-06-08 04:41:45 +00:00
Shawn Lin
78c218618c
Merge "Add a @hide ctr to disable background layer in ActivityView & SurfaceView" into rvc-dev am: c54d84a858 am: 2b2fb4e5fc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700783
Change-Id: Ie406215ccf85c2c303883aab64e1a075ba23dd17
2020-06-08 03:58:06 +00:00
Shawn Lin
c54d84a858
Merge "Add a @hide ctr to disable background layer in ActivityView & SurfaceView" into rvc-dev
2020-06-08 03:34:20 +00:00
TreeHugger Robot
88be7c8e6e
Merge "Update textclassifier TEST_MAPPING file." into rvc-dev am: 78d74114aa am: 7b5d5fe082 am: 92703b9ab7 am: 491aff7b76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11754101
Change-Id: Iacc745fdb278afcf83d568ee4f442751fd551c02
2020-06-05 22:46:58 +00:00
TreeHugger Robot
7b5d5fe082
Merge "Update textclassifier TEST_MAPPING file." into rvc-dev am: 78d74114aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11754101
Change-Id: I2b0eaa02276062be874cb8e55414ac71a489aef6
2020-06-05 22:12:17 +00:00
TreeHugger Robot
78d74114aa
Merge "Update textclassifier TEST_MAPPING file." into rvc-dev
2020-06-05 21:56:34 +00:00
Joanne Chung
a0adc25387
Update textclassifier TEST_MAPPING file.
...
Add CtsTextClassifierTestCases and TextClassifierServiceTest into
presubmit.
Bug: 154961272
Test: atest --test-mapping frameworks/base/core/java/android/service/textclassifier
Test: atest --test-mapping frameworks/base/core/java/android/view/textclassifier
Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/textclassifier
Change-Id: I123eeb0ce11e2b159ebbf20fe81dc682cd347230
2020-06-06 01:49:27 +08:00
Adrian Roos
021f4a7140
Insets: Fix stuck mPendingFrame
...
Fixes an issue where the mPendingFrame was not properly cleared
if we re-applied the current frame.
Fixes: 156762386
Test: InsetsSourceConsumerTest
Change-Id: I9f0ebfafac44e1b4b87ea9d3408e64ba34bca2ec
2020-06-05 17:15:26 +02:00
Adrian Roos
8d04bcbc43
Insets: allow controlling insets as long as the window is covering in the relevant direction
...
Fixes: 154745615
Test: InsetsStateTest
Change-Id: I666a7eee82c15f0c5594c0acbd1a4f0186bcdc01
2020-06-05 14:46:14 +02:00
mincheli
bb8e4dcbcb
Documentation cleanup for AccessibilityNodeInfo.ExtraRenderingInfo
...
1. Mentioned the layout size could also be WRAP_CONTENT or MATCH_PARENT.
2. These API docs should be more generic that not mention the test tool.
Bug: 156961226
Test: none
Change-Id: I689bf4caf41bfe1fc09024777a87183d7211be05
2020-06-05 09:06:05 +00:00
shawnlin
ba532aff3e
Add a @hide ctr to disable background layer in ActivityView & SurfaceView
...
Bug: 152441717
Test: 1. Open bubble
2. adb shell dumpsys SurfaceFlinger
3. Check result
Change-Id: I3bda67bb56781eb75b51dc51f491a97efac7b4ef
2020-06-05 16:08:37 +08:00
Charles Chen
fe1d7d279d
Merge "Add an incorrect context violation on GestureDetector" into rvc-dev am: f843a85226 am: 2924e1eff0 am: 5ed808bef5 am: 6964c78cc8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11593841
Change-Id: Ib253c8eb605a6998bcbefb02604adcdd7d83d92b
2020-06-05 02:45:46 +00:00
Charles Chen
2924e1eff0
Merge "Add an incorrect context violation on GestureDetector" into rvc-dev am: f843a85226
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11593841
Change-Id: I0401ac40a7d2a51f3493a3029de2e2ab293509bb
2020-06-05 02:21:14 +00:00
Charles Chen
f843a85226
Merge "Add an incorrect context violation on GestureDetector" into rvc-dev
2020-06-05 02:08:48 +00:00
Joanne Chung
ae50c82e5d
Merge "Made AutofillId.withoutSession is testable."
2020-06-04 01:50:18 +00:00
yingleiw
5e3e39363d
Fix RangeInfo RANGE_TYPE_PERCENT javadoc
...
When use RANGE_TYPE_PERCENT, the min, max, current have values from 0 to
100. Talkback uses this definition, and
java/com/google/android/accessibility/switchaccess/ui/VolumeSlider.java
also uses this definition, so it is better to change the javadoc.
Test: not needed for javadoc change
Change-Id: I895f1f045d7a3978104a7948a5964a33de15f1bd
2020-06-03 15:43:08 -07:00
Robert Snoeberger
2948d93dae
Merge "Revert "Exception if receive move withouth down"" into rvc-dev am: b1d2c79448 am: 10ec898b25 am: da72ee3c05 am: 4a3a89811f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11694777
Change-Id: Idc276d91f167edc2c6dea7e7b5bb14e511467f77
2020-06-03 20:57:28 +00:00
Robert Snoeberger
da72ee3c05
Merge "Revert "Exception if receive move withouth down"" into rvc-dev am: b1d2c79448 am: 10ec898b25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11694777
Change-Id: I77e95fcc42c65c0adbcf01b5abedca3013c7b5d0
2020-06-03 20:31:49 +00:00
Robert Snoeberger
fef370ed9e
Merge "Revert "Exception if receive move withouth down"" into rvc-dev am: b1d2c79448
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11694777
Change-Id: I84c1bd4e1a48269e979df3f2fe3432b4516ee0d2
2020-06-03 20:19:36 +00:00
Robert Snoeberger
b1d2c79448
Merge "Revert "Exception if receive move withouth down"" into rvc-dev
2020-06-03 20:17:09 +00:00
Robert Snoeberger
0ef6f01bd1
Revert "Exception if receive move withouth down"
...
This reverts commit a0a20dc23b .
Reason for revert: This is causing a number of fatal crashes in SystemUI. See b/158081578, b/158057055, b/158060735, and b/158061923.
Fixes: 158081578
Fixes: 158057055
Fixes: 158060735
Fixes: 158061923
Change-Id: If7e6cd4ade3df540ba7d97d9265564132a235292
2020-06-03 20:15:44 +00:00
Joanne Chung
91c3c2a9f0
Made AutofillId.withoutSession is testable.
...
Bug: 156408900
Test: atest android.autofillservice.cts.inline.\
InlineAugmentedWebViewActivityTest
Change-Id: I27d1227f858aac83b3de1cb8ef719edf177524dc
2020-06-03 07:41:00 +00:00
TreeHugger Robot
e16da8b9fb
Merge "Fix AugmentedAutofillService onFillRequest() wrong focused AutofillId for WebView" into rvc-dev am: cc4f13e0ab am: b1fe173f1f am: 29db7bbc0f am: 24b1d00e4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700779
Change-Id: I2b2c652efef5e0bab8779044b03adf168209625a
2020-06-02 22:01:52 +00:00
TreeHugger Robot
29db7bbc0f
Merge "Fix AugmentedAutofillService onFillRequest() wrong focused AutofillId for WebView" into rvc-dev am: cc4f13e0ab am: b1fe173f1f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700779
Change-Id: I136fc09325e61766fcece3439c9ee4f41e442c57
2020-06-02 21:23:08 +00:00
TreeHugger Robot
b3af56c657
Merge "Fix AugmentedAutofillService onFillRequest() wrong focused AutofillId for WebView" into rvc-dev am: cc4f13e0ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700779
Change-Id: I5eab56b26b026787c9b1ee906f12ac1137be893d
2020-06-02 21:11:36 +00:00
TreeHugger Robot
cc4f13e0ab
Merge "Fix AugmentedAutofillService onFillRequest() wrong focused AutofillId for WebView" into rvc-dev
2020-06-02 20:54:18 +00:00
TreeHugger Robot
cc253794cf
Merge "Move TextureLayer into android.graphics"
2020-06-02 20:22:13 +00:00
Rob Carr
c28035a9e4
Merge "SurfaceView: Lock mDeferredDestroySurfaceControl" into rvc-dev am: 28fdf609dc am: 9f6a76be41 am: e2d843987f am: 5e211a2336
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11688831
Change-Id: Ib0084e842d7c347da4de7d5a05954194048e728f
2020-06-02 20:08:02 +00:00