Added explicit finish() to prefActivity because we see the occasional crash on system exit, which is new...
This commit is contained in:
Binary file not shown.
@@ -150,6 +150,8 @@ public class PrefActivity extends PreferenceActivity implements SharedPreference
|
|||||||
Intent i;
|
Intent i;
|
||||||
i = new Intent(this, StartupActivity.class);
|
i = new Intent(this, StartupActivity.class);
|
||||||
startActivity(i);
|
startActivity(i);
|
||||||
|
Log.i(TAG,"onSharedPreferenceChanged() - finishing PrefActivity");
|
||||||
|
finish();
|
||||||
} else {
|
} else {
|
||||||
Log.i(TAG, "OnSharedPreferenceChanged(): SMS Alarm disabled so do not need permissions");
|
Log.i(TAG, "OnSharedPreferenceChanged(): SMS Alarm disabled so do not need permissions");
|
||||||
}
|
}
|
||||||
@@ -212,6 +214,7 @@ public class PrefActivity extends PreferenceActivity implements SharedPreference
|
|||||||
protected void onStop() {
|
protected void onStop() {
|
||||||
super.onStop();
|
super.onStop();
|
||||||
mUtil.writeToSysLogFile("PrefActvity.onStop()");
|
mUtil.writeToSysLogFile("PrefActvity.onStop()");
|
||||||
|
Log.i(TAG,"onStop()");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user