Removed direct calls to AMS.broadcastIntentLocked from ATMS (26/n)

The method is internal to AMS so can't be called directly from ATMS
which will be in a different package soon.

Bug: 80414790
Test: Existing tests pass
Change-Id: If36c7d9cb65e848101070f6b412c9067ee33741e
This commit is contained in:
Wale Ogunwale
2018-10-18 10:27:31 -07:00
parent 9c103022bf
commit 2ea36d453d
3 changed files with 82 additions and 50 deletions

View File

@@ -250,4 +250,16 @@ public abstract class ActivityManagerInternal {
public abstract boolean inputDispatchingTimedOut(Object proc, String activityShortComponentName,
ApplicationInfo aInfo, String parentShortComponentName, Object parentProc,
boolean aboveSystem, String reason);
/**
* Sends {@link android.content.Intent#ACTION_CONFIGURATION_CHANGED} with all the appropriate
* flags.
*/
public abstract void broadcastGlobalConfigurationChanged(int changes, boolean initLocale);
/**
* Sends {@link android.content.Intent#ACTION_CLOSE_SYSTEM_DIALOGS} with all the appropriate
* flags.
*/
public abstract void broadcastCloseSystemDialogs(String reason);
}