Commit Graph

519022 Commits

Author SHA1 Message Date
Selim Cinek
27b403d4c8 Merge "Made the qs scroll view not important for accessibility" into rvc-dev 2020-07-08 23:09:04 +00:00
Automerger Merge Worker
a0ad660130 Merge "Merge "Change to drop down when the inline suggestions don't be shown in IME." into rvc-dev am: 5fa3f11717 am: fac896ec46" into rvc-d1-dev-plus-aosp 2020-07-08 23:08:38 +00:00
Ahaan Ugale
2b4e7a9d55 Merge "Change to drop down when the inline suggestions don't be shown in IME." into rvc-dev am: 5fa3f11717 am: eea21c14bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12066145

Change-Id: Icedd6f75b6b6ca1f8373a42f4cc0c84191c69a38
2020-07-08 23:08:25 +00:00
Ahaan Ugale
3314338405 Merge "Change to drop down when the inline suggestions don't be shown in IME." into rvc-dev am: 5fa3f11717 am: fac896ec46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12066145

Change-Id: Ib2e35e3293859c33ca20f5b08ed453e9f55e20b5
2020-07-08 23:08:25 +00:00
Ahaan Ugale
eea21c14bd Merge "Change to drop down when the inline suggestions don't be shown in IME." into rvc-dev am: 5fa3f11717
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12066145

Change-Id: Id16084ee302ec3f6714daac3a6e8b50891ed1b0c
2020-07-08 22:56:10 +00:00
Ahaan Ugale
fac896ec46 Merge "Change to drop down when the inline suggestions don't be shown in IME." into rvc-dev am: 5fa3f11717
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12066145

Change-Id: I370936c5febd92e7d21eb1c7b2355e9a47f13efe
2020-07-08 22:55:58 +00:00
Sooraj Sasindran
b23a921041 Use FLAG_UPDATED_SYSTEM_APP
Use FLAG_UPDATED_SYSTEM_APP find if an app is updated system app
instead of MATCH_FACTORY_ONLY

Bug: 148308979
Test: Unit test for CarrierAppUtils and system test to
      verify fi is not getting uninstalled
Merged-In: I1991e98bb1edb7d0628a7011df7488fbf5de3579
Change-Id: I1991e98bb1edb7d0628a7011df7488fbf5de3579
2020-07-08 15:54:31 -07:00
Hall Liu
483a176672 Merge "Add telecom command to stop block suppression" into rvc-dev am: f75aef41e3 am: df2b85df44
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108551

Change-Id: Ie098254434a3d1403e942209a83e1aa945757e20
2020-07-08 22:50:37 +00:00
Ahaan Ugale
5fa3f11717 Merge "Change to drop down when the inline suggestions don't be shown in IME." into rvc-dev 2020-07-08 22:45:28 +00:00
Hall Liu
784d302434 Merge "Add telecom command to stop block suppression" into rvc-dev am: f75aef41e3 am: a7a352b1d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108551

Change-Id: I1d79e2e42bcb75dc5fb88a66000294c3ed54b360
2020-07-08 22:28:14 +00:00
Hall Liu
df2b85df44 Merge "Add telecom command to stop block suppression" into rvc-dev am: f75aef41e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108551

Change-Id: I50579e140211c9c3d427df5746b338dac15e92df
2020-07-08 22:28:10 +00:00
TreeHugger Robot
6208d9f85d Merge "Fixed that data connections not tearing down when APN set id changes" into rvc-d1-dev am: 89749a90da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12102524

Change-Id: I89074c2299610d27aa1bcb6ee458f9fa9e24b89e
2020-07-08 22:27:57 +00:00
Hall Liu
a7a352b1d0 Merge "Add telecom command to stop block suppression" into rvc-dev am: f75aef41e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12108551

