diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-11-23 21:26:03 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-11-23 21:26:03 +0100 |
commit | ea02b75307342bf7eba2ad33879d40c2afd8e8e2 (patch) | |
tree | b50511df19ba5ca66d04169da907971fcb961d4b /src/main | |
parent | 7ca03e9f1958f979a8791726d3b60d03a5606197 (diff) |
fix crash while showing location from notification
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ShowLocationActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ShowLocationActivity.java b/src/main/java/de/pixart/messenger/ui/ShowLocationActivity.java index b871f5440..79daee589 100644 --- a/src/main/java/de/pixart/messenger/ui/ShowLocationActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ShowLocationActivity.java @@ -26,6 +26,8 @@ import com.google.android.gms.maps.OnMapReadyCallback; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.Marker; import com.google.android.gms.maps.model.MarkerOptions; +import com.vanniktech.emoji.EmojiManager; +import com.vanniktech.emoji.ios.IosEmojiProvider; import java.util.List; import java.util.Locale; @@ -69,6 +71,7 @@ public class ShowLocationActivity extends Activity implements OnMapReadyCallback @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + EmojiManager.install(new IosEmojiProvider()); if (getActionBar() != null) { getActionBar().setHomeButtonEnabled(true); |