Following ag/25368073 as reference with the same justification.
Bug: 312091052
Test: atest PersistentBackgroundCameraServicesTests
Flag: EXEMPT SEPolicy refactoring to make CHD happy
Change-Id: If8810323750c2149b4624f8deffee1cd5c1ce36e
am skip reason: Merged-In I92a4a0fcec18e459b899a4da7ed13527197fe64b with SHA-1 8be8b3d6ef is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3131619
Change-Id: I050334784a9ad1206a6c4cd8dc46654eb52d958c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I92a4a0fcec18e459b899a4da7ed13527197fe64b with SHA-1 8be8b3d6ef is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3131619
Change-Id: I82ee04b923ae1f196d1f943ddd9e947d64bce8fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Assign a higher I/O priority to foreground I/O compared to background
I/O to improve responsiveness of the foreground app.
The command below shows that this CL has the intended effect on a device
with kernel 5.10:
$ adb shell 'cd /dev/blkio && grep -aH . blkio.prio.class background/blkio.prio.class'
blkio.prio.class:none-to-rt
background/blkio.prio.class:restrict-to-be
From a device with an Android 6.1 kernel:
$ grep -aH . blkio.prio.class background/blkio.prio.class'
blkio.prio.class:promote-to-rt
background/blkio.prio.class:restrict-to-be
Bug: 347109476
Change-Id: I6f1ea6a89a8dfaa223e8d2a82917b4de2d7bf1cf
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This reverts commit b4a21a0e14.
Reason for revert: <TalkBack issue cause by this patch. We always include the voice_packs.mk for non factory target >
Bug: 140145973
Change-Id: I865ff7b4d2d25d0135d5df742c201fcc00b0525e
TTS voice packs are better to be common for all devices
So the other device configs can have the common TTS voice packs
for the device build by "gs-common/device.mk"
And see doc, Preload Google Text-to-Speech (TTS) Voice Packs:
The voice packs are dowloanded follow the steps.
Bug: 333626474
Bug: 140145973
Test: build passed and manual test
Change-Id: Idebba7ef2e69d0e9d2f30a94cbbcf70d2e3568d5
(cherry picked from commit 68ef072a54)
This reverts commit b52878371b.
Reason for revert: <Need preload TTS voice packs. If we need this patch, please just phase in the factory branch>
Bug: 140145973
Change-Id: Iacbe0cac6f7d68eac8b2155795e918edd1e73e25
Usage:
$> setprop vendor.touch.gti0.ical.override.result RESULT
The designate RESULT to be used for the designate CMD.
If no RESULT assign, the default value will be "0 - -2147483648".
$> setprop vendor.touch.gti0.ical.override.cmd CMD
The result of designate CMD(e.g. 202 or 301) to be overrode by the
designate RESULT. If the CMD is "xxx", the result of any CMD will
be overode with the designate RESULT.
Bug: 341021854
Test: manual test
Change-Id: I3d24618e240b4a966b5a76a33ed9ab96503a3257
Signed-off-by: Super Liu <supercjliu@google.com>
Move the rules from ag/27080484
Bug: 315915958
Test: build pass and GPS function works
Change-Id: I730a7af2b8456ae4a350dbd0d6bdbfe7d3484b18
Merged-In: I730a7af2b8456ae4a350dbd0d6bdbfe7d3484b18
When updating aocx service to use binder ndk backend, we get this
selinux violation:
SELinux : avc: denied { add } for pid=2772 uid=0 name=aocx.IAocx scontext=u:r:aocxd:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
TEST:
adb push out/target/product/tangorpro/vendor/etc/selinux/* /vendor/etc/selinux
adb reboot
adb shell aocx_tool list
BUG: 343998265
Change-Id: I1e4f554abfe02f33328c851f7da64c671d8f4cb7
Initial a specific build folder for fingerprint, we need to include the mk file on specific build.
Bug: 342335081
Test: Local build and sepolicy tests passed.
Change-Id: I8b8522ed949abc586ebab2efe4061f5e4b6cdde0
Adds file_contexts entries for the files representing new AOC services
used by a new transport between CHRE on AOC and the bthal.
NOTE: The use-case for these files is the same as the
/dev/acd-com.google.bt* files (lines 23-24). Those files will eventually
be removed when we migrate from the old USF-based transport to the one
under development.
Bug: 342415506
Test: Works with other CLs in topic to support BT offload over the new
transport (with a local change to hook the new transport in).
Change-Id: I81246a25af020ab14da3d4ae7675f2a0f00f97be