Merge "Add unit test init method." into sc-dev

This commit is contained in:
TreeHugger Robot 2021-04-29 04:53:40 +00:00 committed by Android (Google) Code Review
commit 2ac5334517

View File

@ -3448,4 +3448,13 @@ public abstract class ConnectionService extends Service {
public Handler getHandler() {
return mHandler;
}
/**
* Sets this {@link ConnectionService} ready for testing purposes.
* @hide
*/
@VisibleForTesting
public void setReadyForTest() {
mAreAccountsInitialized = true;
}
}