Change the alignment of the foreground preferernce controller

Set left align to the nfc foreground preference controller.

Bug: 223073535
Test: manual
Change-Id: I0d4ffcedb2646b9d3fd7f4d56adb0d000cfd5987
This commit is contained in:
Jack Yu
2022-04-25 15:27:05 +08:00
parent 8cb0439d9c
commit bf3a207fb5

View File

@@ -93,7 +93,7 @@ public class NfcForegroundPreferenceController extends BasePreferenceController
return; return;
} }
final ListPreference listPreference = (ListPreference) preference; final ListPreference listPreference = (ListPreference) preference;
listPreference.setIconSpaceReserved(true); listPreference.setIconSpaceReserved(false);
listPreference.setValue(mListValues[mPaymentBackend.isForegroundMode() ? 1 : 0]); listPreference.setValue(mListValues[mPaymentBackend.isForegroundMode() ? 1 : 0]);
} }