72 lines
2.3 KiB
Smali
72 lines
2.3 KiB
Smali
.class Lcom/inuker/bluetooth/library/BluetoothClientImpl$12;
|
|
.super Lcom/inuker/bluetooth/library/connect/response/BluetoothResponse;
|
|
.source "BluetoothClientImpl.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/inuker/bluetooth/library/BluetoothClientImpl;->requestMtu(Ljava/lang/String;ILcom/inuker/bluetooth/library/connect/response/BleMtuResponse;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/inuker/bluetooth/library/BluetoothClientImpl;
|
|
|
|
.field final synthetic val$response:Lcom/inuker/bluetooth/library/connect/response/BleMtuResponse;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/inuker/bluetooth/library/BluetoothClientImpl;Lcom/inuker/bluetooth/library/connect/response/BleMtuResponse;)V
|
|
.locals 0
|
|
|
|
.line 444
|
|
iput-object p1, p0, Lcom/inuker/bluetooth/library/BluetoothClientImpl$12;->this$0:Lcom/inuker/bluetooth/library/BluetoothClientImpl;
|
|
|
|
iput-object p2, p0, Lcom/inuker/bluetooth/library/BluetoothClientImpl$12;->val$response:Lcom/inuker/bluetooth/library/connect/response/BleMtuResponse;
|
|
|
|
invoke-direct {p0}, Lcom/inuker/bluetooth/library/connect/response/BluetoothResponse;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected onAsyncResponse(ILandroid/os/Bundle;)V
|
|
.locals 3
|
|
|
|
.line 447
|
|
iget-object v0, p0, Lcom/inuker/bluetooth/library/BluetoothClientImpl$12;->this$0:Lcom/inuker/bluetooth/library/BluetoothClientImpl;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {v0, v1}, Lcom/inuker/bluetooth/library/BluetoothClientImpl;->access$200(Lcom/inuker/bluetooth/library/BluetoothClientImpl;Z)V
|
|
|
|
.line 448
|
|
iget-object v0, p0, Lcom/inuker/bluetooth/library/BluetoothClientImpl$12;->val$response:Lcom/inuker/bluetooth/library/connect/response/BleMtuResponse;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v1, 0x17
|
|
|
|
const-string v2, "extra.mtu"
|
|
|
|
.line 449
|
|
invoke-virtual {p2, v2, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result p2
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-interface {v0, p1, p2}, Lcom/inuker/bluetooth/library/connect/response/BleMtuResponse;->onResponse(ILjava/lang/Object;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|