Android Open Source - ShellAndroid C Flag Release

From Project

Back to project page ShellAndroid.


The source code is released under:

Apache License

If you think the Android project ShellAndroid 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 z.hol.shellandroid;
//from   w  ww.java2 s  .com
import android.content.Context;
import android.os.Build;

 * To release cflag file
 * Created by holmes on 11/21/14.
public class CFlagRelease {

    private CFlagRelease(){


     * Get a releaser for cflag
     * @param context
     * @return
    public static AbsReleaser getReleaser(Context context){
        final int sdk = Build.VERSION.SDK_INT;
        if (sdk >= 21){
            // Lollipop
            return new LollipopReleaser(context);
        return new NormalReleaser(context);

Java Source Code List