/** Updates the configuration to the current context */ public static RecentsConfiguration reinitialize(Context context, SystemServicesProxy ssp) { if (sInstance == null) { sInstance = new RecentsConfiguration(context); } int configHashCode = context.getResources().getConfiguration().hashCode(); if (sPrevConfigurationHashCode != configHashCode) { sInstance.update(context); sPrevConfigurationHashCode = configHashCode; } sInstance.updateOnReinitialize(context, ssp); return sInstance; }