public static String getPersistentUUID(Context context) {
        SharedPreferences prefs = BraintreeSharedPreferences.getSharedPreferences(context);

        String uuid = prefs.getString(BRAINTREE_UUID_KEY, null);
        if (uuid == null) {
            uuid = getFormattedUUID();
            prefs.edit().putString(BRAINTREE_UUID_KEY, uuid).apply();
        }

        return uuid;
    }
public static String getPersistentUUID ( Context context ) { SharedPreferences prefs = BraintreeSharedPreferences . getSharedPreferences ( context ) ; String uuid = prefs . getString ( BRAINTREE_UUID_KEY , null ) ; if ( uuid == null ) { uuid = getFormattedUUID ( ) ; prefs . edit ( ) . putString ( BRAINTREE_UUID_KEY , uuid ) . apply ( ) ; } return uuid ; }
@param context
@return A persistent UUID for this application install.