Android Open Source - ViewInPlay Common






From Project

Back to project page ViewInPlay.

License

The source code is released under:

GNU General Public License

If you think the Android project ViewInPlay listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package info.daylemk.viewinplay;
/*from   w  ww  .  j a v a  2  s .  co  m*/
import android.os.Build;
import de.robv.android.xposed.XposedBridge;

public class Common {

    public static void debugLog(String s) {
        // change to debuggable
        if (XposedInit.debuggable) {
            XposedBridge.log(s);
        }
    }

    public static final String THIS_PACKAGE_NAME = Common.class.getPackage().getName();
    public static final String PREFERENCE_MAIN_FILE = THIS_PACKAGE_NAME + "_main";

    public static final boolean DEFAULT_SHOW_IN_RECENT_PANEL = false;
    public static final boolean DEFAULT_SHOW_IN_APP_INFO = false;
    public static final boolean DEFAULT_SHOW_IN_NOTIFICATION = false;
    public static final boolean DEFAULT_TWO_FINGER_IN_RECENT_PANEL = false;
    // halo
    public static final boolean DEFAULT_COMPAT_XHALO = false;
    // PA floating
    public static final boolean DEFAULT_COMPAT_FLOATING = false;
    
    public static final boolean DEFAULT_DIRECTLY_SHOW_IN_PLAY = false;
    // browser-store swtich
    public static final boolean DEFAULT_USE_BROWSER = false;
    public static final boolean DEFAULT_DEBUG_LOGS = false;

    // for open in halo
    // edit:also in PA new floating mode
    public static final int FLAG_FLOATING_WINDOW = 0x00002000;

    public static final String LOG_TAG = "ViewInPlay(SDK: " + Build.VERSION.SDK_INT + ") - ";
    public static final String XDA_THREAD = "http://forum.xda-developers.com/showthread.php?t=2419287";
}




Java Source Code List

info.daylemk.viewinplay.AppInfoHook.java
info.daylemk.viewinplay.Common.java
info.daylemk.viewinplay.RecentTaskHook.java
info.daylemk.viewinplay.SettingsActivity.java
info.daylemk.viewinplay.SettingsFragment.java
info.daylemk.viewinplay.StatusBarHook.java
info.daylemk.viewinplay.XposedInit.java