mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Fixed bug where back button was quitting the app because the preferences location changed; bumped version to 2.3.2/15
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.apps.chrometophone"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="14"
|
||||
android:versionCode="15"
|
||||
android:versionName="2.3.2">
|
||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
|
||||
|
||||
|
||||
@@ -117,8 +117,8 @@ public class HistoryActivity extends Activity implements OnChildClickListener {
|
||||
@Override
|
||||
protected void onActivityResult (int requestCode, int resultCode, Intent data) {
|
||||
if (requestCode == SETUP_ACTIVITY_REQUEST_CODE) {
|
||||
SharedPreferences prefs = Prefs.get(this);
|
||||
if (prefs.getString("deviceRegistrationID", null) == null) {
|
||||
String gcmRegId = GCMRegistrar.getRegistrationId(this);
|
||||
if (gcmRegId.equals("")) {
|
||||
finish(); // user asked to exit
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user