* kanged from and till LineageOS/android_device_motorola_griffin/tree/3c0798f706e84eb735299e0dd2398a65294bed15
Change-Id: Iaae1859bfda2ea7d0a7a38e0dd79cb5d8e2ddb9d
* Not needed after 39f1f2878b71c1a560da5ea70e18aaf8d8a44b70 as SystemUI.{odex,vdex}
won't exist if they are preopted.
02-04 07:58:33.229 555 568 E PinnerService: Could not pin file /system/priv-app/SystemUI/oat/arm64/SystemUI.vdex
02-04 07:58:33.229 555 568 E PinnerService: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
Change-Id: I20bfe66851fd5ade5f89e60be62aafab12333df2
* Adapt the service from configstore-hal-1-0 service
to vendor.configstore-hal for AOSP P
* Resolves surfaceflinger first launch crash
due to configstore not being running earlier enough
Change-Id: I5aae6d8357ce71933e7c6673e9e4d37adb55a6af
SystemUI is getting deoptimized, possibly resulting in jank
(not yet validated); pre-optimize to avoid deoptimization for now.
Bug: 62832717
Bug: 35872915
Test: boot, check for vdex, run for a bit
Change-Id: Ia754db444eebaebf0ff2389ab66f6f1d486da994
Pin critical system apps that always need to be responsive, no
mattter what:
- SystemUI for expanding the notification shade/navigation bar
- SF: Doesn't need introduction, but still gets zram'ed in certain
cases:
Total memory impact: About 5-6 MB (since regularly not all code is
loaded)
Test: Flash device with CL and make sure actions like expanding
notification shade isn't as janky under memory pressure anymore
Bug: 111132016
Change-Id: I3bc93204147502bec2e983f7ee37555294db308c
As property service is part of init, and if init is busy with built-in
command e.g. fsck, the propety_set() won't go through until the built-in
command is finished.
Move the start of hwservicemanager earlier and wait for its done after
launches bootanim and its dependencies (there is not wait time during
boot but the command is as a safeguard).
Bug: 74437368
Test: boot with simulated long fsck and bootanim shown early
Test: boot see 'start_waiting_for_property("hwservicemanager.ready", "true"): already set'
Change-Id: Iab4b857a51e0e6b8b059d063c1f0d65a0e987622
* Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram
Change-Id: Ia73d08904551dfc8d57268fc4da3f9f34d10e277
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Revert "potter: Adjust mkdir of time data files"
This reverts commit d52dd9094aab10b5d6640ebd1cba56a66ba847db.
Change-Id: I5d2e4a0849223b07bf060ec3c75c32f76710f672
Usb HAL expects data/power role switch to be supported if these are writable.
Despite our hardware can support the functionality, it does not seem to be properly implemented.
Change ownership of /sys/class/dual_role_usb entries to
system/system to allow USB HAL to access them.
Change-Id: Ie6d968180d55647813904970370dbb74012326b0
* TARGET_USES_OVERLAY and USE_OPENGL_RENDERER are largely deprecated
* Don't set triple buffering, it introduces latency
* Don't use custom VSYNC offsets
Change-Id: If2892c83726c3558a96b28a8404f49982ebb9ba0
Our camera blobs trigger some checks for broken behavior (destroyed
mutex usage, invalid pthread usage) present in newer API levels.
Change-Id: I8705437e0a5c6d80b86748bff559ce1e8a7bf716
org.codeaurora.ims has become a priv-app
to acquire some permissions we need to
whitelist the package.
Change-Id: I3f31f949e054cc79f8cff99e66cbcb70f5f0715f