Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.google.zxing.client.android.camera;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public enum FrontLightMode {
|
||||
ON,
|
||||
AUTO,
|
||||
OFF;
|
||||
|
||||
private static FrontLightMode parse(String str) {
|
||||
return str == null ? OFF : valueOf(str);
|
||||
}
|
||||
|
||||
public static FrontLightMode readPref(SharedPreferences sharedPreferences) {
|
||||
return parse(sharedPreferences.getString("preferences_front_light_mode", OFF.toString()));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user