Rollback telephony resources on telephony service
Bug: 149776042
Test: TeleServiceTests
Change-Id: I8f08a553e4fe42389bbcb8d13893985b40c159eb
diff --git a/src/com/android/phone/NotificationMgr.java b/src/com/android/phone/NotificationMgr.java
index 19ce2f1..6f7022f 100644
--- a/src/com/android/phone/NotificationMgr.java
+++ b/src/com/android/phone/NotificationMgr.java
@@ -60,7 +60,6 @@
import com.android.internal.telephony.PhoneFactory;
import com.android.internal.telephony.TelephonyCapabilities;
import com.android.internal.telephony.util.NotificationChannelController;
-import com.android.internal.telephony.util.TelephonyResourceUtils;
import com.android.phone.settings.VoicemailSettingsActivity;
import java.util.ArrayList;
@@ -818,10 +817,8 @@
boolean isManualSelection;
// if restoring manual selection is controlled by framework, then get network
// selection from shared preference, otherwise get from real network indicators.
- boolean restoreSelection = !TelephonyResourceUtils.getTelephonyResources(mContext)
- .getBoolean(
- com.android.telephony.resources.R.bool
- .skip_restoring_network_selection);
+ boolean restoreSelection = !mContext.getResources().getBoolean(
+ com.android.internal.R.bool.skip_restoring_network_selection);
if (restoreSelection) {
isManualSelection = !TextUtils.isEmpty(selectedNetworkOperatorName);
} else {