Go to keyserver settings directly
This commit is contained in:
@@ -21,6 +21,7 @@ import android.app.Activity;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.preference.PreferenceActivity;
|
||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
@@ -110,11 +111,9 @@ public class ImportKeysCloudFragment extends Fragment {
|
|||||||
mConfigButton.setOnClickListener(new OnClickListener() {
|
mConfigButton.setOnClickListener(new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
Intent i = new Intent(mImportActivity, SettingsActivity.class);
|
Intent intent = new Intent(mImportActivity, SettingsActivity.class);
|
||||||
// GRR, for some reason I can’t set the Action or I get an incomprehensible
|
intent.putExtra(PreferenceActivity.EXTRA_SHOW_FRAGMENT, SettingsActivity.CloudSearchPrefsFragment.class.getName());
|
||||||
// exception about “modern two-pane layouts”
|
startActivity(intent);
|
||||||
// i.setAction(PreferencesActivity.ACTION_PREFS_CLOUD);
|
|
||||||
startActivity(i);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -183,7 +183,6 @@ public class SettingsActivity extends PreferenceActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Called only on Honeycomb and later */
|
|
||||||
@Override
|
@Override
|
||||||
public void onBuildHeaders(List<Header> target) {
|
public void onBuildHeaders(List<Header> target) {
|
||||||
super.onBuildHeaders(target);
|
super.onBuildHeaders(target);
|
||||||
|
|||||||
Reference in New Issue
Block a user