Merge "Update system APIs based on feedback."

This commit is contained in:
Jeff Sharkey
2023-03-09 02:47:49 +00:00
committed by Gerrit Code Review
3 changed files with 5 additions and 3 deletions

View File

@@ -864,7 +864,8 @@ public class ConnectivityServiceTest {
verify(mBroadcastOptionsShim).setDeliveryGroupMatchingKey(
eq(CONNECTIVITY_ACTION),
eq(createDeliveryGroupKeyForConnectivityAction(ni)));
verify(mBroadcastOptionsShim).setDeferUntilActive(eq(true));
verify(mBroadcastOptionsShim).setDeferralPolicy(
eq(ConstantsShim.DEFERRAL_POLICY_UNTIL_ACTIVE));
} catch (UnsupportedApiLevelException e) {
throw new RuntimeException(e);
}