TreeHugger Robot
30992d5f89
Merge changes I5bdc1f46,Idd24fd51 into sc-dev am: cfe4767b40 am: 5feaa3a962
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15113790
Change-Id: I446b4de09607db8326b5f8cffe939ad24697e1f3
2021-07-01 13:56:41 +00:00
TreeHugger Robot
cfe4767b40
Merge changes I5bdc1f46,Idd24fd51 into sc-dev
...
* changes:
Sharesheet style updates
Update Edit icon.
2021-06-30 22:00:33 +00:00
TreeHugger Robot
5ad183eb9c
Merge "Introduce IInputContextInvoker for better readability"
2021-06-30 20:32:50 +00:00
TreeHugger Robot
5ec70e9530
Merge "Log IME tracing even when RemoteException is thrown from IC"
2021-06-30 19:48:48 +00:00
Dmitri Plotnikov
82c4fce0a1
Merge "Fix boot time BatteryStats reset failure" into sc-dev am: ebf77ebc51 am: bea4bac02c am: 9285cf57dd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15128655
Change-Id: Iaf0d929b7c8cbe3e1398de82a71e3c2bc32fc1ef
2021-06-30 19:36:17 +00:00
Dmitri Plotnikov
9285cf57dd
Merge "Fix boot time BatteryStats reset failure" into sc-dev am: ebf77ebc51 am: bea4bac02c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15128655
Change-Id: I2d5f02809e76c8f9381917ed307de46a3a3ba029
2021-06-30 19:25:04 +00:00
TreeHugger Robot
29aa577609
Merge "Pause watchdog monitor for incfs native lib extraction" into sc-dev am: 920e1fd7a6 am: 6611a10a66 am: 9274ed1674
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15147287
Change-Id: I0c9fa3d6231853c2438f711480130a268ffbc832
2021-06-30 19:12:35 +00:00
Dmitri Plotnikov
bea4bac02c
Merge "Fix boot time BatteryStats reset failure" into sc-dev am: ebf77ebc51
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15128655
Change-Id: I4681840e210a25d27ecb03ff30da088721f2fc8b
2021-06-30 19:12:17 +00:00
Dmitri Plotnikov
ebf77ebc51
Merge "Fix boot time BatteryStats reset failure" into sc-dev
2021-06-30 18:53:20 +00:00
TreeHugger Robot
9274ed1674
Merge "Pause watchdog monitor for incfs native lib extraction" into sc-dev am: 920e1fd7a6 am: 6611a10a66
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15147287
Change-Id: I7b59474dc6bf65fa5912da0061b2fa2a4759a3f9
2021-06-30 18:34:07 +00:00
TreeHugger Robot
6611a10a66
Merge "Pause watchdog monitor for incfs native lib extraction" into sc-dev am: 920e1fd7a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15147287
Change-Id: I41be5812173b379543da8d777673da3e7ce519a0
2021-06-30 18:27:00 +00:00
Dmitri Plotnikov
bcd46f1ed4
Fix boot time BatteryStats reset failure
...
We need some services to create a battery stats snapshot
captured at the time of battery reset.
The issue is that if the battery stats reset occurs during boot,
before the system is ready, those services may not be prepared.
The fix is to postpone battery stats reset until after the
system server is ready.
Also, we will now reset the stats if battery got partially charged
and discharged repeatedly without ever reaching the full charge.
This will prevent battery sessions from going on forever and
overflowing internal data structures.
This CL partially reverts 0ed84f1263
Bug: 192252233
Test: run PowerOnOffTest#testPowerOnOff repeatedly
Change-Id: Ib486e4caeeac7c933288c3a1055259c05f45c6c8
2021-06-30 17:07:58 +00:00
Yohei Yukawa
cdd13118af
Introduce IInputContextInvoker for better readability
...
This is a purely mechanical refactoring with no no behavior change.
With this CL, InputConnectionWrapper no longer deals with boilerplate
code around IInputContext such as RemoteException handling.
Bug: 192412909
Test: atest CtsInputMethodTestCases
Change-Id: I0ea27e915a07699a4c124750266d84346fbd7bf6
2021-06-30 09:54:14 -07:00
Yohei Yukawa
934fe8b2a5
Log IME tracing even when RemoteException is thrown from IC
...
This is a small preparation to consolidate RemoteException handling
out from InputConnectionWrapper.
With this CL, InputConnectionWrapper no longer early-exits when a
RemoteException is thrown but just falls through to IME tracing logic.
By making this small change, the next CL [1] can split out
RemoteException handling from InputConnectionWrapper as a pure
refactoring.
Anyway neither users nor developers can observe this change unless
they are carefully checking IME tracing result when the IME target app
is being killed.
[1]: I0ea27e915a07699a4c124750266d84346fbd7bf6
Bug: 192412909
Test: atest CtsInputMethodTestCases:InputConnectionBlockingMethodTest
Change-Id: I5c778a1097e7f05eeff27e7a72966f613076a801
2021-06-30 00:23:09 -07:00
Wilson Wu
28429a218b
Merge "Remove multi-client IME"
2021-06-30 01:34:37 +00:00
Yurii Zubrytskyi
337f73edc9
Pause watchdog monitor for incfs native lib extraction
...
Native library extraction potentially takes much longer time for
Incremental installations vs the regular ones: each page can
wait for up to 10s (adb) or 100ms (non-adb), adding up to the
full watchdog timeout of 1 min and triggering a reboot.
This CL pauses Watchdog for the thread that's running extraction
to make sure we don't try to fix a hanging single installation
with killing the OS.
Bug: 191166673
Fixes: 191166673
Test: atest package manager and incremental suites
Change-Id: I9c4c24f305e079f346a76b64d4841cdbd58734fa
2021-06-29 16:21:12 -07:00
TreeHugger Robot
7ffb3ce39c
Merge "Add global app op restrictions" into sc-dev am: 0ac141c3ba am: f538cb084e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080961
Change-Id: Id2db395759e66be890540ca86450b2c5bf67b2ec
2021-06-29 20:37:32 +00:00
TreeHugger Robot
858b271a9a
Merge "Add global app op restrictions" into sc-dev am: 0ac141c3ba am: 6ccd19fdbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080961
Change-Id: I05c8cec2eb96110a4972c5f307857a6d8d6da046
2021-06-29 20:22:27 +00:00
TreeHugger Robot
6ccd19fdbe
Merge "Add global app op restrictions" into sc-dev am: 0ac141c3ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080961
Change-Id: I15d98bfee0038471c434151e65082deca1dbad43
2021-06-29 20:07:54 +00:00
TreeHugger Robot
0ac141c3ba
Merge "Add global app op restrictions" into sc-dev
2021-06-29 19:53:50 +00:00
Orion Hodson
8e8cb4cb1f
Merge changes from topic "system-server-images" into sc-dev
...
* changes:
Fix JNI error
Revert^2 "Zygote: Load system server code early"
2021-06-29 16:05:36 +00:00
TreeHugger Robot
df2e1f7d1a
Merge "Disable the BatteryUsageStatsStore feature" into sc-dev am: 9c8441c8af am: c2fbecc3f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15128691
Change-Id: I8db0b5192719cbc1e07705c0e8db2a77db0afc94
2021-06-29 00:39:20 +00:00
TreeHugger Robot
babee068a4
Merge "Disable the BatteryUsageStatsStore feature" into sc-dev am: 9c8441c8af am: 49a82950f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15128691
Change-Id: I9f71b5f63b76d7301910642e4226e819f7962aaa
2021-06-29 00:38:55 +00:00
TreeHugger Robot
49a82950f5
Merge "Disable the BatteryUsageStatsStore feature" into sc-dev am: 9c8441c8af
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15128691
Change-Id: I755f05ab20fd1d2c907640b359975bc0814b6736
2021-06-29 00:30:04 +00:00
TreeHugger Robot
9c8441c8af
Merge "Disable the BatteryUsageStatsStore feature" into sc-dev
2021-06-29 00:25:22 +00:00
Evan Severson
1d096f209d
Add global app op restrictions
...
Instead of managing across all users we can restrict globally and fast
fail if the restriction is set
Test: atest CtsSensorPrivacyTestCases
Bug: 191016260
Change-Id: Ida1a2d1734b7e3d40818485062bec0f96270bc4b
2021-06-28 22:22:59 +00:00
TreeHugger Robot
0fb68444a3
Merge "Improve exception logging for system backup/restore" into sc-dev am: 8f589c02c6 am: 89a02edc25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15123973
Change-Id: I9db6ffe46c53932b5c6af253553b8a47e2767fa2
2021-06-28 19:40:26 +00:00
TreeHugger Robot
0146d27935
Merge "Improve exception logging for system backup/restore" into sc-dev am: 8f589c02c6 am: 2b6aa32125
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15123973
Change-Id: I425112879826239bf61b1f4e9d9f97c09956d501
2021-06-28 19:40:24 +00:00
TreeHugger Robot
2b6aa32125
Merge "Improve exception logging for system backup/restore" into sc-dev am: 8f589c02c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15123973
Change-Id: Ie389509f9365d08d7750295b45be14cdd001edd1
2021-06-28 19:24:18 +00:00
Dmitri Plotnikov
483702e0df
Disable the BatteryUsageStatsStore feature
...
Bug: 191120091
Test: run PowerOnOffTest#testPowerOnOff
Change-Id: I536bbf04ac3233575487bbffd120cbdfa305c41f
2021-06-28 09:22:15 -07:00
Orion Hodson
91c4f415e3
Revert^2 "Zygote: Load system server code early"
...
This reverts commit 6be3b0e117 .
(cherry picked from commit d0d23f5a2b )
Bug: 180949581
Test: atest odsign_e2e_tests
Merged-In: I7a7dd5b475af4502dc9671d2dce02ee3673ddf81
Change-Id: I8a4ddc870816b47593184b06c4b36a41eda923f2
2021-06-28 13:33:12 +01:00
Bryan
385424f431
Improve exception logging for system backup/restore
...
Make sure to log stack traces of unexpected exceptions
to allow us to better diagnose issues such as b/190023280
Change-Id: I29a32329f52b8346570148ed5abc34f3149aa0f9
Test: make
Bug: 190023280
Change-Id: Idd4e4968fe4c642b463149f98a7669a8733b37d7
2021-06-28 10:45:42 +00:00
Alison Cichowlas
fc7069c169
Update Edit icon.
...
Bug: 186719466
Test: icon only, manually verified
Change-Id: Idd24fd51fcd5f3b986889bc16bf0eb05507d7ff0
2021-06-25 19:50:34 -04:00
Orion Hodson
17d678e3d2
Merge "Revert^2 "Zygote: Load system server code early"" am: 8be0de5892 am: 387a79c188 am: 3d5d8f4f01 am: 2517eadc2f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1744478
Change-Id: Ib631ffab2bbbdf9a22bf06f5c253b2bb9ed0de8a
2021-06-25 16:37:08 +00:00
Mark Renouf
539a379a88
Merge "Adds long screenshot support for ListView" into sc-dev am: 82f0979e7b am: db211ddf76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15083160
Change-Id: Ibe4f4a4d612f1f8d4a622f009b393dac4ab0970a
2021-06-25 16:27:46 +00:00
Siim Sammul
87b9061e03
Merge "Fix process source propagation for binder calls stats settings so that it is correctly reported in the pushed atom BinderLatencyReported." into sc-dev am: fc7b373389 am: 07aae99572
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15054863
Change-Id: Id2d9dcecbc9f3e95c293422906b36cdfadacc5ff
2021-06-25 16:23:35 +00:00
Orion Hodson
2517eadc2f
Merge "Revert^2 "Zygote: Load system server code early"" am: 8be0de5892 am: 387a79c188 am: 3d5d8f4f01
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1744478
Change-Id: I53f7c25392a08ca644123153d920bcdc902e3799
2021-06-25 16:21:22 +00:00
Siim Sammul
80735a8afd
Merge "Collect binder latency data even when device is charging / device state is unknown." into sc-dev am: 764da8b1ab am: 26e17305ff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080830
Change-Id: I6f803f121536f6820d46f848e80a192c098c4391
2021-06-25 16:19:58 +00:00
Mark Renouf
f003ba7d1e
Merge "Adds long screenshot support for ListView" into sc-dev am: 82f0979e7b am: eb3678a3c2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15083160
Change-Id: I81b2e94af8d34d877d69ec4cce516c1369f7a84e
2021-06-25 15:12:39 +00:00
Mark Renouf
db211ddf76
Merge "Adds long screenshot support for ListView" into sc-dev am: 82f0979e7b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15083160
Change-Id: I78cb8c1e7f50168e80a3e6cadd1e2c9a0d023b16
2021-06-25 15:08:32 +00:00
Mark Renouf
82f0979e7b
Merge "Adds long screenshot support for ListView" into sc-dev
2021-06-25 14:56:49 +00:00
Siim Sammul
eee372ca0d
Merge "Fix process source propagation for binder calls stats settings so that it is correctly reported in the pushed atom BinderLatencyReported." into sc-dev am: fc7b373389 am: c7a7ae1241
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15054863
Change-Id: Ie8b2cc257a57abab980c32eba5604835ea2f3ac5
2021-06-25 11:26:12 +00:00
Siim Sammul
07aae99572
Merge "Fix process source propagation for binder calls stats settings so that it is correctly reported in the pushed atom BinderLatencyReported." into sc-dev am: fc7b373389
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15054863
Change-Id: I96717cda6045b2cb1f2e87b7bcdee8922e967bf9
2021-06-25 11:16:29 +00:00
Siim Sammul
fc7b373389
Merge "Fix process source propagation for binder calls stats settings so that it is correctly reported in the pushed atom BinderLatencyReported." into sc-dev
2021-06-25 11:07:53 +00:00
Orion Hodson
3d5d8f4f01
Merge "Revert^2 "Zygote: Load system server code early"" am: 8be0de5892 am: 387a79c188
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1744478
Change-Id: Ia6efbecfc4a2d5eea62b254049572de8a5c52e8e
2021-06-25 09:32:02 +00:00
Siim Sammul
7860a1b8ef
Merge "Collect binder latency data even when device is charging / device state is unknown." into sc-dev am: 764da8b1ab am: ff4636cb19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080830
Change-Id: I5b4535e6cfb044b823353e1120187a5ade71fffa
2021-06-25 09:29:23 +00:00
Siim Sammul
26e17305ff
Merge "Collect binder latency data even when device is charging / device state is unknown." into sc-dev am: 764da8b1ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080830
Change-Id: I32ba75f264624570c4eff5b74db72e11a6f71fbf
2021-06-25 09:16:41 +00:00
Orion Hodson
8be0de5892
Merge "Revert^2 "Zygote: Load system server code early""
2021-06-25 09:09:01 +00:00
Siim Sammul
764da8b1ab
Merge "Collect binder latency data even when device is charging / device state is unknown." into sc-dev
2021-06-25 09:03:12 +00:00
Siim Sammul
f64b4c5dc9
Fix process source propagation for binder calls stats settings so that
...
it is correctly reported in the pushed atom BinderLatencyReported.
Bug: 180584913
Test: unit test
Change-Id: Ifbdd96c73276546fb2a05213f71e1de088e1fe1e
2021-06-25 09:02:26 +00:00