mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 15:02:54 +00:00
parent
3bc10bd4b8
commit
78feb25543
4 changed files with 15 additions and 0 deletions
|
@ -355,6 +355,10 @@ public class Preferences {
|
|||
return _prefs.getBoolean("pref_copy_on_tap", false);
|
||||
}
|
||||
|
||||
public boolean isMinimizeOnCopyEnabled() {
|
||||
return _prefs.getBoolean("pref_minimize_on_copy", false);
|
||||
}
|
||||
|
||||
public void setGroupFilter(List<String> groupFilter) {
|
||||
JSONArray json = new JSONArray(groupFilter);
|
||||
_prefs.edit().putString("pref_group_filter", json.toString()).apply();
|
||||
|
|
|
@ -948,6 +948,9 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
|||
clip.getDescription().setExtras(extras);
|
||||
}
|
||||
clipboard.setPrimaryClip(clip);
|
||||
if (_prefs.isMinimizeOnCopyEnabled()) {
|
||||
moveTaskToBack(true);
|
||||
}
|
||||
}
|
||||
|
||||
private class ActionModeCallbacks implements ActionMode.Callback {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue