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

Commit 7d0716d2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Keyguard: Enhancement for message lockscreen target"

parents e7a942a4 98d9fff9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-subdir-Iaidl-files)

LOCAL_JAVA_LIBRARIES := services
LOCAL_JAVA_LIBRARIES := services telephony-common

LOCAL_PACKAGE_NAME := Keyguard

+5 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ import android.os.UserHandle;
import android.provider.CallLog;
import android.provider.CallLog.Calls;
import android.provider.MediaStore;
import android.provider.Telephony;
import android.util.Log;
import android.view.WindowManager;

@@ -148,6 +149,10 @@ public abstract class KeyguardActivityLauncher {
            intent.putExtra("_id", bundle.getLong("_id", -1));
            intent.putExtra("type", bundle.getString("type", ""));
        }
        final String smsAppPackage = Telephony.Sms.getDefaultSmsPackage(getContext());
        if (smsAppPackage != null) {
            intent.setPackage(smsAppPackage);
        }
        launchActivity(intent, false, false, null, null);
    }