Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in work profile #200

Open
Ammar-A7med opened this issue Feb 8, 2025 · 2 comments
Open

bug in work profile #200

Ammar-A7med opened this issue Feb 8, 2025 · 2 comments

Comments

@Ammar-A7med
Copy link

when i try to open file by clicking open file picker in work profile app (its feature on android and u can mange it by apps like shelter)
its crashed and ahow that :
App version: 0.1.6 (ac95c8d)
Android version: 10 (29)
Device brand: OPPO
Device manufacturer: OPPO
Device model: CPH1911 (OP4883)
MPV version: v0.38.0-743-gad7976c33e
ffmpeg version: 0b6d7cd9d9
libplacebo version: v7.349.0 (v7.349.0-9-gefb89342)

  Exception:
  android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2058)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1716)
at android.app.Activity.startActivityForResult(Activity.java:5331)
at androidx.activity.ComponentActivity.startActivityForResult(SourceFile:2)
at androidx.activity.ComponentActivity$activityResultRegistry$1.onLaunch(SourceFile:314)
at androidx.activity.result.ActivityResultRegistry$register$3.launch(SourceFile:26)
at androidx.activity.compose.ActivityResultLauncherHolder.launch(SourceFile:5)
at androidx.activity.compose.ManagedActivityResultLauncher.launch(SourceFile:3)
at live.mehiz.mpvkt.ui.home.HomeScreen$Content$2$$ExternalSyntheticLambda3.invoke(SourceFile:80)
at androidx.compose.runtime.Recomposer$effectJob$1$1.invoke(SourceFile:169)
at androidx.compose.foundation.gestures.TapGestureDetectorKt$detectTapAndPress$2$1.invokeSuspend(SourceFile:134)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.JobKt.resume(SourceFile:79)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(SourceFile:105)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(SourceFile:33)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(SourceFile:17)
at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.dispatchPointerEvent(SourceFile:51)
at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.onPointerEvent-H0pRuoY(SourceFile:31)
at androidx.compose.foundation.AbstractClickableNode.onPointerEvent-H0pRuoY(SourceFile:103)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(SourceFile:157)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(SourceFile:136)
at androidx.core.view.MenuHostHelper.dispatchChanges(SourceFile:36)
at androidx.compose.material.ripple.StateLayer.process-BIzXfog(SourceFile:142)
at androidx.compose.ui.platform.AndroidComposeView.sendMotionEvent-8iAsVTc(SourceFile:81)
at androidx.compose.ui.platform.AndroidComposeView.handleMotionEvent-8iAsVTc(SourceFile:383)
at androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent(SourceFile:76)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3131)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2788)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3131)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2788)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3131)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2788)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3131)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2788)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:528)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1857)
at android.app.Activity.dispatchTouchEvent(Activity.java:4105)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:478)
at android.view.View.dispatchPointerEvent(View.java:13887)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6208)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5946)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5399)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5459)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5418)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5583)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5426)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5640)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5399)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5459)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5418)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5426)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5399)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8355)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8324)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8275)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8494)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:188)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:336)
at android.os.Looper.loop(Looper.java:184)
at android.app.ActivityThread.main(ActivityThread.java:7830)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@290327c, androidx.compose.runtime.BroadcastFrameClock@eaf7705, StandaloneCoroutine{Cancelling}@9d7635a, AndroidUiDispatcher@296e98b]

  
  Logcat:
@helpless69
Copy link

idk but seems like you don't have any files app in work profile, maybe install this in work profile (or you can install from shelter as well)

@Ammar-A7med
Copy link
Author

idk but seems like you don't have any files app in work profile, maybe install this in work profile (or you can install from shelter as well)

I already install files by google but the same issue
I think its because security restrictions enforced by Device Policy Management on work profile
some apps like WhatsApp have the same issue and force stop when try to open files or open the camera on work profile
and other like telegram work good and have no issue
if one app work and other not work then it should be solved
I am I'm sorry to bother you, I know not a lot of people use work profile
and thx for great effort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants