Commit d9341a6d authored by Bartek Fabiszewski's avatar Bartek Fabiszewski
Browse files

Satisfy API 34 service requirements

parent 00dd2b8a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <!-- For notifications API >= 33 -->
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
    <!-- For notifications API >= 34 -->
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION"/>

    <!-- For location API >= 21 -->
    <uses-feature android:name="android.hardware.location.gps" android:required="false" />
@@ -62,7 +65,8 @@
            android:foregroundServiceType="location" />
        <service
            android:name=".WebSyncService"
            android:exported="false" />
            android:exported="false"
            android:foregroundServiceType="dataSync"/>

        <receiver
            android:name=".RestartBroadcastReceiver"