Events should be final in order to work

This commit is contained in:
tonymanou 2017-01-12 00:41:09 +01:00 committed by topjohnwu
parent dc316c5669
commit ae74d54451
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class MagiskHideFragment extends Fragment implements CallbackHandler.Even
"com.google.android.apps.walletnfcrel", "com.google.android.apps.walletnfcrel",
"com.nianticlabs.pokemongo" "com.nianticlabs.pokemongo"
); );
public static CallbackHandler.Event packageLoadDone = new CallbackHandler.Event(); public static final CallbackHandler.Event packageLoadDone = new CallbackHandler.Event();
private ApplicationAdapter appAdapter; private ApplicationAdapter appAdapter;

View File

@ -35,7 +35,7 @@ public class MainActivity extends AppCompatActivity
private static final String SELECTED_ITEM_ID = "SELECTED_ITEM_ID"; private static final String SELECTED_ITEM_ID = "SELECTED_ITEM_ID";
public static CallbackHandler.Event recreate = new CallbackHandler.Event(); public static final CallbackHandler.Event recreate = new CallbackHandler.Event();
private final Handler mDrawerHandler = new Handler(); private final Handler mDrawerHandler = new Handler();
private SharedPreferences prefs; private SharedPreferences prefs;