Added logging

pull/204/head
M66B 3 years ago
parent 29fb962805
commit 702317acd7

@ -191,6 +191,14 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
} }
@Override
protected void onNewIntent(Intent intent) {
if (intent != null)
EntityLog.log(this, "New " + intent +
" extras=" + TextUtils.join(", ", Log.getExtras(intent.getExtras())));
super.onNewIntent(intent);
}
@Override @Override
protected void onSaveInstanceState(Bundle outState) { protected void onSaveInstanceState(Bundle outState) {
int before = Helper.getSize(outState); int before = Helper.getSize(outState);

Loading…
Cancel
Save