Commit a1b99cdb authored by Tri Vo's avatar Tri Vo
Browse files

Fix isCompatiblePropertyEnforcedDevice() and isFullTrebleDevice()

Criterias for determining full-treble and compatible-property-enforced devices
are now:
isFullTrebleDevice:                 first_sdk>26 && ro.treble.enabled
isCompatiblePropertyEnforcedDevice: ro.actionable_compatible_property.enable

Bug: 116065892
Test: treble neverallows violations trigger failure on P device but not sailfish
Test: compat prop neverallows violations trigger failure on P device but not
sailfish.
Change-Id: Ic0df1f705a3d0c1377f1c669cf5a2323ccbe7e16
parent 05030734
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment