Code Monkey home page Code Monkey logo

muzei-bingimageoftheday's Introduction

muzei-bingimageoftheday's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

muzei-bingimageoftheday's Issues

Share menu not working on Android 10

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

Upgrade to the new Muzei API 3.0

Hi Michael,

there is the new Muzei API out which solves also issues like #4 . Do you have any plans/time to upgrade to the new API level? Would be great to hear from the author of the best Muzei plugin!

BTW: Thank you for the great work. Your plugin makes my daily use of my phone better. ๐Ÿ‘

Incompatible API use in your codes.

Hi,
We notice that you use com.android.volley as an external library. this library use API like "<org.apache.http.HttpEntity: java.io.InputStream getContent()>", "<org.apache.http.impl.cookie.DateUtils: java.lang.String formatDate(java.util.Date)>" that are already removed after SDK level 23. These API use are very likely to cause crash to your app because the minSDKVersion of your APP is 17.

There are exist reachable path from your code to these api. For example, the reachable path to the first API we mentioned above is:
<de.devmil.muzei.bingimageoftheday.BingImageOfTheDayArtSource: void onTryUpdate(int)>
--><de.devmil.muzei.bingimageoftheday.cache.BingImageCache: void ensureMissingImages()>
--><de.devmil.muzei.bingimageoftheday.cache.ImageDownloader: void download(java.util.List)>
--><de.devmil.muzei.bingimageoftheday.cache.ImageDownloader: void processNextQueueItem()>
--><de.devmil.muzei.bingimageoftheday.cache.ImageDownloadRequest: void download(android.content.Context,android.net.Uri)>
--><com.android.volley.toolbox.Volley: com.android.volley.RequestQueue newRequestQueue(android.content.Context)>
--><com.android.volley.toolbox.Volley: com.android.volley.RequestQueue newRequestQueue(android.content.Context,com.android.volley.toolbox.HttpStack)>
--><com.android.volley.RequestQueue: void start()>
--><com.android.volley.NetworkDispatcher: void run()>
--><com.android.volley.toolbox.BasicNetwork: com.android.volley.NetworkResponse performRequest(com.android.volley.Request)>
--><com.android.volley.toolbox.BasicNetwork: byte[] entityToBytes(org.apache.http.HttpEntity)>
--><org.apache.http.HttpEntity: java.io.InputStream getContent()>

We use android studio to analyze your app's apk file, and we also find methods in org.apache.http.HttpEntity don't have definition, they are all referenced methods which need android platform to support.
selection_002

more bugs, please refer to this file below.
de.devmil.muzei.bingimageofthedayartsource_5.apk.txt

We cannot make 100% sure about the reachable path, so we need your help to check whether it is reachable from your code to these unsupported API. Thanks very much.

best regards,

Dongjie He

Image tend to stuck after several days

Works great except it tends to stuck on the same image after several days of usage. Workaround to unstuck is to go to the plugin settings and then press back button, then it works again for several days.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.