TreeHugger Robot
873e2b6ac1
Merge "pulled atom for Do Not Disturb configuration" into rvc-dev am: 5599ca731f am: 6f629d1629
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11494623
Change-Id: I19210dbdf8543dccf1263f3142e7408b155641a5
2020-06-10 03:08:35 +00:00
TreeHugger Robot
6f629d1629
Merge "pulled atom for Do Not Disturb configuration" into rvc-dev am: 5599ca731f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11494623
Change-Id: Ia2a6641039579516452b2b200b6fbab809e4d885
2020-06-10 02:48:38 +00:00
TreeHugger Robot
5599ca731f
Merge "pulled atom for Do Not Disturb configuration" into rvc-dev
2020-06-10 02:31:02 +00:00
Chris Wren
9316569062
pulled atom for Do Not Disturb configuration
...
Bug: 154254547
Test: atest ZenModeHelperTest ZenModeConfigTest ZenPoicyTest
Change-Id: Ibfcf0f8034b049b1ec790d243e8cb06d71224063
2020-06-09 20:17:10 -04:00
TreeHugger Robot
4a2e25e155
Merge "Reduce "Failed to find provider info" logspam." into rvc-dev am: 6a28d69c24 am: 19459ea5a7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11813686
Change-Id: I0cec965e7dbcf0403daaa0b9189b2794776fe787
2020-06-09 22:52:36 +00:00
TreeHugger Robot
19459ea5a7
Merge "Reduce "Failed to find provider info" logspam." into rvc-dev am: 6a28d69c24
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11813686
Change-Id: I9003bf7dab061b1b3e88e13b66801a06c4d4516b
2020-06-09 22:45:28 +00:00
TreeHugger Robot
6a28d69c24
Merge "Reduce "Failed to find provider info" logspam." into rvc-dev
2020-06-09 22:41:40 +00:00
Varun Shah
4bffd45f2f
Reduce "Failed to find provider info" logspam.
...
If the user is not unlocked, log at the warning level instead of error
to reduce logspam from non-direct boot aware providers.
Fixes: 148747075
Test: manual (observe logs before and after user unlock)
Change-Id: Icd0fb23982a78fb413f329da93b2ce01d37aca2a
2020-06-09 13:39:53 -07:00
TreeHugger Robot
5b1ac9a432
Merge "Remove debug code before beta release." into rvc-dev am: c81dddfda6 am: c315e25ec7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11810423
Change-Id: Ifc37c4675a92e084debe8886f4574451bd681533
2020-06-09 20:32:27 +00:00
TreeHugger Robot
c315e25ec7
Merge "Remove debug code before beta release." into rvc-dev am: c81dddfda6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11810423
Change-Id: Id3912360601216fa259376320abcfc772981c6f0
2020-06-09 20:21:11 +00:00
TreeHugger Robot
7fd4b13330
Merge "Remove debug code before beta release." into rvc-dev am: c81dddfda6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11810423
Change-Id: I8a30d0e0967b755d0ad81a5f869e5726b1aac936
2020-06-09 20:20:55 +00:00
Hui Yu
cdfb1d6c30
Remove debug code before beta release.
...
Remove the debug code for feature:
1. Background started FGS while-in-use permission restriction
2. Foreground service type camera and microphone.
Bug: 158579189
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java
atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
atest cts/tests/app/src/android/app/cts/ActivityManagerProcessStateTest.java
Change-Id: I9669db918af3740509a090c3075d93588110cea1
2020-06-09 10:36:57 -07: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
c1f9c5e221
Merge "Report WINDOW_FOCUS_GAIN_REPORT_ONLY when the served connection remains" into rvc-dev am: b121512580
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11686078
Change-Id: Ibb8d43ae4df099b3304284571365a3b55f0daa4c
2020-06-09 13:55:38 +00:00
TreeHugger Robot
4f93e9c80c
Merge "Report WINDOW_FOCUS_GAIN_REPORT_ONLY when the served connection remains" into rvc-dev am: b121512580
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11686078
Change-Id: I63b9925dec9f752b08ee06e863ac8bd8f918700c
2020-06-09 13:55:36 +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
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
37afe34234
Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev am: 5b12e07b9c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11632046
Change-Id: I7757a737ba43aa612b62e20dfcaddb4f3fcee9b4
2020-06-09 08:35:45 +00:00
Adrian Roos
30e24e93fd
Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev am: 5b12e07b9c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11632046
Change-Id: I4c93f16807003209a8b99cee0aa35081e6b76062
2020-06-09 08:35:45 +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
Hui Yu
8e5f5b32ac
Merge "Add uid to PendingStartActivityUids when activity resumed." into rvc-dev am: c05fd22ce1 am: eb487f610a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11723113
Change-Id: I9f315d10df0f95c5965639ce2222590c9d78175b
2020-06-09 05:25:33 +00:00
Hui Yu
eb487f610a
Merge "Add uid to PendingStartActivityUids when activity resumed." into rvc-dev am: c05fd22ce1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11723113
Change-Id: Ie1ac5bbc2ee1e2af4708c8e584568f8f3d6cecb3
2020-06-09 05:14:29 +00:00
Hui Yu
bb97cab3ce
Merge "Add uid to PendingStartActivityUids when activity resumed." into rvc-dev am: c05fd22ce1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11723113
Change-Id: I55c16feb807f9df56abc368cd33523d1bcf27f73
2020-06-09 05:13:41 +00:00
Hui Yu
c05fd22ce1
Merge "Add uid to PendingStartActivityUids when activity resumed." into rvc-dev
2020-06-09 05:01:28 +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
a2b71f725c
Merge "Fix NPE in InlineContentView" into rvc-dev am: 854b0d1a89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11784246
Change-Id: I243379817566a7ba433f4fdb5f6840fe6e4039b3
2020-06-09 03:50:01 +00:00
TreeHugger Robot
cc2d440d90
Merge "Fix NPE in InlineContentView" into rvc-dev am: 854b0d1a89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11784246
Change-Id: I4de5d2e6d2d8d84d3acdc8144cdfc0b384577805
2020-06-09 03:49:42 +00:00
TreeHugger Robot
854b0d1a89
Merge "Fix NPE in InlineContentView" into rvc-dev
2020-06-09 03:42:04 +00:00
TreeHugger Robot
e89fc086f2
Merge "Fix docs for LISTEN_CELL_LOCATION" into rvc-dev am: 89a801ac47 am: 1ac7daf6a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11799324
Change-Id: I1e4189e9ac87a7eadd89d8eac9e8b93d387b2f23
2020-06-09 02:32:42 +00:00
TreeHugger Robot
f103a8e0b6
Merge "Fix docs for LISTEN_CELL_LOCATION" into rvc-dev am: 89a801ac47
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11799324
Change-Id: Idff850c4019bb0043caf77acd67a1224e652edb3
2020-06-09 02:20:40 +00:00
TreeHugger Robot
1ac7daf6a5
Merge "Fix docs for LISTEN_CELL_LOCATION" into rvc-dev am: 89a801ac47
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11799324
Change-Id: Id2234ae2d9192205b55026d38de655b121868210
2020-06-09 02:20:24 +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
TreeHugger Robot
89a801ac47
Merge "Fix docs for LISTEN_CELL_LOCATION" into rvc-dev
2020-06-09 02:13:06 +00:00
Minche Li
40d61d7ff9
Merge "Documentation cleanup for AccessibilityNodeInfo.ExtraRenderingInfo" into rvc-dev am: e85c54f39b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745990
Change-Id: I96035f5f07d532598bab76c56f2f7819f396e65f
2020-06-09 02:00:14 +00:00
Minche Li
3d55c1af5c
Merge "Documentation cleanup for AccessibilityNodeInfo.ExtraRenderingInfo" into rvc-dev am: e85c54f39b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745990
Change-Id: Iadd6be280f174f91db7be13a8df5acd1e18f922c
2020-06-09 01:59:50 +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
Charles Munger
b0f12b4b89
Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce am: d3c43f0789
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369
Change-Id: I584df6c21cb59ea43c1601318fb1c7c995f3002d
2020-06-09 00:49:15 +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
Charles Munger
d3c43f0789
Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369
Change-Id: I232e22992440b51dcd41b77cc76e0db3dd83787e
2020-06-09 00:44:29 +00:00
Hall Liu
ba2884af47
Fix docs for LISTEN_CELL_LOCATION
...
Update docs to reflect the ACCESS_FINE_LOCATION requirement.
Fixes: 140711339
Test: docs only
Change-Id: I64141b9428632069e0ec2345f3ff58a22bbb20aa
2020-06-08 17:42:00 -07:00
Joanne Chung
158b81b6f0
Merge "Handle SyncResultReceiver.TimeoutException" into rvc-dev am: 9856804eb2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11489902
Change-Id: I3be81b8ba85c2ed8809f2c798a543bd4ff5469fe
2020-06-09 00:35:13 +00:00
Joanne Chung
4a235e4bf2
Merge "Handle SyncResultReceiver.TimeoutException" into rvc-dev am: 9856804eb2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11489902
Change-Id: I1b6862cce5473f9592aa39c6ee3a09c785afa472
2020-06-09 00:35:04 +00:00
Joanne Chung
9856804eb2
Merge "Handle SyncResultReceiver.TimeoutException" into rvc-dev
2020-06-09 00:21:44 +00:00
Hui Yu
08ab384989
Add uid to PendingStartActivityUids when activity resumed.
...
Previously we add uid to PendingStartActivityUids at activity start.
Now we also add uid to PendingStartActivityUids at activity resumed
because we can not wait for updateOomAdj() to be run by a runnable that
WindowManager send to DisplayThread at activity resumed.
At ActivityManagerService.getProcessStatesAndOomScoresForPIDs(), if the
ProcessRecord is in PendingStartActivityUids, we hard code the
ProcessRecord to be PROCESS_STATE_TOP and FOREGROUND_APP_ADJ, ahead of
result of updateOomAdj() the comes later.
Bug: 155143386, 157180494
Test: Reproduce steps of 155143386, swipe between GCA and
Snapchat, camera access is allowed after swipe.
Change-Id: Ia11b0e3400e4df851b250beb01dcfda43580668b
2020-06-08 15:35:26 -07:00
Nate Myren
d2ff0b9855
Merge "Revert "Use permissionController name rather than hardcode"" into rvc-dev-plus-aosp am: 3ff65c2dfd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11795379
Change-Id: I83b529af294e00d641d6457cb02eb1a5ae88ace6
2020-06-08 19:53:04 +00:00
TreeHugger Robot
4623558ea7
Merge "Camera: Fix race for onCaptureBufferLost callback" into rvc-dev am: 918942f462 am: 2d350e2983
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11510012
Change-Id: If76faca65a2ad8f75a315f7d97734e1763734ab6
2020-06-08 19:52:08 +00:00
Nate Myren
3ff65c2dfd
Merge "Revert "Use permissionController name rather than hardcode"" into rvc-dev-plus-aosp
2020-06-08 19:44:36 +00:00
TreeHugger Robot
6732f25854
Merge "Camera: Fix race for onCaptureBufferLost callback" into rvc-dev am: 918942f462
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11510012
Change-Id: Idb2078674c06125f282668c7862fdb5d1b791467
2020-06-08 19:41:23 +00:00