mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Fixed handling compose pause
This commit is contained in:
@@ -54,13 +54,14 @@ public class FragmentEx extends Fragment {
|
||||
|
||||
@Override
|
||||
public void onSaveInstanceState(Bundle outState) {
|
||||
Log.i(Helper.TAG, "Save instance " + this);
|
||||
super.onSaveInstanceState(outState);
|
||||
outState.putString("subtitle", subtitle);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
Log.i(Helper.TAG, "Create " + this);
|
||||
Log.i(Helper.TAG, "Create " + this + " saved=" + (savedInstanceState != null));
|
||||
super.onCreate(savedInstanceState);
|
||||
if (savedInstanceState != null)
|
||||
subtitle = savedInstanceState.getString("subtitle");
|
||||
@@ -74,7 +75,7 @@ public class FragmentEx extends Fragment {
|
||||
|
||||
@Override
|
||||
public void onActivityCreated(Bundle savedInstanceState) {
|
||||
Log.i(Helper.TAG, "Activity " + this);
|
||||
Log.i(Helper.TAG, "Activity " + this + " saved=" + (savedInstanceState != null));
|
||||
super.onActivityCreated(savedInstanceState);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user