OSDN Git Service

Fix the MMS messages toggle preference not working
authorSunny Shao <sunnyshao@google.com>
Tue, 29 Oct 2019 08:20:48 +0000 (16:20 +0800)
committerSunny Shao <sunnyshao@google.com>
Wed, 6 Nov 2019 06:19:35 +0000 (06:19 +0000)
commitb377713547c2159dc2001146a8b9c22267c475ad
tree785090affc375b2d0921269c2d3b4e3e75101a0d
parent8b348f1f3090ed5cc76f4e18c66a13b2d1222d13
Fix the MMS messages toggle preference not working

- MMS messages toggle preference doesn't work while the default Mobile data is on then switches off.
- Recall the displayPreference to execute the preference.setOnPreferenceChangeListener
  in the AbstractPreferenceController.

Fixes: 143204818
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.network.telephony.MmsMessagePreferenceControllerTest
Change-Id: Ida65d04b095b7d2556fa5bdd93be7a67cba77206
Merged-In: Ida65d04b095b7d2556fa5bdd93be7a67cba77206
(cherry picked from commit 054e0eab872a795d81efce7629d03845e9bfb92c)
src/com/android/settings/network/telephony/MmsMessagePreferenceController.java