Example usage for android.widget RemoteViews getPackage

List of usage examples for android.widget RemoteViews getPackage

Introduction

In this page you can find the example usage for android.widget RemoteViews getPackage.

Prototype

public String getPackage() 

Source Link

Usage

From source file:com.achep.acdisplay.notifications.OpenNotificationJellyBean.java

@Override
public void load(@NonNull Context context) {
    RemoteViews rvs = getNotification().contentView;
    if (rvs == null)
        rvs = getNotification().bigContentView;
    if (rvs == null) //noinspection deprecation
        rvs = getNotification().tickerView;
    mPackageName = rvs != null ? rvs.getPackage() : "!2#$%^&*()";

    super.load(context);
}