Change-Id: I6e0fcf511c9b8b28940544300edca5a3977afe20
2020-07-08 22:27:40 +00:00
TreeHugger Robot
89749a90da Merge "Fixed that data connections not tearing down when APN set id changes" into rvc-d1-dev 2020-07-08 22:18:18 +00:00
Hall Liu
f75aef41e3 Merge "Add telecom command to stop block suppression" into rvc-dev 2020-07-08 22:15:43 +00:00
Selim Cinek
ed68763640 Made the qs scroll view not important for accessibility
It was showing up as an unlabeled element, but can't usually
be scrolled anyway. And when it's scrolled it can still be performed
using talkback.

Fixes: 160329869
Test: enable talkback, drag down notification panel
Change-Id: Iaf4785213c58cb9efeb19aff4c164f78cdacfdab
2020-07-08 14:34:28 -07:00
SongFerngWang
3a3af2fc2f Add carrier config for NR timer reset
KEY_NR_TIMERS_RESET_IF_NON_ENDC_AND_RRC_IDLE_BOOL:
Whetherdevice reset all of NR timers when device camped on a
network that haven't 5G capability and RRC currently in IDLE state.

Bug: 160365713
Test: build pass.
Change-Id: I9802b8712798054a85307e549fb665bc85166311
2020-07-09 05:21:59 +08:00
Patrick Baumann
629eb6715f Merge "Fixes component-based visibility recompute" into rvc-dev am: e505016e9b am: 7719b5644b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099329

Change-Id: I3730e00f4503b7e5cd5a9ba38d1b034e42b5f0d4
2020-07-08 21:00:08 +00:00
Patrick Baumann
0415b8594e Merge "Fixes component-based visibility recompute" into rvc-dev am: e505016e9b am: 224d3e04d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099329

Change-Id: If0e86b3c72c1e6db49f95bb64c8a2382dc74d7f1
2020-07-08 20:59:53 +00:00
Patrick Baumann
7719b5644b Merge "Fixes component-based visibility recompute" into rvc-dev am: e505016e9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099329

Change-Id: If541087ede76594ce90a4179013e37a2d93c6586
2020-07-08 20:51:26 +00:00
Patrick Baumann
224d3e04d6 Merge "Fixes component-based visibility recompute" into rvc-dev am: e505016e9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099329

Change-Id: I87a9bcb4b052e4d961f1538bb7f892c1fd930350
2020-07-08 20:51:18 +00:00
Patrick Baumann
e505016e9b Merge "Fixes component-based visibility recompute" into rvc-dev 2020-07-08 20:42:22 +00:00
Automerger Merge Worker
438b440684 Merge "Merge "Collapse shade on ACTION_CANCEL (sometimes)" into rvc-dev am: aefe277271 am: c5b199e721" into rvc-d1-dev-plus-aosp 2020-07-08 20:39:02 +00:00
Ned Burns
8914e22c60 Merge "Collapse shade on ACTION_CANCEL (sometimes)" into rvc-dev am: aefe277271 am: c5b199e721
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100345

Change-Id: I5168a97a22e25181a21bc3fe72b3bfbac23521e4
2020-07-08 20:38:49 +00:00
Ned Burns
e74b5eef82 Merge "Collapse shade on ACTION_CANCEL (sometimes)" into rvc-dev am: aefe277271 am: 11a2b95bb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100345

Change-Id: I00b6120e37c208870af7dbbbd69097cee16e0d74
2020-07-08 20:38:38 +00:00
Ned Burns
c5b199e721 Merge "Collapse shade on ACTION_CANCEL (sometimes)" into rvc-dev am: aefe277271
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100345

Change-Id: I971130b59614a33130f5237e71cd86896281c692
2020-07-08 20:26:12 +00:00
Ned Burns
11a2b95bb1 Merge "Collapse shade on ACTION_CANCEL (sometimes)" into rvc-dev am: aefe277271
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100345

Change-Id: I38e1f2bebfaba00cf046cedbe51dc38bd4b83adf
2020-07-08 20:26:10 +00:00
Ned Burns
aefe277271 Merge "Collapse shade on ACTION_CANCEL (sometimes)" into rvc-dev 2020-07-08 20:14:14 +00:00
Vishnu Nair
019e08fdbb ViewRootImpl: Call surface destroy callback after layout pass
If a requestLayout happens on a child view after the measure
pass, before the layout pass then the child view will not layout.
This can happen if a view calls requestLayout during measure
or during SurfaceView surface destroyed callback.

This fix addresses the second scenario by moving the callback
to after the layout pass.

Bug: 159183008
Test: Repro steps in bug
Test: go/wm-smoke
Change-Id: Ie2794a3751c99cabf6e07445c91159e35eeb1729
2020-07-08 12:44:47 -07:00
Hasini Gunasinghe
68d7e94f6f Add KeystoreKeyEventReported atom for keystore logging.
This is for migrating keystore logging to using statsd.

Test: Adding tests for logging is yet to be decided.
Change-Id: I858ff1fe46fcdd5acbca0c5b7972632f35377002
Merged-In: I66fbc2b8ed98a34f243387f8550b6523b13cb9a2
2020-07-08 19:32:39 +00:00
Automerger Merge Worker
a192c69005 Merge "Merge "Fix customizer state" into rvc-dev am: 3aa9980879 am: 2208d4b00b" into rvc-d1-dev-plus-aosp 2020-07-08 19:07:38 +00:00
TreeHugger Robot
f149c90b70 Merge "Fix customizer state" into rvc-dev am: 3aa9980879 am: 2208d4b00b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099421

Change-Id: I42bb76436824188b53788fb2385354b23bdfd6df
2020-07-08 19:07:21 +00:00
TreeHugger Robot
2d164a1383 Merge "Fix customizer state" into rvc-dev am: 3aa9980879 am: 1b41bd753f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099421

Change-Id: Iefc2290cd5ab159db676c03dfa2d0dc22e943f0d
2020-07-08 19:07:14 +00:00
TreeHugger Robot
1b41bd753f Merge "Fix customizer state" into rvc-dev am: 3aa9980879
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099421

Change-Id: Ibf2d96facd2511ca7ac5ef7313ea8aa8d6877281
2020-07-08 18:55:35 +00:00
TreeHugger Robot
2208d4b00b Merge "Fix customizer state" into rvc-dev am: 3aa9980879
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099421

Change-Id: I3ffec60df44cb78f1f8334535f4a3d7d9b5715c9
2020-07-08 18:55:16 +00:00
Christopher Tate
e57d0f5e45 Don't assume r.curApp is valid when finalizing broadcasts
There is an inherent race with process death such that r.curApp can wind
up null before we're trying to validate identity bookkeeping around
future broadcast policy.  Deal with this gracefully.

Bug: 160199815
Test: manual
Test: tests/ActivityTests
Change-Id: Ia6b2e973be64abb927838ad4b7d040b2f8839c71
2020-07-08 18:53:02 +00:00
TreeHugger Robot
3aa9980879 Merge "Fix customizer state" into rvc-dev 2020-07-08 18:46:17 +00:00
Automerger Merge Worker
ec3cdeba23 Merge "Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev am: 5c25605da0 am: 8d53c79a02" into rvc-d1-dev-plus-aosp 2020-07-08 18:09:53 +00:00
Charles Chen
6e9897bf3c Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev am: 5c25605da0 am: 8d53c79a02
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105622

Change-Id: I2fed3e587f6d93ee9e68b01235e84dd725e4d4bb
2020-07-08 18:09:42 +00:00
Charles Chen
6263253bae Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev am: 5c25605da0 am: a91c84fa14
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105622

Change-Id: I394f915b6577d1972b22e61d11af430a220aad06
2020-07-08 18:09:30 +00:00
Hall Liu
b5d4decf24 Add telecom command to stop block suppression
Add a Telecom command to stop the number blocking suppression that
happens after an emergency call.

