in order to communicate with the modem we need permission for IPC router.
adding tloc daemon group (1026) to service 0x10
Change-Id: I3ab4a37bbed3fd496a73ffa7d12f908d8d8b8c36
CRs-Fixed: 1106225
Removed NFC data directory creation to fix
vendor_init access denial issue.
NFC data directoty is already being created
by system core init.rc.
Change-Id: I7ebb88dc7b2df988a8af477baa81fe9253030ffb
To support end-to-end DRM content playback with SG List feature,
android.hardware.drm@1.0-service needs to have access permission
to /dev/qce to map & unmap ION buffer virtual address with HW Crypto
Engine. So, set /dev/qce device permission 0660 and let it be
accessible by user "system" and group "drmrpc".
Change-Id: If9c0ed70acc2bb063344692374f51441fe84eff6
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.
Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
Changing permission for IOP from 0770 to 0700. This is to restrict the
access for iop database file.
Change-Id: Ic3325595521d4e433d0ce9bada564fc599cf858c
-Remove default setting of sampling rate to 48K and stereo channel
for bt a2dp as support for multiple sampling rates and channels
over a2dp is added and being set from hal.
Change-Id: I8a40182af0d97b31b136a1928cbbe6f728eb950f
Internal codec has a direct connection between
ADC1 and AMIC1. Add a switch to prevent default
powering up of AMIC1.
CRs-Fixed: 2058182
Change-Id: If00b3d239655d2ecc77654ab379bbc0bd57e5b0d
non-hdmi devices
Keep_alive can now handle silence playback on multiple concurrent
devices such as primary output devices as well as HDMI
Change-Id: Icdf22c9d8d1264d463b23c8f54020e792840b73c
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.
Change-Id: I9aab6ef04bb941533261740723ffcf78645d3e1e
No Audio heard in FM Speaker when FM record and FM speaker are on simultaneously
With default values for maxActiveCount and maxOpenCount,
FM app is unable to record and play FM audio on speaker simultaneously
since it uses application loop back(AudioRecord->AudioTrack)
to route FM audio to non-default devices(Speaker)
Add attributes maxActiveCount="2" and maxOpenCount="2" to mixPort "primary input"
CRs-fixed: 2249758
Change-Id: I82a1cb0d5596486d531d5324b91f932f52b07f9e
Time folder is for time_daemon which is in vendor partition. Vendor
module can't access data in /data for treble limit. So change
/data/time to /data/vendor/time.
Change-Id: If3420ec92fa79f8d7c98a1e20c12f148b0fd7894
* Speaker isn't properly calibrated with ACDB from O-based MIUI (while
it was on N), pop is heard when disabling speaker.
* MIUI has speaker protection enabled, hence this route isn't even
used by Xiaomi. However, with speaker protection enabled on Lineage,
the volume curve became very strange, maybe Xiaomi uses Dirac audio
effect to address this issue on MIUI, but it's not supported on AOSP.
* Fortunately voice speaker seems to be properly calibrated, so apply
that route to fix the issue.
* Voice speaker gain in ACDB seems to be lower than speaker, so
slightly increase gain in mixer paths to make it sound like a "normal"
speaker.
Change-Id: Ic674973933595db0ae797a7fa767539a321664ff
Required because the lights need to be turned off late in boot
(e.x. during fsck for disk health), and before, blank_screen
accessing light encountered a race condition where if it didn't
get scheduled before all of the processes which were getting
shutdown were getting killed, the screen wouldn't blank.
Bug: 74976325
Test: adjusting brightness continues to work
Test: screen blanks during shutdown at the correct time
including when an artificial 5s delay is inserted when
the phone normally fscks (which can also be quick)
Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3