Loading packages/Keyguard/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading packages/Keyguard/src/com/android/keyguard/KeyguardActivityLauncher.java +5 −0 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); } Loading Loading
packages/Keyguard/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
packages/Keyguard/src/com/android/keyguard/KeyguardActivityLauncher.java +5 −0 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); } Loading