Log activity intent

This commit is contained in:
M66B 2019-07-10 11:10:32 +02:00
parent 4c78cc823b
commit e51b7a1fbf
2 changed files with 5 additions and 3 deletions

View File

@ -61,7 +61,11 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override
protected void onCreate(Bundle savedInstanceState) {
Log.i("Create " + this.getClass().getName() + " version=" + BuildConfig.VERSION_NAME);
Log.logExtras(getIntent());
Intent intent = getIntent();
if (intent != null) {
Log.i(intent.toString());
Log.logBundle(intent.getExtras());
}
this.contacts = hasPermission(Manifest.permission.READ_CONTACTS);

View File

@ -66,8 +66,6 @@ public class ActivityCompose extends ActivityBilling implements FragmentManager.
Intent.ACTION_SENDTO.equals(action) ||
Intent.ACTION_SEND.equals(action) ||
Intent.ACTION_SEND_MULTIPLE.equals(action)) {
Log.i(intent.toString());
Log.logExtras(intent);
args = new Bundle();
args.putString("action", "new");