Commit 9a5d7193 by sikang

update

parent 90c1a6e2
......@@ -38,6 +38,12 @@ public class LivenessDetectionActivity extends LivenessDetectionMainActivity {
}
}
public static String getFaceData(Context context) {
SharedPreferences preferences = context.getSharedPreferences(SP_NAME, Activity.MODE_PRIVATE);
return preferences.getString(FACE_DATA, "");
}
public static final String FAILED_MSG = "failed_msg";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment