示例#1
0
 public static void d(String msg, Object... args) {
   try {
     if (SystemPropertiesProxy.getBoolean(DEBUG_TAG, false))
       android.util.Log.d(TAG, String.format(msg, args));
   } catch (MissingFormatArgumentException e) {
     android.util.Log.e(TAG, "me.abitno.utils.Log", e);
     android.util.Log.d(TAG, msg);
   }
 }
示例#2
0
 @NonNull
 public static String getDeviceCodename(Context context) {
   return SystemPropertiesProxy.get(context, "ro.patcher.device", Build.DEVICE);
 }