Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions card.io/src/main/java/io/card/payment/CardIOActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,6 @@ public final class CardIOActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

numActivityAllocations++;
// NOTE: java native asserts are disabled by default on Android.
if (numActivityAllocations != 1) {
Expand Down Expand Up @@ -399,6 +397,7 @@ protected void onCreate(Bundle savedInstanceState) {
}
}

super.onCreate(savedInstanceState);
}

private void android23AndAboveHandleCamera() {
Expand Down