项目作者: F-i-f

项目描述 :
Xposed module to change the look and feel of the Android Resolver Activity dialog.
高级语言: Java
项目地址: git://github.com/F-i-f/ResolverActivityTweaks.git
创建时间: 2019-02-26T08:11:02Z
项目社区:https://github.com/F-i-f/ResolverActivityTweaks

开源协议:GNU General Public License v3.0

下载


Resolver Activity Tweaks

Master: Build Status

Coverity: Build Status Coverity Scan Build Status

Resolver Activity Tweaks banner: all three available styles

Yes, it now works on Pie with EdXposed!™

Requirements:

  • Lollipop 5.0 or higher. Works on Lollipop, Marshmallow, Nougat, Oreo
    and Pie.

  • An AOSP ROM.

  • Xposed or EdXposed.

Features:

This module changes the look and behavior of the dialog shown when
picking an activity (app) to open a URL or document (intent).

On Lollipop, by default, you get a list of apps the very first time a
given document type is opened. Then, for the subsequent times, the
last app is shown at the top, with an “Always” and a “Once” buttons,
and the other apps are pushed down another header.

With this module you can pretty much remove some of the space wasted
by all the headers and buttons by:

  • Always using the “first time” menu, where the Always and Once
    buttons are shown at the bottom.

  • Also hiding the Always and Once buttons too. In this case a single
    tap on the App name will launch the activity, and you won’t be able
    to mark an app to “Always” launch any more.

These are the three possible configurations:

  • Stock:

    Stock Resolver Activity

  • Always use first time intent chooser (with the last selected app
    promoted to the top):

    Resolver Activity with module active

  • Always use first time chooser and remove Always/Once:

    Resolver activity with Always/Once removed

Finally this is how the app looks:

Resolver Activity Tweaks Settings

Credits

Changelog

3.2 - August 30, 2019

  • Updated Android build stack (Studio, Build Tools, Gradle).

  • Shows which Xposed module manager is used at various places around the
    UI. One of Xposed Installer, EdXposed Installer or EdXposed Manager.

  • Fixed rare crash when launching an Xposed module manager when the
    module is disabled.

  • Fixed Coverity-detected rare error conditions.

  • Hide the module controls when the module is inactive and when UI and
    module versions do not match. Since now settings can be changed on the
    fly, revert back to the 1.x behavior.

  • Typos and wording changes in the UI. Shows short git revision.

  • Added logcat debugging.

3.1 - August 28, 2019

3.0 - February 27, 2019

  • Use Remote Preferences,
    so that we don’t depend on MODE_WORLD_READABLE ever again.

  • No reboots are needed anymore when changing settings on all Android
    versions.

  • Added a license button in the preferences Legal sections, opening
    to the GPLv3 in the GitHub repository.

  • Now targeting Android SDK 27 (instead of 23).

2.1 - February 26, 2019

  • EdXposed compatibility.

    The preferences application now looks up both EdXposed Installer as
    well as the regular Xposed Installer.

  • Now on GitHub.

2.0 - August 24, 2018

  • Oreo Support.

    The way the Once and Always buttons are hidden has been changed in
    this release.

    The code is now simpler, and should work across all supported
    Android releases.

1.0.1 - October 11, 2017

  • SDK Version back to 23 (MM) as MODE_WORLD_READABLE was causing an
    app crash on Nougat.

1.0 - October 11, 2017

Cosmetic changes only.

The module is working on Lollipop, Marshmallow and Nougat (this is not
news, version 0.4 was fine as well)

  • Updated target SDK to 25 (7.1 Nougat)

  • Still show setting toggles when the module not active in Xposed, or
    when there is a version mismatch between the UI and the module (used
    to be hidden).

  • Fix intent when opening the Xposed Installer, it could fail on some
    versions of the installer that do not implement the OPEN_SECTION
    intent.

  • Log version in Xposed log file upon start-up.

0.4 - April 3, 2016

  • Rebuilt against Xposed v81.

0.3 - March 2, 2016

  • Marshmallow 6.0 compatibility.

  • Note that because of Xposed limitations on Marshmallow, you will
    have to reboot to enact the changes. On Lollipop, the app is able to
    change the setting on the fly, and no reboot is needed.

0.2 - October 3, 2015

  • Lollipop 5.0 compatibility: Target SDK v21 instead of v22. Thanks to
    XDA’s Curious Boy.

  • Fix FCs on CM12.1. Thanks to Alexey71 on XDA.

0.1.1 - October 3, 2015

  • Fix FC on tablets and other large devices.

0.1 - October 3, 2015

  • Initial release.