Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd52965c authored by Daniel Zheng's avatar Daniel Zheng
Browse files

update moisture sensor permissions

Previously thought in the discussion under ag/33001325 that it was
possible to add a normal install time permission that is rejected by
play store for reading the moisture sensor. This sensor is only used by
system components so we can update it to signature | privileged and
prevent 3p apps from accessing.

Bug: 371291781
Flag: com.android.tradeinmode.flags.trade_in_mode_2025q4
Test: th
Change-Id: I2632616f4c943bebcc979e563d01792d77e2aba1
parent 9ebc62dd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1857,12 +1857,12 @@
                android:protectionLevel="normal" />

    <!-- Allows an app to access moisture intrusion sensor data
        <p>Protection level: normal
        <p>Protection level: signature | privileged
         @hide
    -->
    <permission android:name="android.permission.READ_MOISTURE_INTRUSION"
                android:permissionGroup="android.permission-group.SENSORS"
                android:protectionLevel="normal"
                android:protectionLevel="signature|privileged"
                android:featureFlag="com.android.tradeinmode.flags.trade_in_mode_2025q4"/>

    <!-- Allows an application to access data from sensors that the user uses to