1

Android on finish() recreates Activity

view story
linux-howto

http://stackoverflow.com – Strange things happens if I try to finish activity. After calling for the first time activity finish method - activity re-creates. BroadcastReceiver requestReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { long resultRequestId = intent.getLongExtra(DVSServiceHelper.EXTRA_REQUEST_ID, 0); if(BuildConfig.DEBUG) Log.d(TAG, "received request id: "+ resultRequestId +", current request id: "+ requestId); if (resultRequestId == requestId) { int resultCode (HowTos)