Merge pull request #128 from Javran/agent-picker-memorize
make the agent picker remember the previous value
This commit is contained in:
commit
187855bdae
@ -731,6 +731,7 @@ public class SettingsActivity extends Activity {
|
||||
|
||||
agentStringPicker.setTitle(getResources().getString(R.string.title_user_agent));
|
||||
final EditText getAgent = new EditText(this);
|
||||
getAgent.append(mPreferences.getString(PreferenceConstants.USER_AGENT_STRING, ""));
|
||||
agentStringPicker.setView(getAgent);
|
||||
agentStringPicker.setPositiveButton(getResources().getString(R.string.action_ok),
|
||||
new DialogInterface.OnClickListener() {
|
||||
|
Loading…
Reference in New Issue
Block a user