* RenderScript is deprecated on newer platforms and
is being officially replaced.
* On April 19, 2021, Google announced that RenderScript
will be deprecated in Android 12, and recommended
porting existing code to Vulkan.
https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html
Signed-off-by: pix106 <sbordenave@gmail.com>
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:
"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"
It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM660, so relax the
enforcement to avoid triggering millions of neverallows.
ref:
[1] afc09932f6
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This is to avoid failed QCOM HAL resolution.
Some roms uses BoardConfigQcom.mk and some roms uses BoardConfigQcom.mk.
So adding it into poth product and broad won't be an issue.
Signed-off-by: pix106 <sbordenave@gmail.com>
required libraries in build system is [] vs qcom.fmradio in 8920992b43/fmapp2/AndroidManifest.xml (L63)
note for me: reset this and rm qcom.fmradio library from fm-commonsys
Signed-off-by: pix106 <sbordenave@gmail.com>
* WIFI_DRIVER_OPERSTATE_PATH is no longer needed,
also it's not ported to 17.0.
Change-Id: Idfa7fb69428642300da2ddc6825774c9e692e648
(cherry picked from commit b0843343defd26622b503606b73a1a8080f1a70b)
Signed-off-by: pix106 <sbordenave@gmail.com>
Treble is fully enabled for all devices launched with API level 26 or higher
(which applies to all the targets of this common tree), therefore there's
really no need to override it.
Change-Id: Ia79aebda7fb922762f83948d0c19a6356ce343a8
Signed-off-by: pix106 <sbordenave@gmail.com>
* Dead since Q, where XML audio policies weren't enforced yet
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Should fix bootloops on ROMs which require APEX to boot, such as EvoX
* If APEX is being flattened, disable it manually as well since some ROMs have it enabled by default, even if we flatten it.
* Needs Kernel side support
* This activates kernelspace battery saver via powerhal whenever
battery saver is enabled in userspace, thereby lowering power
consumption at kernel-level by disabling boosts and such
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Change-Id: I2623503db27d7518de519bcaa3f5af6ab83879d0
init and friends are getting ratelimted on /dev/kmsg. Let's keep
the logs by setting printk.devkmsg=on.
Bug: 62952768
Test: Check for init logs in kernel during boot
Change-Id: I103e3cc1d73880af1d9a0cdc4dae05223eb4c427
* Adjust with wayne-common
* Switch to standalone extract utils from pa
* Update FCM level to 3
* Move IR Blaster to device specific repo
Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
to fix error: build/make/core/base_rules.mk:329: error: device/xiaomi/sdm660-common/data-ipa-cfg-mgr/hal: MODULE.TARGET.SHARED_LIBRARIES.liboffloadhal already defined by vendor/qcom/opensource/data-ipa-cfg-mgr/hal.
Signed-off-by: etahamad <220190166@fa-hists.edu.eg>
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.
Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.
The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.
Test: booted on Walleye, saw no more messages:
[ 472.412555] c0 5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.
Bug: 71936484
Change-Id: Ie585f2ce5dec429510cc6c00452dc4d49f1372a0
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:
1. The B1C1 bootloader ignores all the offset values for kernel, ramdisk
and tags. The default B1C1 memory layout has been designed to accomodate
a larger KASAN kernel.
2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile
Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.
Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
Signed-off-by: OdSazib <odsazib@gmail.com>
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.
Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.
The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.
Test: booted on Walleye, saw no more messages:
[ 472.412555] c0 5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.
Bug: 71936484
Change-Id: Ic655f2ce6dec429510cc7c00452da4d49f2392b0
* Remove unnecessary dependencies on liblbs_core.so
* Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
building w/o BSP.
Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder