Log activity intent

pull/157/head
M66B 6 years ago
parent 4c78cc823b
commit e51b7a1fbf

@ -61,7 +61,11 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
Log.i("Create " + this.getClass().getName() + " version=" + BuildConfig.VERSION_NAME); 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); this.contacts = hasPermission(Manifest.permission.READ_CONTACTS);

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

Loading…
Cancel
Save