oasisfeng / island

Island for Android
https://play.google.com/store/apps/details?id=com.oasisfeng.island
Apache License 2.0
2.7k stars 203 forks source link

Island apps open android.permission #274

Open Dog404 opened 3 years ago

Dog404 commented 3 years ago

OP7Pro Andrid11 aosp msg: java.lang.SecurityException: get application info: Requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS. stacktrace: java.lang.SecurityException: get application info: Requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS. at android.os.Parcel.createExceptionOrNull(Parcel.java:2373) at android.os.Parcel.createException(Parcel.java:2357) at android.os.Parcel.readException(Parcel.java:2340) at android.os.Parcel.readException(Parcel.java:2282) at android.content.IClipboard$Stub$Proxy.getPrimaryClipDescription(IClipboard.java:360) at android.content.ClipboardManager.getPrimaryClipDescription(ClipboardManager.java:151) at E42.getPrimaryClipDescription(chromium-ChromePublic.apk-stable-96105315:1) at WC1.c(chromium-ChromePublic.apk-stable-96105315:1) at org.chromium.chrome.browser.app.ChromeActivity.onWindowFocusChanged(chromium-ChromePublic.apk-stable-96105315:8) at org.chromium.chrome.browser.ChromeTabbedActivity.onWindowFocusChanged(chromium-ChromePublic.apk-stable-96105315:1) at Ue.onWindowFocusChanged(chromium-ChromePublic.apk-stable-96105315:1) at gi.invoke(chromium-ChromePublic.apk-stable-96105315:3) at java.lang.reflect.Proxy.invoke(Proxy.java:1006) at $Proxy1.onWindowFocusChanged(Unknown Source) at com.android.internal.policy.DecorView.onWindowFocusChanged(DecorView.java:1693) at android.view.View.dispatchWindowFocusChanged(View.java:14582) at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1502) at android.view.ViewRootImpl.handleWindowFocusChanged(ViewRootImpl.java:3262) at android.view.ViewRootImpl.access$1200(ViewRootImpl.java:194) at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:5053) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7666) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

oasisfeng commented 3 years ago

When did that happen?

Hydra119 commented 3 years ago

When did that happen?

As an Island User, assuming that this is your forum, and without knowing very much about the code, or about how actual coding works, in general, beyond what I skimmed of the OP's post, I'm curious to know the implications of this?

Seems like the Android OS is now asking Island for new security permissions? Or no...?

DroidFreak32 commented 2 years ago

@Dog404 Did you have a "clipboard access alerts" feature enabled on your custom ROM when you faced this issue? The app, when it requests for clipboard access will trigger this crash since this custom ROM feature probably cannot determine what is the app (since it is in an isolated environement). Disabling this feature fixed this issue for me.

lfom commented 1 year ago

I had a bunch of apps crashing when using Island/Work Profile, and indeed disabling "clipboard access alerts" fixed the problem (A11 custom ROM). Thanks, @DroidFreak32!

H-saeedi commented 1 year ago

در تاریخ شنبه ۷ ژانویهٔ ۲۰۲۳،‏ ۲۰:۲۸ lfom @.***> نوشت:

I has a bunch of apps crashing when using Island/Work Profile, and indeed disabling "clipboard access alerts" fixed the problem (A11 custom ROMS). Thanks, @DroidFreak32 https://github.com/DroidFreak32 !

— Reply to this email directly, view it on GitHub https://github.com/oasisfeng/island/issues/274#issuecomment-1374539558, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQYUZTRFEAGT4O46QAFDV3WRGOCRANCNFSM5EXEAQFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

HidingCherry commented 3 months ago

I had an equivalent issue but subtle - there was no app crash. I tried to unfreeze the Contacts App, but there was a package manager error. I had to use the following line:

adb shell pm grant com.oasisfeng.island android.permission.INTERACT_ACROSS_USERS

source: https://www.reddit.com/r/tasker/comments/k6lpmc/project_sharehowto_integrating_tasker_with_island/