Update system APIs based on feedback.
API council has requested that the recently added BroadcastOptions APIs be modified to better match API guidelines. Bug: 267646347 Test: treehugger Change-Id: Ia701ae31079476d0cc05079d62cd90ba81279cdd
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user