Fix references to resources for Settings
Bug: 293810334 Test: m Settings Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
This commit is contained in:
@@ -159,7 +159,7 @@ public class OemUnlockPreferenceController extends DeveloperOptionsPreferenceCon
|
||||
}
|
||||
|
||||
private void updateOemUnlockSettingDescription() {
|
||||
int oemUnlockSummary = R.string.oem_unlock_enable_summary;
|
||||
int oemUnlockSummary = com.android.settingslib.R.string.oem_unlock_enable_summary;
|
||||
if (isBootloaderUnlocked()) {
|
||||
oemUnlockSummary = R.string.oem_unlock_enable_disabled_summary_bootloader_unlocked;
|
||||
} else if (isSimLockedDevice()) {
|
||||
@@ -203,7 +203,7 @@ public class OemUnlockPreferenceController extends DeveloperOptionsPreferenceCon
|
||||
final ChooseLockSettingsHelper.Builder builder =
|
||||
new ChooseLockSettingsHelper.Builder(mActivity, mFragment);
|
||||
return builder.setRequestCode(requestCode)
|
||||
.setTitle(resources.getString(R.string.oem_unlock_enable))
|
||||
.setTitle(resources.getString(com.android.settingslib.R.string.oem_unlock_enable))
|
||||
.show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user