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

Commit 76fe78ba authored by narinder Rana's avatar narinder Rana Committed by Amit Kumar
Browse files

Implement icons using e-ui-sdk

parent dde221d7
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -23,11 +23,14 @@ LOCAL_STATIC_ANDROID_LIBRARIES := \
    android-support-v7-palette \
    android-support-v4

LOCAL_JAVA_LIBRARIES := voip-common

LOCAL_STATIC_JAVA_LIBRARIES := \
    android-common \
    com.android.vcard \
    guava \
    libphonenumber
    libphonenumber \
    org.lineageos.platform.sdk \

LOCAL_USE_AAPT2 := true

@@ -41,7 +44,8 @@ LOCAL_PRIVILEGED_MODULE := true

LOCAL_PROGUARD_FLAG_FILES := proguard.flags

LOCAL_SDK_VERSION := current

LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_MIN_SDK_VERSION := 21

include $(BUILD_PACKAGE)
+1 −0
Original line number Diff line number Diff line
@@ -120,3 +120,4 @@
-keepclassmembers class * {
  @com.google.common.annotations.VisibleForTesting *;
}
-dontwarn lineageos.**
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@

    <ImageView
        android:id="@+id/kind_icon"
        android:src="@drawable/quantum_ic_person_vd_theme_24"
        android:src="@lineageos.platform:drawable/ic_person_stroked"
        android:contentDescription="@string/header_name_entry"
        style="@style/EditKindIconStyle"/>

+3 −3
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public class EditorUiUtils {
        switch (mimeType) {
            case StructuredName.CONTENT_ITEM_TYPE:
                return ResourcesCompat.getDrawable(context.getResources(),
                        R.drawable.quantum_ic_person_vd_theme_24, null);
                        lineageos.platform.R.drawable.ic_person_stroked, null);
            case StructuredPostal.CONTENT_ITEM_TYPE:
                return ResourcesCompat.getDrawable(context.getResources(),
                        R.drawable.quantum_ic_place_vd_theme_24, null);
@@ -166,10 +166,10 @@ public class EditorUiUtils {
                        R.drawable.quantum_ic_dialer_sip_vd_theme_24, null);
            case Phone.CONTENT_ITEM_TYPE:
                return ResourcesCompat.getDrawable(context.getResources(),
                        R.drawable.quantum_ic_phone_vd_theme_24, null);
                        lineageos.platform.R.drawable.ic_phone, null);
            case Im.CONTENT_ITEM_TYPE:
                return ResourcesCompat.getDrawable(context.getResources(),
                        R.drawable.quantum_ic_message_vd_theme_24, null);
                        lineageos.platform.R.drawable.ic_message, null);
            case Event.CONTENT_ITEM_TYPE:
                return ResourcesCompat.getDrawable(context.getResources(),
                        R.drawable.quantum_ic_event_vd_theme_24, null);
+1 −1
Original line number Diff line number Diff line
@@ -661,7 +661,7 @@ public class RawContactEditorView extends LinearLayout implements View.OnClickLi
        primary = mCurrentRawContactDelta.getPrimaryEntry(StructuredName.CONTENT_ITEM_TYPE);
        final String name = primary != null ? primary.getAsString(StructuredName.DISPLAY_NAME) :
            getContext().getString(R.string.missing_name);
        final Drawable nameDrawable = context.getDrawable(R.drawable.quantum_ic_person_vd_theme_24);
        final Drawable nameDrawable = context.getDrawable(lineageos.platform.R.drawable.ic_person_stroked);
        final String nameContentDescription = res.getString(R.string.header_name_entry);
        bindData(nameDrawable, nameContentDescription, name, /* type */ null,
                /* isFirstEntry */ true);
Loading