Permalink
Commits on Aug 17, 2018
  1. Merge pull request #560 from ianhanniballake/infinite_loading

    ianhanniballake committed Aug 17, 2018
    Only do a full update() from addArtwork() if something changed
  2. Only do a full update() from addArtwork() if something changed

    ianhanniballake committed Aug 17, 2018
    Avoid doing a full update (and the subsequent notifyChange()) if nothing actually changed. This removes cases where there's just a single image and it is unconditionally changed every time onLoadRequested() is called, causing an infinite loading loop.
    
    When developers specifically call update(), we always call notifyChange() in case they are sorting by DATE_MODIFIED and want an updated list.
  3. Upgrade to WorkManager 1.0.0-alpha07

    ianhanniballake committed Aug 17, 2018
    - Remove workarounds for previously Nullable WorkManager.getInstance()
    - Switch to workDataOf()
    - Remove second parameter from Data.getString()
Commits on Aug 16, 2018
  1. Merge pull request #558 from ianhanniballake/last_artwork_sort

    ianhanniballake committed Aug 16, 2018
    Use the _ID to determine the last loaded artwork
  2. Merge pull request #557 from ianhanniballake/recent_artwork_set

    ianhanniballake committed Aug 16, 2018
    Treat recent artwork ids as a set
  3. Use the _ID to determine the last loaded artwork

    ianhanniballake committed Aug 16, 2018
    Since the _ID auto-increments, it is a unique indicator or the last added artwork.
  4. Treat recent artwork ids as a set

    ianhanniballake committed Aug 16, 2018
    Ensure there's no duplicates in the recent artwork id list by removing any existing ids when adding a new id. This avoids unnecessary cache misses due to removeAutoCachedFile being called too early.
Commits on Aug 13, 2018
  1. Unconditionally call consumeDisplayCutout()

    ianhanniballake committed Aug 13, 2018
    Now that https://issuetracker.google.com/issues/109830520 is fixed, we can unconditionally call consumeDisplayCutout()
  2. Only start observing after updateProviders completes

    ianhanniballake committed Aug 13, 2018
    Fix a race condition where the the LiveData observe would happen during the first updateProviders call.
Commits on Aug 12, 2018
  1. EffectsLockScreenOpenLiveData on EffectsFragment visibility changes

    ianhanniballake committed Aug 12, 2018
    The EffectsFragment view isn't destroyed when just hitting the home button, so use onStop() to clear the EffectsLockScreenOpenLiveData value which will trigger whenever the EffectsFragment is no longer visible.
    
    Similarly, restore the EffectsLockScreenOpenLiveData state in onStart() to ensure that we're in the correct state after re-opening Muzei.
  2. Improve handling of nullability from Android framework

    ianhanniballake committed Aug 12, 2018
    With Android 9's SDK, more Android framework APIs have nullability annotations. Update the code to handle these new annotations appropriately.
Commits on Aug 11, 2018
Commits on Jul 25, 2018
  1. Merge pull request #553 from ianhanniballake/gestures_settings

    ianhanniballake committed Jul 25, 2018
    Add settings to customize gestures
  2. Add three finger tap gesture

    ianhanniballake committed Jul 25, 2018
    Allow the same set of actions as double tap, but using the onTouchEvent callback. This helps avoid issues with launchers not supporting COMMAND_TAP while not being too easy to trigger.
  3. Rename tap action constants / strings

    ianhanniballake committed Jul 25, 2018
    Make the strings and constants related to the various tap actions you can take more generic, rather than using 'double tap' as part of the name.
  4. Add a settings screen for controlling the double tap gesture

    ianhanniballake committed Jul 25, 2018
    Users can now choose between:
    - Temporarily disabling effects (the previous behavior)
    - Next Artwork
    - View Artwork Details
    - None
Commits on Jul 24, 2018
  1. Update Navigation to 1.0.0-alpha04

    ianhanniballake committed Jul 24, 2018
    Fix breaking changes:
    - app:type to app:argType
  2. Update WorkManager to 1.0.0-alpha05

    ianhanniballake committed Jul 24, 2018
    Fix breaking changes:
    - WorkManager.getInstance() is now non-null
    - Data.getString() no longer takes a default value
Commits on Jul 20, 2018
  1. Merge pull request #551 from ianhanniballake/effects_decouple

    ianhanniballake committed Jul 20, 2018
    Decouple home screen and lock screen effects
  2. Don't set the link effects flag by default

    ianhanniballake committed Jul 20, 2018
    Given that users may not be familiar with the new system to start, leave the effects on the home screen and lock screen unlinked to start such that they don't need to find / understand the linking process to adjust their settings.
Commits on Jul 19, 2018
  1. Decouple the home screen and lock screen effects

    ianhanniballake committed Jul 19, 2018
    Allow you to set the home screen and lock screen effects completely independently from one another
Commits on Jul 18, 2018
  1. Split behavior of EffectsFragment into high level and child Fragment

    ianhanniballake committed Jul 18, 2018
    Move the actual preference bars to the child fragment with the EffectsFragment just managing the positioning of the child fragment.
  2. Move effects_fragment_include_content to ConstraintLayout

    ianhanniballake committed Jul 18, 2018
    Let's not use GridLayout anymore.