History log of /packages/apps/Settings/src/com/android/settings/nfc/AndroidBeamEnabler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6719a9b73e7b72292a98db322a26396da6385db7 29-Mar-2018 Chihhang Chuang <chihhangchuang@google.com> Refactor nfc preference controller

- Remove BaseNfcPreferenceController.
- NfcPreferenceController inherit from TogglePreferenceController.
- AndroidBeamPreferenceController inherit from BasePreferenceController.
- Override getIntentFilter in NfcPreferenceController to listen changes.
- Add an API (hasAsyncUpdate) into BasePreferenceController to
distinguish the setting which is updated asynchronously.

Change-Id: I1abe4410169e305a0d6106e24c54e7f2e763fc91
Merged-In: I7c9c48ea7f1ad01a02524beabf9d30baa3db891f
Fixes: 67997761
Fixes: 74887543
Test: RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/nfc/AndroidBeamEnabler.java
b247311b2a7217546b2c9eea90e36391f114f705 21-Mar-2018 HJ ChangLiao <hjchangliao@google.com> Move BT, NFC out of Conntection pref

Move BT, NFC preference out of Connection Preference,
To Connected devices page.
Because NFC and Android Beam are controlled by the same controller,
Create each controller for those preference and leave the sharing part.

Change-Id: I8bc303a5f487de9c667487119b49e1e4130aa80c
Fixes: 72458929
Test: manually test, make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/nfc/AndroidBeamEnabler.java