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

Commit 13ad8d98 authored by Daniel Zheng's avatar Daniel Zheng
Browse files

add permission for moisture sensor

Bug: 371291781
Flag: com.android.tradeinmode.flags.trade_in_mode_2025q4
Test: th
Change-Id: I530ebcf09937acd607ba97ddf120207c1b9599e7
parent cdd7c766
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@ android_app {
        "telephony_flags",
        "update_engine_aconfig_declarations",
        "appsearch_aconfig_flags",
        "aconfig_trade_in_mode_flags",
    ],
}

+9 −0
Original line number Diff line number Diff line
@@ -1853,6 +1853,15 @@
                android:description="@string/permdesc_highSamplingRateSensors"
                android:protectionLevel="normal" />

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

    <!-- Allows an application to access data from sensors that the user uses to
         measure what is happening inside their body, such as heart rate.
         <p>Protection level: dangerous -->