Commit Graph

542466 Commits

Author SHA1 Message Date
Sungsoo Lim
ca2e42f5c9 Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258

Change-Id: Ia56961f82b2d889a3d3ba129bd4fbae8374f6363
2020-06-22 06:38:14 +00:00
Sungsoo Lim
63861415e8 Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev am: 7bfb0c31bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926258

Change-Id: Ie64625601ff92b170ffd6427590c703c5a469fc5
2020-06-22 06:37:59 +00:00
lifr
ad14a26c2c Correct the name of enum UserType item
Test: Run statsd_testdrive
Bug: 153942334
Change-Id: Ibefb4a9c03ae0bf3ea9cd2ce186223860aa42e74
2020-06-22 14:34:50 +08:00
Mike Yu
64ffa1762f Merge "Support DNS-over-TLS probes in NetworkDiagnostics" 2020-06-22 06:31:36 +00:00
Automerger Merge Worker
e68319dbf8 Merge "Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506 am: f84eb3dd51 am: 90e246303b" into rvc-qpr-dev-plus-aosp 2020-06-22 06:27:43 +00:00
Ryan Lin
96fb2ba58b Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506 am: f84eb3dd51 am: 90e246303b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: Ic8825f7e104e3be899f1e2adc56c3b6b9433c8f1
2020-06-22 06:27:37 +00:00
Ryan Lin
81d0e86933 Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506 am: 2478e17af0 am: fb038c928e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: I935e1d43502bc63c62e433605404fbfd5776d79a
2020-06-22 06:27:35 +00:00
Automerger Merge Worker
e31895baf6 Merge "Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd am: 8f70c6d7ba am: 9ed69bd2f5" into rvc-qpr-dev-plus-aosp 2020-06-22 06:27:33 +00:00
TreeHugger Robot
2abd78c49d Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd am: 8f70c6d7ba am: 9ed69bd2f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: Ibda902963ddb7b4e403c4b3f2f5fcb2a1839f961
2020-06-22 06:27:27 +00:00
TreeHugger Robot
6201c25a10 Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd am: faea9c3065 am: d778a46d77
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: Ib2cfd9685dfbe6b70659f05e4b41b8e58ddd1e38
2020-06-22 06:27:24 +00:00
Ryan Lin
9fc5ffa05c Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506 am: 2478e17af0 am: 4754237a8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: Iecfb9a0424f59461a2d0ed33c0bda19f09022347
2020-06-22 06:27:13 +00:00
TreeHugger Robot
8fb2b0a146 Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd am: faea9c3065 am: 21be5a4571
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: Ibdd7ce9ead57a7970baa312bacfad2b84b6f7c5d
2020-06-22 06:26:56 +00:00
Sungsoo Lim
7bfb0c31bf Merge "Prevent unnecessary call of setBluetoothA2dpOn(false)" into rvc-dev 2020-06-22 06:23:42 +00:00
Ryan Lin
fb038c928e Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506 am: 2478e17af0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: I82a97945bb0df09a63837f17fc58e31dfd2e97f5
2020-06-22 06:14:57 +00:00
Ryan Lin
90e246303b Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506 am: f84eb3dd51
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: Ie4e5610c4dabd728b7f4334cde74dbc251eb27a7
2020-06-22 06:14:57 +00:00
TreeHugger Robot
d778a46d77 Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd am: faea9c3065
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: I8368ea4fd7e331973ad1489103dfa9a72e54b25d
2020-06-22 06:14:50 +00:00
TreeHugger Robot
9ed69bd2f5 Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd am: 8f70c6d7ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: Id814cbac805357b2108aa5ae738c716772846dba
2020-06-22 06:14:48 +00:00
Ryan Lin
4754237a8e Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506 am: 2478e17af0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: I2feb47f8ea7c98fd428abb1a804b1c6c46c0d54a
2020-06-22 06:14:40 +00:00
TreeHugger Robot
21be5a4571 Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd am: faea9c3065
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: Ief238516700e51fcafb884c28ef4ee80b6c123c3
2020-06-22 06:14:30 +00:00
Ryan Lin
2478e17af0 Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: I83c0ba6672e2fb7b3ebf0629cae8699163dbd293
2020-06-22 06:02:39 +00:00
Ryan Lin
f84eb3dd51 Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev am: d531e28506
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: I64af785ed705fb5c0564cbac534856af5f907a2f
2020-06-22 06:02:28 +00:00
TreeHugger Robot
8f70c6d7ba Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: Ib1849589c5c6cfe24cad67414ea0ced38c274c81
2020-06-22 06:02:10 +00:00
TreeHugger Robot
faea9c3065 Merge "Reduce device fallback to just icon" into rvc-dev am: 1d53e823fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936396

