吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 6550|回复: 11
收起左侧

[Android 求助] 车机带的酷我音乐软件需要去个弹窗

[复制链接]
li25172422 发表于 2020-1-2 10:09
播放器启动的时候 会有个弹窗“车联网基础服务未激活,”
MT管理器搜索后的代码如下,请教各位大哥哪里改一下就不弹了,本人小白,谢谢了

[Asm] 纯文本查看 复制代码
.class Lcn/kuwo/kwmusiccar/CUSCUtil$4;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/incall/vehicle/proxy/IVehicleNetworkCallback;


# instance fields
.field final synthetic this$0:Lcn/kuwo/kwmusiccar/CUSCUtil;


# direct methods
.method constructor <init>(Lcn/kuwo/kwmusiccar/CUSCUtil;)V
   .registers 2

   iput-object p1, p0, Lcn/kuwo/kwmusiccar/CUSCUtil$4;->this$0:Lcn/kuwo/kwmusiccar/CUSCUtil;

   invoke-direct {p0}, Ljava/lang/Object;-><init>()V

   return-void
.end method


# virtual methods
.method public onCompleted(Ljava/lang/String;)V
   .registers 6

   const/4 v3, 0x1

   const-string v0, "CUSCU"

   new-instance v1, Ljava/lang/StringBuilder;

   invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

   const-string v2, "获取车联网基础服务状态成功:"

   invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

   move-result-object v1

   invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

   move-result-object v1

   invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

   move-result-object v1

   invoke-static {v0, v1}, Lcn/kuwo/base/log/LogMgr;->b(Ljava/lang/String;Ljava/lang/String;)V

   iget-object v0, p0, Lcn/kuwo/kwmusiccar/CUSCUtil$4;->this$0:Lcn/kuwo/kwmusiccar/CUSCUtil;

   invoke-static {v0, p1}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$302(Lcn/kuwo/kwmusiccar/CUSCUtil;Ljava/lang/String;)Ljava/lang/String;

   invoke-static {}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$000()Lcn/kuwo/kwmusiccar/Authentication;

   move-result-object v0

   const/4 v1, -0x4

   invoke-virtual {v0, v1}, Lcn/kuwo/kwmusiccar/Authentication;->setState(I)V

   const-string v0, "active"

   invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

   move-result v0

   if-eqz v0, :cond_53

   invoke-static {}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$000()Lcn/kuwo/kwmusiccar/Authentication;

   move-result-object v0

   const/4 v1, -0x1

   invoke-virtual {v0, v1}, Lcn/kuwo/kwmusiccar/Authentication;->setState(I)V

   invoke-static {}, Lcn/kuwo/base/util/NetworkStateUtil;->isFromTox()Z

   move-result v0

   if-eqz v0, :cond_49

   iget-object v0, p0, Lcn/kuwo/kwmusiccar/CUSCUtil$4;->this$0:Lcn/kuwo/kwmusiccar/CUSCUtil;

   invoke-static {v0}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$400(Lcn/kuwo/kwmusiccar/CUSCUtil;)V

   :goto_41
   const-string v0, "CUSCU"

   const-string v1, "去联通鉴权"

   invoke-static {v0, v1}, Lcn/kuwo/base/log/LogMgr;->b(Ljava/lang/String;Ljava/lang/String;)V

   :goto_48
   return-void

   :cond_49
   invoke-static {}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$000()Lcn/kuwo/kwmusiccar/Authentication;

   move-result-object v0

   const/16 v1, 0x64

   invoke-virtual {v0, v1}, Lcn/kuwo/kwmusiccar/Authentication;->setState(I)V

   goto :goto_41

   :cond_53
   invoke-static {}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$000()Lcn/kuwo/kwmusiccar/Authentication;

   move-result-object v0

   const/4 v1, -0x2

   invoke-virtual {v0, v1}, Lcn/kuwo/kwmusiccar/Authentication;->setState(I)V

   const-string v0, "CUSCU"

   const-string v1, "弹出服务状态未激活弹框"

   invoke-static {v0, v1}, Lcn/kuwo/base/log/LogMgr;->b(Ljava/lang/String;Ljava/lang/String;)V

   const-string v0, "changan"

   const-string v1, "get service state exception"

   invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

   iget-object v0, p0, Lcn/kuwo/kwmusiccar/CUSCUtil$4;->this$0:Lcn/kuwo/kwmusiccar/CUSCUtil;

   invoke-static {v0, v3}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$202(Lcn/kuwo/kwmusiccar/CUSCUtil;Z)Z

   iget-object v0, p0, Lcn/kuwo/kwmusiccar/CUSCUtil$4;->this$0:Lcn/kuwo/kwmusiccar/CUSCUtil;

   invoke-static {v0, v3}, Lcn/kuwo/kwmusiccar/CUSCUtil;->access$502(Lcn/kuwo/kwmusiccar/CUSCUtil;Z)Z

   goto :goto_48
.end method

.method public onException(ILjava/lang/String;)V
   .registers 6

   const-string v0, "CUSCU"

   new-instance v1, Ljava/lang/StringBuilder;

   invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

   const-string v2, "获取车联网基础服务状态异常,"

   invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

   move-result-object v1

   invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

   move-result-object v1

   const-string v2, ":"

   invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

   move-result-object v1

   invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

   move-result-object v1

   invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

   move-result-object v1

   invoke-static {v0, v1}, Lcn/kuwo/base/log/LogMgr;->b(Ljava/lang/String;Ljava/lang/String;)V

   return-void
.end method

本帖被以下淘专辑推荐:

  • · 車機|主题: 100, 订阅: 116

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

 楼主| li25172422 发表于 2020-1-2 10:51
司徒浩 发表于 2020-1-2 10:48
发蓝奏,这个太慢了

https://www.lanzouj.com/i8eij9i
smtuk 发表于 2020-1-11 14:52
li25172422 发表于 2020-1-9 09:03
你要共存版还是直装版?

楼主可以给我发一个吗,两个版本都要,看一下那个装到车上合适,O(∩_∩)O谢谢!
头像被屏蔽
司徒浩 发表于 2020-1-2 10:30
 楼主| li25172422 发表于 2020-1-2 10:47

https://pan.baidu.com/s/1Fecv9loCM0zKFhuFjxhyVw 发出来了
头像被屏蔽
司徒浩 发表于 2020-1-2 10:48
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| li25172422 发表于 2020-1-2 12:22
路径在这里
Screenshot_2020-01-02-12-21-03.png
 楼主| li25172422 发表于 2020-1-3 11:00
谢谢各位 我已经找到方法了
风绕柳絮轻敲雪 发表于 2020-1-3 16:59
就上面的代码而言
就是比对传入的字符串是否是active  
所以修改传入的字符串为active 就行了
bhm5250 发表于 2020-1-7 10:03
li25172422 发表于 2020-1-3 11:00
谢谢各位 我已经找到方法了

能分享一个修改后的吗?谢谢
 楼主| li25172422 发表于 2020-1-9 09:03
bhm5250 发表于 2020-1-7 10:03
能分享一个修改后的吗?谢谢

你要共存版还是直装版?
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-23 21:45

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表