This fixes the boot loop when zygote tries
to log to statsd during boot time.
Linking libstatssocket statically from two different places
causes translation errors resulting in multiple instances of the
same struct being created. This meant that the struct is no longer
shared across the same process for opening/closing of the socket.
Bug: 149889582
Test: Phone boots
Change-Id: Ibfa25c0fe7874ba08157a5ec43601c5cf8305723
For more robust tests! Now, we can make sure the executor runs all
its runnables instead of waiting (test was previously very flaky).
Test: atest SystemUITests
Fixes: 149204632
Change-Id: I8ad047538b31709837c68399dcc1ee5b950283f9
Disable GWP-ASan for all applications by default. Long-term
R-release goals are that GWP-ASan is:
1. Enabled by default for the system.
2. Enabled by default for system apps.
3. Disabled by default (with manifest opt-in) for user apps.
At DP2 cut point, we were enabled by default for the system, system
apps, and user apps. We were intending to downgrade user apps to be
disabled-by-default with the manifest changes in ag/10329607, but we
didn't manage to get that through by DP2 cut.
Because we want GWP-ASan to be less aggressive on user apps, it's safest
to just disable GWP-ASan for all apps.
Bug: 135634846
Test: Build and verify no GWP-ASan for apps.
Change-Id: If92cafb49b1484d173a4eadb377d18b29d217cd4
When IME is no longer shown, notify IMS to hide the window surface.
This reclaims the memory allocated to IME window surface.
Fix: 150163310
Test: atest CtsInputMethodTests
Manually:
1. Open any app that has editor and run
adb shell dumpsys SurfaceFlinger | grep Total
2. Note down total memory
3. Tap on editor and IME shows. Note down memory
using command in #1. It should go up by ~27MB
4. Hide IME and note down memory again.
It should revert to original value in #1.
Change-Id: I6c2a13dd40b22d3fd62b4763ba369992e5ff1138
Windows with FLAG_NOT_FOCUSABLE can not be IME target unless alpha is
zero (i.e. app is using transparent window to detect IME for legacy
reasons).
Going forward we can improve this with the todo already mentioned in the
code block.
Bug: 145812508
Fix: 149899590
Test: Manually verified using steps in bug.
Merged-In: I0e7db484dd4f9b584998b9f922fd46030fb6fb72
Change-Id: I0e7db484dd4f9b584998b9f922fd46030fb6fb72
(cherry picked from commit f3a2b52e16)
The recording will end and save automatically if the time exceeds one
hour or 5gb file size
Fixes: 149916370
Test: manual, verified recording ends and saves when limit is reached
Change-Id: Ifeba5a0834644b1ebdb3fb05961a38ca1c095ee8
CHAR LIMIT for title is updated to 60, and NONE (unlimited) for
summary. This is for the request of I10n works.
Bug: 149994212
Test: make
Change-Id: I960c8b7e650aa37f3cfbea36cf528ac194bce65c
So the tests don't actually register listeners to the DeviceConfig, but
can still test with a fake device config. Previously, tests were
registering and never unregistering a listener to the DeviceConfig.
Test: atest SystemUITests
Fixes: 150226783
Change-Id: I59aa77f337a95aa1890570f5a7e30fe9cd58036a