Commit Graph

12 Commits

Author SHA1 Message Date
jeangraff30
5d7dcdfc69 msm8953: kang light hal from moto msm8937 tree 2021-01-31 18:24:06 -03:00
Vachounet
d92733b312 msm8953-common: Add homebutton perms and address denials
Signed-off-by: trpsl <trpsl755@gmail.com>
2021-01-03 21:39:10 -03:00
Joshua Blanchard
20bb266be8 msm8953-common: Give audio hal access to prox and spkr calibration data
* Speaker (and receiver) calibration files are located on persist
  partition. Grant audio permission to find and read these files.

* Moto's libspeakerbundle needs access to the proximity sensor,
  so allow it to find sensorservice so MotSpeakerHelperProximity
  can instantiate SensorManager.

Change-Id: I888a424fc1c42dea0f130adfc74e02e47927e2b8
2021-01-03 21:39:10 -03:00
Joshua Blanchard
42e6a9e1f8 msm8953-common: sepolicy: Allow camera to read and set calibration data
Change-Id: I9a3d852fd2ac4501f1b38c2660fef366e1f26e30
2021-01-03 21:39:10 -03:00
Aayush Gupta
a791807e4d msm8953-common: Address denials regarding to access sysfs_kgsl
[   45.239076] type=1400 audit(1601312101.298:24): avc: denied { search } for comm="DefaultPool5" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.google.android.apps.maps

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
2020-11-22 18:17:13 +01:00
jhenrique09
b71e1a0a79 msm8953-common: Fix portrait mode on moto cam
* Moto cam checks for hwrev prop to allow portrait mode
2020-11-19 20:50:32 +01:00
jeangraff30
c4b73d6758 msm8953-common: Update sepolicy 2020-11-16 03:49:48 +01:00
Erfan Abdi
6f64594d42 msm8953-common: Move egis_input sepolicy to genfs 2020-11-15 21:16:05 +01:00
trpsl
675d96b639 msm8953-common: Address Dolby denials
Co-authored-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2020-11-15 21:16:05 +01:00
jeangraff30
d68a31c631 msm8953-common: sepolicy: Address light hal 2020-11-15 21:16:05 +01:00
jeangraff30
7535f9d5ae msm8953-common: Import sepolicy from sdm660 tree 2020-11-15 21:16:02 +01:00
jeangraff30
1220e128cd msm8953-common: Initial Common tree
* based on motorola sdm632-common

Co-authored-by: Jorg3Lucas <jorgelucas@pixelexperience.org>
2020-11-09 18:04:50 +01:00