Bug: 158798240
Fixes: 160667708
Test: atest CtsTelecomTestCases
Change-Id: I122de1962fb6aa48a3092c2aa323dcbdcbb8f42e
2020-07-08 11:09:26 -07:00
Steven Moreland
5f9914e6b1 HwBinder.setTrebleTestingOverride
To replace usages of environment variable TREBLE_TESTING_OVERRIDE which
is problematic for some clients using setenv in a multi-threaded
environment.

Bug: 156668058
Test: hidl_test_java
Change-Id: I7f7c51b9cfb01a81941154dc406a599cc6edd151
2020-07-08 18:03:34 +00:00
Charles Chen
a91c84fa14 Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev am: 5c25605da0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105622

Change-Id: If6d05cfdc4c4c2ee92cca0497f5e07ec8280332d
2020-07-08 17:59:59 +00:00
Charles Chen
8d53c79a02 Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev am: 5c25605da0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12105622

Change-Id: Ic5670956e2cec2fd6e63a9d0e6c4fa86f2ec991e
2020-07-08 17:59:55 +00:00
Charles Chen
5c25605da0 Merge "Fix NPE when invoking Context#isUiContext" into rvc-dev 2020-07-08 17:46:09 +00:00
lpeter
a383f339de Change to drop down when the inline suggestions don't be shown in IME.
The current implementation has a problem where:
In the autofill side, there can be multiple autofill sessions existed
at the same time. But in the IME side, there is always only one
InlineSuggestionSession at any given time. It will cause the previous
autofill session to fail communication with IME.

It would better change to drop down UI when the autofill inline
suggestions don't be shown in IME.

How to reproduce this issue:
To add an input field with autofillable into the authentication activity
of InlineFillService. To tap on the input field of the authentication
activity during the authentication flow. After completing the
authentication, the inline suggestions won't be shown in IME.

BTW, if the input field is marked as non-autofillable, this issue won't
occur.

Manual verification:
1.Tested this patch with InlineFillService and it worked well.
2.Feng also helped to test this patch with the webview
(sort of randomly), and didn't find any broken case

Bug: 158877106
Test: atest CtsInputMethodTestCases
Test: atest CtsAutoFillServiceTestCases
Test: new CTS test Ie1d9055b0eabfcaa00861869467be8dcee25833e
Test: manual verification with InlineFillService
Test: Feng also helped to test this patch with the webview
Change-Id: Ib06edd823fa4478f34362164f3f7dd3544e51705
2020-07-08 17:40:00 +00:00
Steven Moreland
5ae197cb8f Merge "HIDL Java: DeadObjectException" am: 628198a90f am: d16ad56f35 am: 6a9695953d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355810

Change-Id: Ia4dac0da412a761cb940a92e4d939c584f19e69c
2020-07-08 17:22:52 +00:00
Ned Burns
7c6dd3d568 Collapse shade on ACTION_CANCEL (sometimes)
As of ag/11546928, the framework emits an ACTION_CANCEL when the
proximity sensor turns off the screen, not an ACTION_UP. Previously, we
always expanded the shade in response to an ACTION_CANCEL. However,
after this change, this caused Dialer users to end up with an expanded
shade after putting the phone to their face, making it easy to
face-dial their notifications. This CL changes the behavior to put the
shade back to where it was when the gesture started -- either expanded
or closed.

Fixes: 155362798
Test: manual
Change-Id: I2d11d9f03bfe1e905028a640e2eb871d32e37248
2020-07-08 13:20:52 -04:00
Steven Moreland
6a9695953d Merge "HIDL Java: DeadObjectException" am: 628198a90f am: d16ad56f35
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355810

Change-Id: Ie426df5c3ce20df14b0820daafe5d72a959b2e8e
2020-07-08 17:07:04 +00:00
Automerger Merge Worker
4c1a47c212 Merge "Merge "Change cursor drag threshold from 30 to 45 degrees from vertical" into rvc-dev am: f44a60bd69 am: 3df7b0ebab" into rvc-d1-dev-plus-aosp 2020-07-08 17:01:25 +00:00