While using Tesla (com.teslamotors.tesla): app, LocationManager: java.lang.RuntimeException: Lack of permission
- /e/ version:
1.15-beta-s-20230824323447-stable-redfin
- Device model(s): redfin
- Developer mode enabled: yes
- Device rooted: no
- Trackers blocker enabled: yes
Summary
While using Tesla (com.teslamotors.tesla): app, LocationManager: java.lang.RuntimeException: Lack of permission
The problem
Steps to reproduce
- Casually navigate into the carging point related options
What is the current behavior?
What is the expected correct behavior?
Technical informations
Relevant logs (adb logcat
)
73747 08-30 15:47:16.030 3458 3458 W LocationManager: Exception while checking for WorkSource{10195 com.teslamotors.tesla}
73748 08-30 15:47:16.030 3458 3458 W LocationManager: java.lang.RuntimeException: Lack of permission
73749 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager$Companion$LocationReques tHolder.check(LocationRequestManager.kt:417)
73750 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.check(LocationRequestMan ager.kt:224)
73751 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.checkWhileHighAccuracy(L ocationRequestManager.kt:249)
73752 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.access$checkWhileHighAcc uracy(LocationRequestManager.kt:33)
73753 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager$checkWhileHighAccuracy$1 .invokeSuspend(Unknown Source:14)
73754 08-30 15:47:16.030 3458 3458 W LocationManager: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl .kt:33)
73755 08-30 15:47:16.030 3458 3458 W LocationManager: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
73756 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.drainQueue(DispatchQueue.kt:75)
73757 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.enqueue(DispatchQueue.kt:112)
73758 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.dispatchAndEnqueue$lambda-2$lambda-1(DispatchQ ueue.kt:100)
73759 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.$r8$lambda$G2ay370n_s_ksSHUJaD9zIU8eCw(Unknown Source:0)
73760 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue$$ExternalSyntheticLambda0.run(Unknown Source:4 )
73761 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Handler.handleCallback(Handler.java:938)
73762 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Handler.dispatchMessage(Handler.java:99)
73763 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Looper.loopOnce(Looper.java:201)
73764 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Looper.loop(Looper.java:288)
73765 08-30 15:47:16.030 3458 3458 W LocationManager: at android.app.ActivityThread.main(ActivityThread.java:7870)
73766 08-30 15:47:16.030 3458 3458 W LocationManager: at java.lang.reflect.Method.invoke(Native Method)
73767 08-30 15:47:16.030 3458 3458 W LocationManager: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:54 8)
73768 08-30 15:47:16.030 3458 3458 W LocationManager: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
73769 08-30 15:47:16.030 3458 3458 W LocationManager: Exception while checking for WorkSource{10195 com.teslamotors.tesla}
73770 08-30 15:47:16.030 3458 3458 W LocationManager: java.lang.RuntimeException: Lack of permission
73771 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager$Companion$LocationReques tHolder.check(LocationRequestManager.kt:417)
73772 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.check(LocationRequestMan ager.kt:224)
73773 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.checkWhileHighAccuracy(L ocationRequestManager.kt:249)
73774 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.access$checkWhileHighAcc uracy(LocationRequestManager.kt:33)
73775 08-30 15:47:16.030 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager$checkWhileHighAccuracy$1 .invokeSuspend(Unknown Source:14)
73776 08-30 15:47:16.030 3458 3458 W LocationManager: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl .kt:33)
73777 08-30 15:47:16.030 3458 3458 W LocationManager: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
73778 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.drainQueue(DispatchQueue.kt:75)
73779 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.enqueue(DispatchQueue.kt:112)
73780 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.dispatchAndEnqueue$lambda-2$lambda-1(DispatchQ ueue.kt:100)
73781 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.$r8$lambda$G2ay370n_s_ksSHUJaD9zIU8eCw(Unknown Source:0)
73782 08-30 15:47:16.030 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue$$ExternalSyntheticLambda0.run(Unknown Source:4 )
73783 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Handler.handleCallback(Handler.java:938)
73784 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Handler.dispatchMessage(Handler.java:99)
73785 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Looper.loopOnce(Looper.java:201)
73786 08-30 15:47:16.030 3458 3458 W LocationManager: at android.os.Looper.loop(Looper.java:288)
73787 08-30 15:47:16.030 3458 3458 W LocationManager: at android.app.ActivityThread.main(ActivityThread.java:7870)
73788 08-30 15:47:16.030 3458 3458 W LocationManager: at java.lang.reflect.Method.invoke(Native Method)
73789 08-30 15:47:16.030 3458 3458 W LocationManager: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:54 8)
73790 08-30 15:47:16.030 3458 3458 W LocationManager: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
73791 08-30 15:47:16.031 3458 3458 W LocationManager: Exception while checking for WorkSource{10195 com.teslamotors.tesla}
73792 08-30 15:47:16.031 3458 3458 W LocationManager: java.lang.RuntimeException: Lack of permission
73793 08-30 15:47:16.031 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager$Companion$LocationReques tHolder.check(LocationRequestManager.kt:417)
73794 08-30 15:47:16.031 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.check(LocationRequestMan ager.kt:224)
73795 08-30 15:47:16.031 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.checkWhileHighAccuracy(L ocationRequestManager.kt:249)
73796 08-30 15:47:16.031 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager.access$checkWhileHighAcc uracy(LocationRequestManager.kt:33)
73797 08-30 15:47:16.031 3458 3458 W LocationManager: at org.microg.gms.location.manager.LocationRequestManager$checkWhileHighAccuracy$1 .invokeSuspend(Unknown Source:14)
73798 08-30 15:47:16.031 3458 3458 W LocationManager: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl .kt:33)
73799 08-30 15:47:16.031 3458 3458 W LocationManager: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
73800 08-30 15:47:16.031 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.drainQueue(DispatchQueue.kt:75)
73801 08-30 15:47:16.031 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.enqueue(DispatchQueue.kt:112)
73802 08-30 15:47:16.031 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.dispatchAndEnqueue$lambda-2$lambda-1(DispatchQ ueue.kt:100)
73803 08-30 15:47:16.031 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue.$r8$lambda$G2ay370n_s_ksSHUJaD9zIU8eCw(Unknown Source:0)
73804 08-30 15:47:16.031 3458 3458 W LocationManager: at androidx.lifecycle.DispatchQueue$$ExternalSyntheticLambda0.run(Unknown Source:4 )
73805 08-30 15:47:16.031 3458 3458 W LocationManager: at android.os.Handler.handleCallback(Handler.java:938)
73806 08-30 15:47:16.031 3458 3458 W LocationManager: at android.os.Handler.dispatchMessage(Handler.java:99)
73807 08-30 15:47:16.031 3458 3458 W LocationManager: at android.os.Looper.loopOnce(Looper.java:201)
73808 08-30 15:47:16.031 3458 3458 W LocationManager: at android.os.Looper.loop(Looper.java:288)
73809 08-30 15:47:16.031 3458 3458 W LocationManager: at android.app.ActivityThread.main(ActivityThread.java:7870)
73810 08-30 15:47:16.031 3458 3458 W LocationManager: at java.lang.reflect.Method.invoke(Native Method)
73811 08-30 15:47:16.031 3458 3458 W LocationManager: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:54 8)
73812 08-30 15:47:16.031 3458 3458 W LocationManager: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
73813 08-30 15:47:16.032 1695 2384 E AppOps : Operation not started: uid=10195 pkg=com.teslamotors.tesla(null) op=FINE_LOCATION
73814 08-30 15:47:16.034 1695 2384 E AppOps : Operation not started: uid=10195 pkg=com.teslamotors.tesla(null) op=FINE_LOCATION
73815 08-30 15:47:16.035 1695 2384 E AppOps : Operation not started: uid=10195 pkg=com.teslamotors.tesla(null) op=FINE_LOCATION
Relevant screenshots
Solutions
Workaround
Possible fixes
/cc @jonathanklee @larma