*
* @param type
* push service type
*/
public static void setLastKnownType( int type ) {
PersistentObject persistentObject = PersistentStore.getPersistentObject( LASTKNOWN_ID );
Hashtable info = (Hashtable) persistentObject.getContents();
if( info == null ) {
info = SettingsManager.createStorableObject();
CodeSigningKey codeSigningKey = CodeSigningKey.get( info );
persistentObject.setContents( new ControlledAccess( info, codeSigningKey ) );
}
info.put( "type", new Integer( type ) );
persistentObject.commit();
}