Change-Id: I02141e8a72175a5995c93f951bdf9b73d9a48eb8
2020-06-22 06:01:56 +00:00
Ryan Lin
d531e28506 Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev 2020-06-22 06:01:19 +00:00
TreeHugger Robot
1d53e823fd Merge "Reduce device fallback to just icon" into rvc-dev 2020-06-22 05:53:52 +00:00
Kyunglyul Hyun
eb7f914d68 Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9 am: 387622bd1d am: 2af20b1c89
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: Ib3cdbc808a0875a1452d7cf23441581b4b6b298e
2020-06-22 05:32:29 +00:00
Kyunglyul Hyun
eb7ea74d20 Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9 am: 460ba3e6e5 am: 15728f110d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: Id19a3cea3c26efb3ebf6401f361c103a07eb423e
2020-06-22 05:32:17 +00:00
Kyunglyul Hyun
de27fdfecb Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9 am: 387622bd1d am: d7243c4e39
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: Ib862ba2f86fcfd10326845320be2344a34688686
2020-06-22 05:32:06 +00:00
Kyunglyul Hyun
2af20b1c89 Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9 am: 387622bd1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: Ic8bbd5cb219dba68b1343d420b7d344fcf0a0b4c
2020-06-22 05:21:27 +00:00
Kyunglyul Hyun
15728f110d Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9 am: 460ba3e6e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: Ib3ce723f13af905fe16bcb1f3bd837d4ba21a78b
2020-06-22 05:21:26 +00:00
Kyunglyul Hyun
d7243c4e39 Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9 am: 387622bd1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: I06577d65a4f57e14fccddf90312be4054cb9b3ce
2020-06-22 05:21:00 +00:00
Kyunglyul Hyun
460ba3e6e5 Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: I0fe1b249c9d186a98f6f68caba88e7642da705b3
2020-06-22 05:06:48 +00:00
Kyunglyul Hyun
387622bd1d Merge "System routes are not automatically exposed" into rvc-dev am: c8f4a8a5e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926262

Change-Id: Ifeb54cd18330fecd053e38a73d44816458fa8a68
2020-06-22 05:06:33 +00:00
Kyunglyul Hyun
471be51bcd Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e am: 8444f9f5b1 am: 3439bf606d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: Ideed461dd27aeed464f39334276889ab4add5c37
2020-06-22 05:01:11 +00:00
Kyunglyul Hyun
99316373d7 Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e am: 8444f9f5b1 am: e2ecc7e0d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: I180e590d3003895ef87861c263a0991949abc1f4
2020-06-22 04:57:05 +00:00
Kyunglyul Hyun
a7cc3651f9 Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e am: 4d65a4c37d am: 1597dfcf45
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: Iacfeee00871987b2c37845e8a4be93a5ea7b49bb
2020-06-22 04:56:34 +00:00
Remi NGUYEN VAN
cf0a496baa Merge "Use unstable networkstack AIDLs in development branches" into rvc-dev-plus-aosp am: 00e99fe676 am: a527e40c2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11863640

Change-Id: I214309f201c0c7ed9a71eeb6ff2656055c72b72d
2020-06-22 04:55:36 +00:00
Kyunglyul Hyun
c8f4a8a5e9 Merge "System routes are not automatically exposed" into rvc-dev 2020-06-22 04:52:17 +00:00
Kyunglyul Hyun
3439bf606d Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e am: 8444f9f5b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: I4fc6cfb0dc06025070c497a09014adb1e1bc6a7e
2020-06-22 04:51:19 +00:00
Kyunglyul Hyun
e2ecc7e0d6 Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e am: 8444f9f5b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: Ia765b17c6f62229dd97bf1a5b70f832ed632a341
2020-06-22 04:50:58 +00:00
Kyunglyul Hyun
1597dfcf45 Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e am: 4d65a4c37d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: Idb7a4991720620c68b25a034a1f4a9950cd0f973
2020-06-22 04:46:24 +00:00
Remi NGUYEN VAN
a527e40c2d Merge "Use unstable networkstack AIDLs in development branches" into rvc-dev-plus-aosp am: 00e99fe676
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11863640

Change-Id: I85837943c4dd9e5119a7457cae1a02dc6e0a2c2b
2020-06-22 04:46:10 +00:00
Kyunglyul Hyun
4d65a4c37d Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: Ie1c4577698aab165e330516fad841641720b5293
2020-06-22 04:41:58 +00:00
Kyunglyul Hyun
8444f9f5b1 Merge "Handle multiple active bluetooth devices" into rvc-dev am: 4b6472722e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947520

Change-Id: I066174484ce5b7952a2a370144876a9b7f1cff6b
2020-06-22 04:41:46 +00:00
Remi NGUYEN VAN
00e99fe676 Merge "Use unstable networkstack AIDLs in development branches" into rvc-dev-plus-aosp 2020-06-22 04:32:42 +00:00
Kyunglyul Hyun
4b6472722e Merge "Handle multiple active bluetooth devices" into rvc-dev 2020-06-22 04:30:30 +00:00
Robert Snoeberger
0734043a33 Reduce device fallback to just icon
Fixes: 159231146
Test: manual - Cast YouTube and look at output switcher chip in player.
Verify that there is only a Cast icon.

Change-Id: I9dcd5f642e3f7400a9442c05b5de0566704af38a
2020-06-22 00:25:55 -04: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
Automerger Merge Worker
ce484a7d0b Merge "Merge "Deprecated tethering framework resource" into rvc-dev am: 98e874e585 am: 5240bcc526 am: 9b0fa34d7d" into rvc-qpr-dev-plus-aosp 2020-06-22 03:45:28 +00:00
Mark Chien
cededb2a4e Merge "Deprecated tethering framework resource" into rvc-dev am: 98e874e585 am: 913559c4eb am: d51a3a058d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11716094

Change-Id: I4033187873a91c7c88d41f005c5c3e6cfbeab6c8
2020-06-22 03:45:10 +00:00