Browse Source

Merge pull request #128 from Javran/agent-picker-memorize

make the agent picker remember the previous value
master
Anthony Restaino 10 years ago
parent
commit
187855bdae
  1. 1
      src/acr/browser/lightning/SettingsActivity.java

1
src/acr/browser/lightning/SettingsActivity.java

@ -731,6 +731,7 @@ public class SettingsActivity extends Activity { @@ -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…
Cancel
Save