mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
when sms pref changes, clear cached value
This commit is contained in:
parent
82b25d1956
commit
3e72da8e3f
2 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,7 @@ public class PrefsDelegate extends DelegateBase
|
|||
((CheckBoxPreference)(m_activity.findPreference( key )))
|
||||
.setChecked( false );
|
||||
}
|
||||
Utils.smsSupportChanged();
|
||||
} else if ( key.equals( m_downloadPath ) ) {
|
||||
String value = sp.getString( key, null );
|
||||
if ( null != value ) {
|
||||
|
|
|
@ -141,6 +141,11 @@ public class Utils {
|
|||
return s_deviceSupportSMS;
|
||||
}
|
||||
|
||||
public static void smsSupportChanged()
|
||||
{
|
||||
s_deviceSupportSMS = null; // force to check again
|
||||
}
|
||||
|
||||
public static void notImpl( Context context )
|
||||
{
|
||||
String text = "Feature coming soon";
|
||||
|
|
Loading…
Reference in a new issue