Skip to content

Commit e5b4910

Browse files
author
Rocky Fang
committed
Add Aconfig flag for skipping check on old target sdk.
Flag: com.android.frameworks.sensorservice.flags.enforce_permissions_for_all_target_sdk Bug: 389176817 Change-Id: I48c74fa5ca0431b9fffc3f0c1da3088ea7e78ad7 Test: Presubmit
1 parent 1c0656d commit e5b4910

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

services/sensorservice/sensorservice_flags.aconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,13 @@ flag {
2828
description: "When this flag is enabled, sensor service will only erase dynamic sensor data at the end of the threadLoop to prevent race condition."
2929
bug: "329020894"
3030
}
31+
32+
flag {
33+
name: "enforce_permissions_for_all_target_sdk"
34+
namespace: "sensors"
35+
description: "When this flag is enabled, sensor service will enforce permissions for all target sdks."
36+
bug: "389176817"
37+
metadata {
38+
purpose: PURPOSE_BUGFIX
39+
}
40+
}

0 commit comments

Comments
 (0)