|
|
@ -342,11 +342,10 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
|
|
|
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
|
|
|
Package pkg = (Package) parent.getAdapter().getItem(position);
|
|
|
|
Package pkg = (Package) parent.getAdapter().getItem(position);
|
|
|
|
if (pkg.browser)
|
|
|
|
prefs.edit()
|
|
|
|
prefs.edit()
|
|
|
|
.putString("open_with_pkg", pkg.name)
|
|
|
|
.putString("open_with_pkg", pkg.name)
|
|
|
|
.putBoolean("open_with_tabs", pkg.tabs)
|
|
|
|
.putBoolean("open_with_tabs", pkg.tabs)
|
|
|
|
.apply();
|
|
|
|
.apply();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|