You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
554 B
Java
25 lines
554 B
Java
package com.idormy.sms.forwarder.utils;
|
|
|
|
import android.content.Context;
|
|
import android.util.Log;
|
|
|
|
public class InitUtil {
|
|
static Boolean hasInit = false;
|
|
private static String TAG = "InitUtil";
|
|
private static Context context = null;
|
|
|
|
public static void init(Context context1) {
|
|
Log.d(TAG, "TMSG init");
|
|
synchronized (hasInit) {
|
|
if (hasInit) return;
|
|
hasInit = true;
|
|
context = context1;
|
|
Log.d(TAG, "init context");
|
|
SettingUtil.init(context);
|
|
}
|
|
|
|
|
|
}
|
|
|
|
}
|