mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Improve message requests, add megaphone.
This commit is contained in:
committed by
Greyson Parrelli
parent
dc689d325b
commit
9e5f64c431
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ public class EditProfileActivity extends BaseActionBarActivity implements EditPr
|
||||
|
||||
@Override
|
||||
public void onProfileNameUploadCompleted() {
|
||||
setResult(RESULT_OK);
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user