Advanced Privacy Location crash
On an S7 Herolte with /e/OS 1.2-20220725206061 (I didn't try with the previous releases).
- Go to Preferences of Advanced Privacy
- Go to
Gérer ma position
withLocalisation Spécifique
- Scroll on the little map a few times
- Crash of the app
- You can't ener in the configuration of the app without rebooting your phone.
Here is the log
😞
08-04 14:36:08.628 30829 30861 E AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1
08-04 14:36:08.628 30829 30861 E AndroidRuntime: Process: foundation.e.advancedprivacy, PID: 30829
08-04 14:36:08.628 30829 30861 E AndroidRuntime: java.lang.IllegalArgumentException: Provider "network" already exists
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2075)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2039)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1987)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at android.location.ILocationManager$Stub$Proxy.addTestProvider(ILocationManager.java:2022)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at android.location.LocationManager.addTestProvider(LocationManager.java:1461)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at foundation.e.privacymodules.location.FakeLocationModule.startFakeLocation(FakeLocationModule.kt:44)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at foundation.e.privacycentralapp.domain.usecases.FakeLocationStateUseCase.applySettings(FakeLocationStateUseCase.kt:82)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at foundation.e.privacycentralapp.domain.usecases.FakeLocationStateUseCase.applySettings$default(FakeLocationStateUseCase.kt:75)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at foundation.e.privacycentralapp.domain.usecases.FakeLocationStateUseCase$1$invokeSuspend$$inlined$collect$1.emit(Collect.kt:133)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at kotlinx.coroutines.flow.StateFlowImpl.collect(StateFlow.kt:348)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at foundation.e.privacycentralapp.domain.usecases.FakeLocationStateUseCase$1.invokeSuspend(FakeLocationStateUseCase.kt:200)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
08-04 14:36:08.628 30829 30861 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
08-04 14:36:08.637 3757 30874 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
08-04 14:36:08.640 30829 30861 I Process : Sending signal. PID: 30829 SIG: 9
08-04 14:36:08.671 3757 9995 I ActivityManager: Process foundation.e.advancedprivacy (pid 30829) has died: fore SVC
08-04 14:36:08.672 3757 9995 W ActivityManager: Scheduling restart of crashed service foundation.e.advancedprivacy/org.torproject.android.service.OrbotService in 0ms
08-04 14:36:08.672 3757 9995 W ActivityManager: Scheduling restart of crashed service foundation.e.advancedprivacy/foundation.e.privacymodules.location.FakeLocationService in 0ms
08-04 14:36:08.672 3757 9995 W ActivityManager: Scheduling restart of crashed service foundation.e.advancedprivacy/foundation.e.privacymodules.trackers.DNSBlockerService in 0ms
08-04 14:36:08.673 3536 3536 I Zygote : Process 30829 exited due to signal 9 (Killed)
The manipulation comes after the line :
08-04 14:35:49.732 29268 29268 W advancedprivac: Couldn't clamp region space as there are regions in use beyond growth limit.
Hope this help the developpers !
Edited by Nicolas Gelot