Loading privacymodulese/build.gradle +3 −3 Original line number Diff line number Diff line Loading @@ -7,10 +7,10 @@ android { compileSdkVersion 29 defaultConfig { minSdkVersion 24 minSdkVersion 26 targetSdkVersion 29 versionCode 3 versionName "0.4.1" versionName "0.4.2" consumerProguardFiles "consumer-rules.pro" } Loading @@ -27,7 +27,7 @@ android { } dependencies { implementation 'foundation.e:privacymodule.api:0.4.3' implementation 'foundation.e:privacymodule.api:0.5.0' implementation 'androidx.core:core-ktx:1.6.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" Loading privacymodulese/src/main/AndroidManifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -33,4 +33,8 @@ /> <uses-permission android:name="android.permission.CONTROL_VPN" tools:ignore="ProtectedPermissions" /> <application> <service android:name="foundation.e.privacymodules.location.FakeLocationService" android:enabled="true" /> </application> </manifest> privacymodulese/src/main/java/foundation/e/privacymodules/location/FakeLocationService.kt +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class FakeLocationService: Service() { override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { intent?.let { when (Actions.valueOf(it.action)) { when (it.action?.let { str -> Actions.valueOf(str) }) { Actions.START_FAKE_LOCATION -> { fakeLocation = Pair( Loading Loading
privacymodulese/build.gradle +3 −3 Original line number Diff line number Diff line Loading @@ -7,10 +7,10 @@ android { compileSdkVersion 29 defaultConfig { minSdkVersion 24 minSdkVersion 26 targetSdkVersion 29 versionCode 3 versionName "0.4.1" versionName "0.4.2" consumerProguardFiles "consumer-rules.pro" } Loading @@ -27,7 +27,7 @@ android { } dependencies { implementation 'foundation.e:privacymodule.api:0.4.3' implementation 'foundation.e:privacymodule.api:0.5.0' implementation 'androidx.core:core-ktx:1.6.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" Loading
privacymodulese/src/main/AndroidManifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -33,4 +33,8 @@ /> <uses-permission android:name="android.permission.CONTROL_VPN" tools:ignore="ProtectedPermissions" /> <application> <service android:name="foundation.e.privacymodules.location.FakeLocationService" android:enabled="true" /> </application> </manifest>
privacymodulese/src/main/java/foundation/e/privacymodules/location/FakeLocationService.kt +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class FakeLocationService: Service() { override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { intent?.let { when (Actions.valueOf(it.action)) { when (it.action?.let { str -> Actions.valueOf(str) }) { Actions.START_FAKE_LOCATION -> { fakeLocation = Pair( Loading