package org.forestguardian.View;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import org.forestguardian.R;

/**
 * Created by emma on 30/04/17.
 */

public class CreateReportActivity extends AppCompatActivity {

    @Override
    public void onCreate(@Nullable final Bundle savedInstanceState, @Nullable final PersistableBundle persistentState) {
        super.onCreate(savedInstanceState, persistentState);

        setContentView(R.layout.new_report_layout);
    }
}

@@ -57,89 +57,8 @@
 le;%0A
-import android.os.PersistableBundle;%0Aimport android.support.annotation.Nullable;%0A
 impo
@@ -102,16 +102,16 @@
 tivity;%0A
+
 %0Aimport 
@@ -276,26 +276,16 @@
 nCreate(
-@Nullable 
 final Bu
@@ -311,59 +311,8 @@
 tate
-, @Nullable final PersistableBundle persistentState
 ) %7B%0A
@@ -356,25 +356,8 @@
 tate
-, persistentState
 );%0A%0A

Change onCreate definition.