Commit Graph

9 Commits

Author SHA1 Message Date
basamaryan
3df5cd506c
sm6150-common: Commonize sepolicy
Taken from davinci, courbet, surya, sweet, and sweet2

Change-Id: Ie9bd3354d42a36e88004ee77343e0da5397a0eba
2024-10-15 13:25:09 -04:00
danielml
54a261cbd5
sm6150-common: sepolicy: Follow stock label for ro.product.mod_device
* This allows us to dynamically override the property from vendor_init

Change-Id: Id80b60028e78ae1fcc9236f66570a27759ecbdc4
Signed-off-by: danielml <daniel@danielml.dev>
2024-04-10 13:26:48 -04:00
Sebastiano Barezzi
6d2810da32 sm6150-common: sepolicy: Bringup property_contexts for Android 13
Change-Id: I60070ba7658ce262be66ee3bdd0cb6cdcf9b8c49
2023-06-05 11:38:04 +02:00
Arian
5a4c03d68e sm6150-common: sepolicy: Move xiaomi specific property labels to vendor
Change-Id: I4f2f5e2ee9b0751e3af14fbb1cd4ab93814755f8
2021-12-29 10:19:42 +00:00
Arian
1edab42a1a Revert "davinci: sepolicy: Label manufacturer prop used by camera hal"
This is labelled in system/sepolicy as build_prop now

This reverts commit 50625df1c3.

Change-Id: Ia744a2c2eba1c6aade04e29c975c6b8bc26c9fee
2021-12-29 10:19:01 +00:00
Arian
28af42ef6e
davinci: sepolicy: Label properties to avoid denials
Change-Id: Id07b6977e6ef19bd2c9d6867e06073c8364c57d3
2020-10-10 21:43:31 +02:00
Arian
c41825b8c2
davinci: sepolicy: Label hwc and hwversion properties
Change-Id: I2c433eb307d63e0ca8fa4e4da664c649cdd0c4c2
2020-10-10 21:43:31 +02:00
Demon000
a4562cf819
davinci: sepolicy: Label property used by ril
Change-Id: I05e3a823cdfbbd995791769ea3774ebd064f6f12
2020-10-10 21:43:31 +02:00
Demon000
50625df1c3
davinci: sepolicy: Label manufacturer prop used by camera hal
Big brained Xiaomi checks if this device is a Xiaomi device before
giving access to auxiliary cameras.

Change-Id: Ife6587148824cd6b68e634ca0b999d4f380b20ce
2020-10-10 21:43:31 +02:00