Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.content.Context;

public class Main {
    public static boolean getStatusOfRenderResetSwitcher(Context context) {
        boolean flag;
        try {
            flag = context.getSharedPreferences(context.getPackageName(), 1).getBoolean("reset_default_render",
                    false);
        } catch (Exception exception) {
            return false;
        }
        return flag;
    }
}