question: public static void saveProvisioningValidity ( Context context , long validity ) { if ( validity <= 0L ) { return ; } long next = System . currentTimeMillis ( ) + validity ; SharedPreferences preferences = context . getSharedPreferences ( AndroidRegistryFactory . RCS_PREFS_NAME , Activity . MODE_PRIVATE ) ; SharedPreferences . Editor editor = preferences . edit ( ) ; editor . putLong ( REGISTRY_PROVISIONING_VALIDITY , validity ) ; editor . putLong ( REGISTRY_PROVISIONING_EXPIRATION , next ) ; editor . commit ( ) ; }
target:  Save the provisioning validity in shared preferences