LockerNotifBinder.smali
.class public Lcom/cm/plugincluster/locker/LockerNotifBinder;
.super Landroid/os/Binder;
.source "LockerNotifBinder.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/cm/plugincluster/locker/LockerNotifBinder$LockerNotifListener;
}
.end annotation
# instance fields
.field private mListener:Lcom/cm/plugincluster/locker/LockerNotifBinder$LockerNotifListener;
.field private mService:Landroid/service/notification/NotificationListenerService;
# direct methods
.method public constructor <init>(Landroid/service/notification/NotificationListenerService;)V
.registers 2
.prologue
.line 18
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
.line 19
iput-object p1, p0, Lcom/cm/plugincluster/locker/LockerNotifBinder;->mService:Landroid/service/notification/NotificationListenerService;
.line 20
return-void
.end method
# virtual methods
.method public getActiveNotifications()[Landroid/service/notification/StatusBarNotification;
.registers 2
.annotation build Landroid/annotation/TargetApi;
value = 0x12
.end annotation
.prologue
.line 25
:try_start_0
iget-object v0, p0, Lcom/cm/plugincluster/locker/LockerNotifBinder;->mService:Landroid/service/notification/NotificationListenerService;
invoke-virtual {v0}, Landroid/service/notification/NotificationListenerService;->getActiveNotifications()[Landroid/service/notification/StatusBarNotification;
:try_end_5
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_5} :catch_7
move-result-object v0
.line 28
:goto_6
return-object v0
.line 26
:catch_7
move-exception v0
.line 27
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
.line 28
const/4 v0, 0x0
goto :goto_6
.end method
.method public getNotificationListener()Lcom/cm/plugincluster/locker/LockerNotifBinder$LockerNotifListener;
.registers 2
.prologue
.line 37
iget-object v0, p0, Lcom/cm/plugincluster/locker/LockerNotifBinder;->mListener:Lcom/cm/plugincluster/locker/LockerNotifBinder$LockerNotifListener;
return-object v0
.end method
.method public setNotificationListener(Lcom/cm/plugincluster/locker/LockerNotifBinder$LockerNotifListener;)V
.registers 2
.prologue
.line 33
iput-object p1, p0, Lcom/cm/plugincluster/locker/LockerNotifBinder;->mListener:Lcom/cm/plugincluster/locker/LockerNotifBinder$LockerNotifListener;
.line 34
return-void
.end method