/**@class android.app.timezone.RulesUpdaterContract @extends java.lang.Object Constants related to the contract between the Android system and the privileged time zone updater application. @hide */ var RulesUpdaterContract = { /** The system permission possessed by the Android system that allows it to trigger time zone update checks. The updater should be configured to require this permission when registering for {@link #ACTION_TRIGGER_RULES_UPDATE_CHECK} intents. */ TRIGGER_TIME_ZONE_RULES_CHECK_PERMISSION : "null", /** The system permission possessed by the time zone rules updater app that allows it to update device time zone rules. The Android system requires this permission for calls made to {@link android.app.timezone.RulesManager}. */ UPDATE_TIME_ZONE_RULES_PERMISSION : "null", /** The action of the intent that the Android system will broadcast. The intent will be targeted at the configured updater application's package meaning the term "broadcast" only loosely applies. */ ACTION_TRIGGER_RULES_UPDATE_CHECK : "com.android.intent.action.timezone.TRIGGER_RULES_UPDATE_CHECK", /** The extra containing the {@code byte[]} that should be passed to {@link RulesManager#requestInstall(ParcelFileDescriptor, byte[], android.app.timezone.Callback)}, {@link RulesManager#requestUninstall(byte[], android.app.timezone.Callback)} and {@link android.app.timezone.RulesManager#requestNothing(byte[], boolean)} methods when the {@link #ACTION_TRIGGER_RULES_UPDATE_CHECK} intent has been processed. */ EXTRA_CHECK_TOKEN : "com.android.intent.extra.timezone.CHECK_TOKEN", /**Creates an intent that would trigger a time zone rules update check. */ createUpdaterIntent : function( ) {}, /**Broadcasts an {@link #ACTION_TRIGGER_RULES_UPDATE_CHECK} intent with the {@link #EXTRA_CHECK_TOKEN} that triggers an update check, including the required receiver permission. */ sendBroadcast : function( ) {}, };