Introduce a flag for using the carrier service changed callbacks.
Test: CarrierPrivilegeAuthenticatorTest Change-Id: Ia28c6abca67866c1de953cb61953a0d2882cd7e2
This commit is contained in:
parent
a10ae005df
commit
84dfa9f104
1 changed files with 54 additions and 16 deletions
|
|
@ -1427,7 +1427,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
public CarrierPrivilegeAuthenticator makeCarrierPrivilegeAuthenticator(
|
||||
@NonNull final Context context, @NonNull final TelephonyManager tm) {
|
||||
if (isAtLeastT()) {
|
||||
return new CarrierPrivilegeAuthenticator(context, tm);
|
||||
return new CarrierPrivilegeAuthenticator(context, this, tm);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue