Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aee3b4a7 authored by Wysie's avatar Wysie
Browse files

Release 2.32.

Fixed a self-introduced FC bug which happens if you choose a contact picture by using the Gallery/photo picker, and cancel it halfway.
Fixed an AOSP bug with "Display Groups" in Contacts always having an index off. See comments in github code for more information.
parent 71eec244
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -831,7 +831,7 @@
    <string name="title_about_name">Mod Name</string>
    <string name="summary_about_name">Wysie Contacts</string>
    <string name="title_about_version">Version</string>
    <string name="summary_about_version">2.31</string>
    <string name="summary_about_version">2.32</string>
    <string name="title_about_credits">Credits</string>
    <string name="summary_about_credits">ChainsDD and the rest of XDA! :)</string>
    
+6 −1
Original line number Diff line number Diff line
@@ -1753,7 +1753,9 @@ public final class ContactsListActivity extends ListActivity
                    if (Groups.GROUP_ANDROID_STARRED.equals(name)) {
                        name = getString(R.string.starredInAndroid);
                    }
                    
                    groups.add(name);
                    
                    if (name.equals(mDisplayInfo)) {
                        currentIndex = groups.size() - 1;
                    }
@@ -1765,6 +1767,9 @@ public final class ContactsListActivity extends ListActivity
                            && Groups.GROUP_MY_CONTACTS.equals(mDisplayInfo)) {
                        currentIndex = DISPLAY_GROUP_INDEX_MY_CONTACTS;                        
                    }
                    else if (currentIndex >= DISPLAY_GROUP_INDEX_MY_CONTACTS) {
                        currentIndex += 1; //Wysie_Soh: Since My Contacts is inserted into index 2, it will cause index values from 2 onwards to be affected.
                    }
                    mDisplayGroupsIncludesMyContacts = true;
                }
            }
+5 −3
Original line number Diff line number Diff line
@@ -613,10 +613,12 @@ public final class EditContactActivity extends Activity implements View.OnClickL
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        if (resultCode != RESULT_OK) {
            //Delete temp file if it exists
            if (mImageCaptureUri != null) {
                File f = new File(mImageCaptureUri.getPath());            
                if (f.exists()) {
                    f.delete();
                }
            }
            return;
        }