Log process ID

This commit is contained in:
M66B
2021-01-22 17:34:50 +01:00
parent b71f8a0246
commit 05f11818bf
4 changed files with 12 additions and 4 deletions

View File

@@ -78,7 +78,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override
protected void onCreate(Bundle savedInstanceState) {
EntityLog.log(this, "Activity create " + this.getClass().getName() +
" version=" + BuildConfig.VERSION_NAME);
" version=" + BuildConfig.VERSION_NAME +
" process=" + android.os.Process.myPid());
Intent intent = getIntent();
if (intent != null)
EntityLog.log(this, intent +