Log activity intent

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

@ -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);

@ -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");

Loading…
Cancel
Save