Skip to content

Commit

Permalink
front: test fix for fire tv unable to map controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
fzurita committed Mar 13, 2016
1 parent ec65669 commit 4b318b3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion res/xml/preferences_library.xml
Expand Up @@ -41,7 +41,7 @@
To minimize app size, consider using Android's built-in resources when possible.
For example, consider icon resources in "@android:drawable/..." instead of custom
resources in "@drawable/...".
***********************************************************************************
***********************************************************************************
-->
<android.support.v7.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:mupen64="http://schemas.android.com/apk/res/org.mupen64plusae.v3.alpha"
Expand Down
Expand Up @@ -77,6 +77,8 @@ public MultiSelectListPreference( Context context, AttributeSet attrs )

mDelimiter = TextUtils.isEmpty( delimiter ) ? DEFAULT_DELIMITER : delimiter;
mSeparator = TextUtils.isEmpty( separator ) ? DEFAULT_SEPARATOR : separator;

setOnPreferenceChangeListener(null);
}

/**
Expand Down
Expand Up @@ -82,6 +82,8 @@ public PathPreference( Context context, AttributeSet attrs )
TypedArray a = context.obtainStyledAttributes( attrs, R.styleable.PathPreference );
mSelectionMode = a.getInteger( R.styleable.PathPreference_selectionMode, SELECTION_MODE_ANY );
a.recycle();

setOnPreferenceChangeListener(null);
}

/**
Expand Down
Expand Up @@ -73,6 +73,7 @@ public PlayerMapPreference( Context context, AttributeSet attrs )
super( context, attrs );
setDialogLayoutResource( R.layout.player_map_preference );
setDialogMessage( getSummary() );
setOnPreferenceChangeListener(null);
}

public void setValue( String value )
Expand Down
Expand Up @@ -79,6 +79,8 @@ public SeekBarPreference( Context context, AttributeSet attrs )

// Setup the layout
setDialogLayoutResource( R.layout.seek_bar_preference );

setOnPreferenceChangeListener(null);
}

/**
Expand Down

0 comments on commit 4b318b3

Please sign in to comment.