Revert "Added emoji compat"

This reverts commit c7dcde5c6b.

7 MB extra is too much
pull/155/head
M66B 6 years ago
parent c7dcde5c6b
commit edd686e636

@ -112,7 +112,6 @@ dependencies {
def preference_version = "1.0.0"
def work_version = "2.0.1"
def exif_version = "1.0.0"
def emoji_version = "1.0.0"
def billingclient_version = "1.2.2"
def javamail_version = "1.6.3"
def jsoup_version = "1.11.3"
@ -170,10 +169,6 @@ dependencies {
// https://mvnrepository.com/artifact/androidx.exifinterface/exifinterface
implementation "androidx.exifinterface:exifinterface:$exif_version"
// https://mvnrepository.com/artifact/androidx.emoji
implementation "androidx.emoji:emoji:$emoji_version"
implementation "androidx.emoji:emoji-bundled:$emoji_version"
// https://developer.android.com/google/play/billing/billing_library_releases_notes
implementation "com.android.billingclient:billing:$billingclient_version"

@ -38,8 +38,6 @@ import android.preference.PreferenceManager;
import android.webkit.CookieManager;
import androidx.annotation.RequiresApi;
import androidx.emoji.bundled.BundledEmojiCompatConfig;
import androidx.emoji.text.EmojiCompat;
import org.json.JSONArray;
import org.json.JSONException;
@ -93,15 +91,9 @@ public class ApplicationEx extends Application {
});
createNotificationChannels();
EmojiCompat.Config config = new BundledEmojiCompatConfig(this);
EmojiCompat.init(config);
if (Helper.hasWebView(this))
CookieManager.getInstance().setAcceptCookie(false);
MessageHelper.setSystemProperties();
Core.init(this);
}

@ -4,9 +4,9 @@ import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import androidx.emoji.widget.EmojiEditText;
import androidx.appcompat.widget.AppCompatEditText;
public class EditTextCompose extends EmojiEditText {
public class EditTextCompose extends AppCompatEditText {
public EditTextCompose(Context context) {
super(context);
}

@ -239,7 +239,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvSignature" />
<androidx.emoji.widget.EmojiTextView
<TextView
android:id="@+id/tvReference"
android:layout_width="match_parent"
android:layout_height="wrap_content"

@ -556,7 +556,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barrier_body" />
<androidx.emoji.widget.EmojiTextView
<TextView
android:id="@+id/tvBody"
android:layout_width="0dp"
android:layout_height="wrap_content"

@ -548,7 +548,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barrier_body" />
<androidx.emoji.widget.EmojiTextView
<TextView
android:id="@+id/tvBody"
android:layout_width="0dp"
android:layout_height="wrap_content"

Loading…
Cancel
Save