muzei-bingimageoftheday icon indicating copy to clipboard operation
muzei-bingimageoftheday copied to clipboard

Share menu not working on Android 10

Open utack opened this issue 4 years ago • 7 comments

Hi,

unfortunately on My OnePlus phone with Android 10 the share menu is sporadically (99% of the time) broken

Logcat tells the following messages every time it is not working:

03-01 14:46:03.418 7103 7123 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@486bd34[MuzeiActivity] 03-01 14:46:03.426 1445 3728 D OemSceneCallBlock: isCallBlockedWithUidIntent { act=android.intent.action.CHOOSER flg=0x10000000 cmp=android/com.android.internal.app.ChooserActivity (has extras) }, ResolveInfo{46f8dd6 android/com.android.internal.app.ChooserActivity m=0x108000} 03-01 14:46:03.428 1445 3728 I ActivityTaskManager: START u0 {act=android.intent.action.CHOOSER flg=0x10000000 cmp=android/com.android.internal.app.ChooserActivity (has extras)} from uid 10348 pid 7359 03-01 14:46:03.428 1445 3728 W ActivityTaskManager: Background activity start [callingPackage: de.devmil.muzei.bingimageofthedayartsource; callingUid: 10348; isCallingUidForeground: false; isCallingUidPersistentSystemProcess: false; realCallingUid: 10348; isRealCallingUidForeground: false; isRealCallingUidPersistentSystemProcess: false; originatingPendingIntent: null; isBgStartWhitelisted: false; intent: Intent { act=android.intent.action.CHOOSER flg=0x10000000 cmp=android/com.android.internal.app.ChooserActivity (has extras) }; callerApp: ProcessRecord{5551b50 7359:de.devmil.muzei.bingimageofthedayartsource/u0a348}] 03-01 14:46:03.431 1445 3728 E ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start 03-01 14:46:03.435 2077 2085 E ANDR-IOP: io prefetch is disabled

Do you have an idea why this might be happening? Maybe it is related to https://developer.android.com/guide/components/activities/background-starts that was changed with Android 10 When I go to muzei settings, and open the bing image settings, it seems to count as "recently started" and the share menu shows up directly after A solution would be great

utack avatar Mar 01 '20 13:03 utack