wxr
2024-12-02 ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a
HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs
@@ -2,19 +2,19 @@
using Android.Content;
using Android.OS;
using Com.Hdl.ON.Jpush.Androidjpush;
//using Com.Hdl.ON.Jpush.Androidjpush;
using Android.Views;
namespace HDL_ON_Android
{
    [Activity(
            Exported = true, Enabled = true, Name = "com.hdl.onpro.JPushOpenClickActivity"
            Exported = true, Enabled = true, Name = "com.santan.smartcontrol.JPushOpenClickActivity"
        , Theme = "@android:style/Theme.Translucent.NoTitleBar")]
    [IntentFilter(new string[] { "com.hdl.onpro.JPushOpenClickActivity", Intent.ActionView },
    [IntentFilter(new string[] { "com.santan.smartcontrol.JPushOpenClickActivity", Intent.ActionView },
         Categories = new string[]
        {
      "com.hdl.onpro",Intent.CategoryDefault
      "com.santan.smartcontrol",Intent.CategoryDefault
        })
        ]
    public class JPushOpenClickActivity : Activity
@@ -30,14 +30,14 @@
        protected void HandleOpenClick(Intent intent)
        {
            Intent broadcastIntent = new Intent();
            broadcastIntent.SetAction("com.hdl.onpro.jpush.firm.NOTIFICATION_OPENED");
            ComponentName componentName = new ComponentName(PackageName, "com.hdl.onpro.JPushFirmBroadcast");
            broadcastIntent.SetAction("com.santan.smartcontrol.jpush.firm.NOTIFICATION_OPENED");
            ComponentName componentName = new ComponentName(PackageName, "com.santan.smartcontrol.JPushFirmBroadcast");
            if (Build.VERSION.SdkInt >= BuildVersionCodes.O)
            {
                broadcastIntent.SetComponent(componentName);
            }
            FirmOpenClickHelper.Instance.HandleOpenClick(this, intent, broadcastIntent);
            //FirmOpenClickHelper.Instance.HandleOpenClick(this, intent, broadcastIntent);
            Finish();
        }