Improve message requests, add megaphone.

This commit is contained in:
Alex Hart
2020-02-19 18:08:34 -04:00
committed by Greyson Parrelli
parent dc689d325b
commit 9e5f64c431
83 changed files with 2406 additions and 735 deletions

View File

@@ -74,7 +74,7 @@ public final class ProfileName implements Parcelable {
* Deserializes a profile name, trims if exceeds the limits.
*/
public static @NonNull ProfileName fromSerialized(@Nullable String profileName) {
if (profileName == null) {
if (profileName == null || profileName.isEmpty()) {
return EMPTY;
}

View File

@@ -47,6 +47,7 @@ public class EditProfileActivity extends BaseActionBarActivity implements EditPr
@Override
public void onProfileNameUploadCompleted() {
setResult(RESULT_OK);
finish();
}
}