Skip to content

Commit

Permalink
修复名称过长末尾变为...时找不到撤回消息的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonQS committed Jun 24, 2018
1 parent d7da484 commit de6c783
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 43 deletions.
32 changes: 8 additions & 24 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
-keepclassmembers class fqcn.of.javascript.interface.for.webview { public *;}
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}

# Uncomment this to preserve the line number information for
# debugging stack traces.
Expand All @@ -11,15 +13,17 @@
# hide the original source file name.
-renamesourcefileattribute SourceFile

-keep class com.qsboy.antirecall.ui.App{ public <fields>;}
-keep class com.qsboy.antirecall.ui.App{public <fields>;}

-keep class com.chad.library.adapter.** {*;}
-keep public class * extends com.chad.library.adapter.base.BaseQuickAdapter
-keep public class * extends com.chad.library.adapter.base.BaseViewHolder
-keepclassmembers class **$** extends com.chad.library.adapter.base.BaseViewHolder { <init>(...);}
-keepclassmembers class **$** extends com.chad.library.adapter.base.BaseViewHolder {<init>(...);}

-keepattributes *Annotation*
-keepclassmembers class ** { @org.greenrobot.eventbus.Subscribe <methods>;}
-keepclassmembers class ** {
@org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }

-dontwarn okhttp3.**
Expand All @@ -28,23 +32,3 @@
-dontwarn org.conscrypt.**
# A resource is loaded with a relative path so the package of this class must be preserved.
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase

-keep class com.alipay.android.app.IAlixPay{*;}
-keep class com.alipay.android.app.IAlixPay$Stub{*;}
-keep class com.alipay.android.app.IRemoteServiceCallback{*;}
-keep class com.alipay.android.app.IRemoteServiceCallback$Stub{*;}
-keep class com.alipay.sdk.app.PayTask{ public *;}
-keep class com.alipay.sdk.app.AuthTask{ public *;}
-keep class com.alipay.sdk.app.H5PayCallback {
<fields>;
<methods>;
}
-keep class com.alipay.android.phone.mrpc.core.** { *; }
-keep class com.alipay.apmobilesecuritysdk.** { *; }
-keep class com.alipay.mobile.framework.service.annotation.** { *; }
-keep class com.alipay.mobilesecuritysdk.face.** { *; }
-keep class com.alipay.tscenter.biz.rpc.** { *; }
-keep class org.json.alipay.** { *; }
-keep class com.alipay.tscenter.** { *; }
-keep class com.ta.utdid2.** { *;}
-keep class com.ut.device.** { *;}
16 changes: 0 additions & 16 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,4 @@

</application>


<uses-sdk tools:ignore="OldTargetApi" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
package com.qsboy.antirecall.ui;

import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
Expand Down Expand Up @@ -39,7 +38,6 @@

import com.qsboy.antirecall.R;
import com.qsboy.antirecall.access.MainService;
import com.qsboy.antirecall.alipay.Pay;
import com.qsboy.antirecall.utils.CheckAuthority;
import com.qsboy.antirecall.utils.UpdateHelper;

Expand Down Expand Up @@ -216,7 +214,6 @@ public void error() {

view.findViewById(R.id.btn_donate).setOnClickListener(v -> {
Log.i(TAG, "onCreateView: onclick");
new Pay(getActivity()).payV2();
});

return view;
Expand Down

0 comments on commit de6c783

Please sign in to comment.