Permalink
Commits on Feb 25, 2017
  1. Merge pull request #351 from ianhanniballake/next_artwork_activity

    Adds a 'Next Artwork' activity usable by third party launchers
    ianhanniballake committed on GitHub Feb 25, 2017
  2. Adds a 'Next Artwork' activity usable by third party launchers

    Activity is hidden from normal users, but users of launchers such as Nova Launcher can use this activity in gestures to trigger the 'Next Artwork' action.
    ianhanniballake committed Feb 25, 2017
  3. Merge pull request #350 from ianhanniballake/widget_zero_size

    Avoid scaling an image for the widget with a height/width of 0
    ianhanniballake committed on GitHub Feb 25, 2017
Commits on Feb 24, 2017
  1. Merge pull request #349 from ianhanniballake/widget_max_size

    Pre-scale widget images to avoid exceeding the maximum bitmap memory usage
    ianhanniballake committed on GitHub Feb 24, 2017
  2. Pre-scale widget images to avoid exceeding the maximum bitmap memory …

    …usage
    
    java.lang.RuntimeException: An error occurred while executing doInBackground()
     at android.os.AsyncTask$3.done(AsyncTask.java:325)
    Caused by: java.lang.IllegalArgumentException: RemoteViews for widget update exceeds maximum bitmap memory usage (used: 16384000, max: 12441600)
      at android.os.Parcel.readException(Parcel.java:1688)
      at android.os.Parcel.readException(Parcel.java:1637)
      at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.updateAppWidgetIds(IAppWidgetService.java:647)
      at android.appwidget.AppWidgetManager.updateAppWidget(AppWidgetManager.java:474)
      at android.appwidget.AppWidgetManager.updateAppWidget(AppWidgetManager.java:547)
      at com.google.android.apps.muzei.widget.AppWidgetUpdateTask.doInBackground(AppWidgetUpdateTask.java:142)
      at com.google.android.apps.muzei.widget.AppWidgetUpdateTask.doInBackground(AppWidgetUpdateTask.java:52)
    ianhanniballake committed Feb 24, 2017
  3. Merge pull request #348 from ianhanniballake/v2.3.1-beta1

    Update version numbers for Muzei 2.3.1 Beta 1
    ianhanniballake committed on GitHub Feb 24, 2017
  4. Merge pull request #347 from ianhanniballake/widget

    Add an app widget with a next artwork action
    ianhanniballake committed on GitHub Feb 24, 2017
  5. Remove the example-contract-widget module

    As the app widget was incorporated into Muzei itself (with improvements), this separate example is no longer useful.
    ianhanniballake committed Feb 24, 2017
  6. Add an app widget with next artwork action

    Allow quick access to a next artwork action through an expandable app widget that shows a non-blurred version of your background.
    ianhanniballake committed Feb 24, 2017
  7. Merge pull request #346 from ianhanniballake/synchronized_gallery

    Prevent ConcurrentModificationException when using GalleryProvider
    ianhanniballake committed on GitHub Feb 24, 2017
  8. Prevent ConcurrentModificationException when using GalleryProvider

    Exception java.util.ConcurrentModificationException:
    java.util.LinkedHashMap$LinkedHashIterator.remove (LinkedHashMap.java:356)
    com.google.android.apps.muzei.gallery.GalleryProvider.applyBatch (GalleryProvider.java:178)
    android.content.ContentProvider$Transport.applyBatch (ContentProvider.java:315)
    android.content.ContentProviderClient.applyBatch (ContentProviderClient.java:419)
    android.content.ContentResolver.applyBatch (ContentResolver.java:1286)
    com.google.android.apps.muzei.gallery.GallerySettingsActivity$19.run (GallerySettingsActivity.java:1047)
    android.os.Handler.handleCallback (Handler.java:739)
    android.os.Handler.dispatchMessage (Handler.java:95)
    android.os.Looper.loop (Looper.java:148)
    android.os.HandlerThread.run (HandlerThread.java:61)
    ianhanniballake committed Feb 24, 2017
  9. Merge pull request #345 from ianhanniballake/wear2

    Restrict bundling Wear apps to the prod productFlavor
    ianhanniballake committed on GitHub Feb 24, 2017
  10. Restrict bundling Wear apps to the prod productFlavor

    As we both product flavors and build types, required the workaround mentioned in here to add a configurations block: https://code.google.com/p/android/issues/detail?id=74658#c43
    ianhanniballake committed Feb 24, 2017
