mirror of https://github.com/M66B/FairEmail.git
Log activity intent
This commit is contained in:
parent
621dae825b
commit
4dae41b816
|
@ -71,12 +71,12 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
EntityLog.log(this, "Activity create " + this.getClass().getName() + " version=" + BuildConfig.VERSION_NAME);
|
EntityLog.log(this, "Activity create " + this.getClass().getName() +
|
||||||
|
" version=" + BuildConfig.VERSION_NAME);
|
||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
if (intent != null) {
|
if (intent != null)
|
||||||
Log.i(intent.toString());
|
EntityLog.log(this, intent +
|
||||||
Log.logBundle(intent.getExtras());
|
" extras=" + TextUtils.join(", ", Log.getExtras(intent.getExtras())));
|
||||||
}
|
|
||||||
|
|
||||||
this.contacts = hasPermission(Manifest.permission.READ_CONTACTS);
|
this.contacts = hasPermission(Manifest.permission.READ_CONTACTS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue