导航菜单

页面标题

页面副标题

Cashalo v2.25.0.0 - IterableTrampolineActivity.java 源代码

正在查看: Cashalo v2.25.0.0 应用的 IterableTrampolineActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.iterable.iterableapi;

import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;

public class IterableTrampolineActivity extends AppCompatActivity {
    private static final String TAG = "TrampolineActivity";

    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        IterableLogger.v(TAG, "Notification Trampoline Activity created");
    }

    protected void onResume() {
        super.onResume();
        IterableLogger.v(TAG, "Notification Trampoline Activity resumed");
        Intent intent = getIntent();
        if (intent == null) {
            IterableLogger.d(TAG, "Intent is null. Doing nothing.");
            finish();
            return;
        }
        String action = intent.getAction();
        if (action == null) {
            IterableLogger.d(TAG, "Intent action is null. Doing nothing.");
            finish();
            return;
        }
        IterablePushNotificationUtil.dismissNotification(this, intent);
        IterablePushNotificationUtil.dismissNotificationPanel(this);
        if (IterableConstants.ACTION_PUSH_ACTION.equalsIgnoreCase(action)) {
            IterablePushNotificationUtil.handlePushAction(this, intent);
        }
        finish();
    }

    protected void onPause() {
        super.onPause();
        IterableLogger.v(TAG, "Notification Trampoline Activity on pause");
    }

    protected void onDestroy() {
        super.onDestroy();
        IterableLogger.v(TAG, "Notification Trampoline Activity destroyed");
    }
}