Commits on Feb 22, 2017
  1. Merge pull request #344 from ianhanniballake/artwork_complication_log…

    …ging
    
    Add additional debug logging around artwork complications
    ianhanniballake committed on GitHub Feb 22, 2017
  2. Merge pull request #343 from ianhanniballake/upgrade

    Update Support Library and Okhttp dependencies
    ianhanniballake committed on GitHub Feb 22, 2017
  3. Upgrade to okhttp 3.6.0

    ianhanniballake committed Feb 22, 2017
Commits on Feb 19, 2017
  1. Merge pull request #341 from ianhanniballake/improve_logging

    Improve ambiguous logging messages
    ianhanniballake committed on GitHub Feb 19, 2017
Commits on Feb 18, 2017
  1. Merge pull request #340 from ianhanniballake/reschedule_not_roaming

    Artwork downloads should only be rescheduled for not roaming networks
    ianhanniballake committed on GitHub Feb 18, 2017
  2. Artwork downloads should only be rescheduled for not roaming networks

    On API 24+ devices, we should only re-attempt to download art when the device is not roaming.
    ianhanniballake committed Feb 18, 2017
  3. Merge pull request #339 from ianhanniballake/complication_fix

    Fix complications not updating when there are multiple complications
    ianhanniballake committed on GitHub Feb 18, 2017
  4. Fix complications not updating when there are multiple complications …

    …added
    
    Instead of checking for the count in the ProviderService, check for the existence of a pending job in the JobService. This is more resilient to failures as it keeps the logic on the JobScheduler side rather than trying to track if the job is scheduled separately.
    ianhanniballake committed Feb 18, 2017
  5. Merge pull request #338 from ianhanniballake/android_studio_2.3_rc1

    Update tools plugin to 2.3.0-rc1 for Android Studio 2.3 RC 1 support
    ianhanniballake committed on GitHub Feb 18, 2017
  6. Merge pull request #337 from ianhanniballake/fix_about_duration

    Fix accidental duration increase in AboutActivity animation
    ianhanniballake committed on GitHub Feb 18, 2017
  7. Merge pull request #336 from ianhanniballake/fix_2.3

    Fix crashes found in Muzei 2.3
    ianhanniballake committed on GitHub Feb 18, 2017
Commits on Feb 17, 2017
  1. Catch null Gallery artwork destinations as IOExceptions.

    Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{net.nurik.roman.muzei/com.google.android.apps.muzei.PhotoSetAsTargetActivity}: java.lang.NullPointerException
    
    Caused by java.lang.NullPointerException:
    java.io.FileOutputStream.<init> (FileOutputStream.java:210)
    java.io.FileOutputStream.<init> (FileOutputStream.java:169)
    com.google.android.apps.muzei.gallery.GalleryProvider.writeUriToFile (GalleryProvider.java:384)
    com.google.android.apps.muzei.gallery.GalleryProvider.insertChosenPhotos (GalleryProvider.java:339)
    com.google.android.apps.muzei.gallery.GalleryProvider.insert (GalleryProvider.java:279)
    android.content.ContentProvider$Transport.insert (ContentProvider.java:264)
    android.content.ContentResolver.insert (ContentResolver.java:1320)
    com.google.android.apps.muzei.PhotoSetAsTargetActivity.onCreate (PhotoSetAsTargetActivity.java:52)
    android.app.Activity.performCreate (Activity.java:6745)
    android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1134)
    android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2655)
    android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2788)
    android.app.ActivityThread.-wrap12 (ActivityThread.java)
    android.app.ActivityThread$H.handleMessage (ActivityThread.java:1503)
    android.os.Handler.dispatchMessage (Handler.java:102)
    android.os.Looper.loop (Looper.java:154)
    android.app.ActivityThread.main (ActivityThread.java:6209)
    java.lang.reflect.Method.invoke (Method.java)
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:865)
    com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)
    ianhanniballake committed Feb 17, 2017
  2. Ignore Quick Settings Tile clicks when the Tile is null

    Exception java.lang.NullPointerException: Attempt to invoke virtual method 'int android.service.quicksettings.Tile.getState()' on a null object reference
    com.google.android.apps.muzei.quicksettings.NextArtworkTileService.onClick (NextArtworkTileService.java:129)
    android.service.quicksettings.TileService$H.handleMessage (TileService.java:397)
    android.os.Handler.dispatchMessage (Handler.java:102)
    android.os.Looper.loop (Looper.java:154)
    android.app.ActivityThread.main (ActivityThread.java:6123)
    java.lang.reflect.Method.invoke (Method.java)
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:867)
    com.android.internal.os.ZygoteInit.main (ZygoteInit.java:757)
    ianhanniballake committed Feb 17, 2017