Fix references to resources for Settings
Bug: 293810334 Test: m Settings Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
This commit is contained in:
@@ -28,8 +28,6 @@ import android.os.SystemProperties;
|
||||
import androidx.preference.ListPreference;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.R;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
@@ -59,8 +57,8 @@ public class BluetoothSnoopLogPreferenceControllerTest {
|
||||
// Get XML values without mock
|
||||
// Setup test list preference using XML values
|
||||
mPreference = new ListPreference(mSpyContext);
|
||||
mPreference.setEntries(R.array.bt_hci_snoop_log_entries);
|
||||
mPreference.setEntryValues(R.array.bt_hci_snoop_log_values);
|
||||
mPreference.setEntries(com.android.settingslib.R.array.bt_hci_snoop_log_entries);
|
||||
mPreference.setEntryValues(com.android.settingslib.R.array.bt_hci_snoop_log_values);
|
||||
// Init the actual controller
|
||||
mController = new BluetoothSnoopLogPreferenceController(mSpyContext, null);
|
||||
// Construct preference in the controller via a mocked preference screen object
|
||||
|
||||
Reference in New Issue
Block a user