Skip to content
Snippets Groups Projects
Commit 8d1c9d10 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use createForAllProfiles SubscriptionManager" into main

parents aaa4a3f4 e18890b5
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,8 @@ public class PhoneCallStateHandler {
SubscriptionManager subscriptionManager,
TelephonyManager telephonyManager,
Callback callback) {
mSubscriptionManager = Objects.requireNonNull(subscriptionManager);
mSubscriptionManager = Objects.requireNonNull(subscriptionManager)
.createForAllUserProfiles();
mTelephonyManager = Objects.requireNonNull(telephonyManager);
mCallback = Objects.requireNonNull(callback);
mSubscriptionManager.addOnSubscriptionsChangedListener(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment