mirror of https://github.com/M66B/FairEmail.git
Added logging
This commit is contained in:
parent
21bb3af518
commit
a80c3a953f
|
@ -312,6 +312,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
Log.i("Result class=" + this.getClass().getSimpleName() +
|
||||
" action=" + action + " request=" + requestCode + " result=" + resultCode);
|
||||
Log.logExtras(data);
|
||||
if (data != null)
|
||||
Log.i("data=" + data.getData());
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
}
|
||||
|
||||
|
|
|
@ -161,7 +161,7 @@ public class FragmentBase extends Fragment {
|
|||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
Log.d("Create view " + this);
|
||||
Log.d("Create view " + this + (savedInstanceState != null));
|
||||
return super.onCreateView(inflater, container, savedInstanceState);
|
||||
}
|
||||
|
||||
|
@ -203,6 +203,8 @@ public class FragmentBase extends Fragment {
|
|||
Log.i("Result class=" + this.getClass().getSimpleName() +
|
||||
" action=" + action + " request=" + requestCode + " result=" + resultCode);
|
||||
Log.logExtras(data);
|
||||
if (data != null)
|
||||
Log.i("data=" + data.getData());
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue