Compare commits
8 Commits
dev/app_co
...
peko_relea
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9096a9b57f | ||
![]() |
c46c49715c | ||
![]() |
31b785c511 | ||
![]() |
6f01c5ddad | ||
![]() |
306f15f7f9 | ||
![]() |
0babbedeb9 | ||
![]() |
d09e60d206 | ||
![]() |
e37796286b |
34
android_crop_lib/build.gradle
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
apply plugin: 'com.android.library'
|
||||||
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
|
android {
|
||||||
|
compileSdkVersion COMPILE_SDK_VERSION.toInteger()
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
minSdkVersion MIN_SDK_VERSION.toInteger()
|
||||||
|
targetSdkVersion TARGET_SDK_VERSION.toInteger()
|
||||||
|
|
||||||
|
testApplicationId 'com.soundcloud.android.crop.test'
|
||||||
|
testInstrumentationRunner 'android.test.InstrumentationTestRunner'
|
||||||
|
}
|
||||||
|
|
||||||
|
buildTypes {
|
||||||
|
release {
|
||||||
|
minifyEnabled true
|
||||||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
buildToolsVersion = '30.0.3'
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
api 'androidx.annotation:annotation:1.4.0'
|
||||||
|
api 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||||
|
implementation "androidx.core:core-ktx:1.7.0"
|
||||||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
1
android_crop_lib/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<manifest package="com.soundcloud.android.crop" />
|
@@ -1,4 +1,4 @@
|
|||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
@@ -1,4 +1,4 @@
|
|||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.app.ProgressDialog;
|
import android.app.ProgressDialog;
|
||||||
import android.content.ContentResolver;
|
import android.content.ContentResolver;
|
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
@@ -1,4 +1,4 @@
|
|||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
class Log {
|
class Log {
|
||||||
|
|
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.soundcloud.crop;
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.Matrix;
|
import android.graphics.Matrix;
|
@@ -0,0 +1,48 @@
|
|||||||
|
package com.soundcloud.android.crop;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
import android.net.Uri;
|
||||||
|
import android.os.Build;
|
||||||
|
import android.os.Environment;
|
||||||
|
import android.text.TextUtils;
|
||||||
|
import android.util.Log;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
|
||||||
|
public class UriUtil {
|
||||||
|
|
||||||
|
public final static String getFileProviderName(Context context){
|
||||||
|
return context.getPackageName()+".fileprovider";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 将TakePhoto 提供的Uri 解析出文件绝对路径
|
||||||
|
*
|
||||||
|
* @param uri
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static String parseOwnUri(Context context, Uri uri) {
|
||||||
|
if (uri == null) return null;
|
||||||
|
String path;
|
||||||
|
if (TextUtils.equals(uri.getAuthority(), getFileProviderName(context))) {
|
||||||
|
String target_text_camera_photos = "camera_photos/";
|
||||||
|
if (uri.getPath() != null && uri.getPath().contains(target_text_camera_photos)) {
|
||||||
|
path = new File(uri.getPath().replace(target_text_camera_photos, ""))
|
||||||
|
.getAbsolutePath();
|
||||||
|
} else {
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||||
|
path = new File(Environment.getExternalStorageDirectory(),
|
||||||
|
uri.getPath())
|
||||||
|
.getAbsolutePath();
|
||||||
|
} else {
|
||||||
|
path = uri.getPath();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
path = uri.getPath();
|
||||||
|
}
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
BIN
android_crop_lib/src/main/res/drawable-hdpi/crop__divider.9.png
Normal file
After Width: | Height: | Size: 76 B |
BIN
android_crop_lib/src/main/res/drawable-hdpi/crop__ic_cancel.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
android_crop_lib/src/main/res/drawable-hdpi/crop__ic_done.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
android_crop_lib/src/main/res/drawable-mdpi/crop__divider.9.png
Normal file
After Width: | Height: | Size: 76 B |
BIN
android_crop_lib/src/main/res/drawable-mdpi/crop__ic_cancel.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
android_crop_lib/src/main/res/drawable-mdpi/crop__ic_done.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
android_crop_lib/src/main/res/drawable-xhdpi/crop__divider.9.png
Normal file
After Width: | Height: | Size: 83 B |
BIN
android_crop_lib/src/main/res/drawable-xhdpi/crop__ic_cancel.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
android_crop_lib/src/main/res/drawable-xhdpi/crop__ic_done.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
android_crop_lib/src/main/res/drawable-xhdpi/crop__tile.png
Normal file
After Width: | Height: | Size: 142 B |
@@ -9,7 +9,7 @@
|
|||||||
android:id="@+id/done_cancel_bar"
|
android:id="@+id/done_cancel_bar"
|
||||||
layout="@layout/crop__layout_done_cancel" />
|
layout="@layout/crop__layout_done_cancel" />
|
||||||
|
|
||||||
<com.soundcloud.crop.CropImageView
|
<com.soundcloud.android.crop.CropImageView
|
||||||
android:id="@+id/crop_image"
|
android:id="@+id/crop_image"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
10
android_crop_lib/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
|
<string name="crop__saving">正在儲存相片…</string>
|
||||||
|
<string name="crop__wait">請稍候…</string>
|
||||||
|
<string name="crop__pick_error">沒有可用的圖片來源</string>
|
||||||
|
|
||||||
|
<string name="crop__done">完成</string>
|
||||||
|
<string name="crop__cancel" tools:ignore="ButtonCase">取消</string>
|
||||||
|
|
||||||
|
</resources>
|
44
android_crop_lib/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
|
<style name="Crop"></style>
|
||||||
|
|
||||||
|
<style name="Crop.DoneCancelBar">
|
||||||
|
<item name="android:layout_width">match_parent</item>
|
||||||
|
<item name="android:layout_height">@dimen/crop__bar_height</item>
|
||||||
|
<item name="android:orientation">horizontal</item>
|
||||||
|
<item name="android:divider">@drawable/crop__divider</item>
|
||||||
|
<item name="android:showDividers" tools:ignore="NewApi">middle</item>
|
||||||
|
<item name="android:dividerPadding" tools:ignore="NewApi">12dp</item>
|
||||||
|
<item name="android:background">@color/crop__button_bar</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Crop.ActionButton">
|
||||||
|
<item name="android:layout_width">0dp</item>
|
||||||
|
<item name="android:layout_height">match_parent</item>
|
||||||
|
<item name="android:layout_weight">1</item>
|
||||||
|
<item name="android:background">@drawable/crop__selectable_background</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Crop.ActionButtonText">
|
||||||
|
<item name="android:layout_width">wrap_content</item>
|
||||||
|
<item name="android:layout_height">wrap_content</item>
|
||||||
|
<item name="android:layout_gravity">center</item>
|
||||||
|
<item name="android:gravity">center_vertical</item>
|
||||||
|
<item name="android:paddingRight">20dp</item> <!-- Offsets left drawable -->
|
||||||
|
<item name="android:drawablePadding">8dp</item>
|
||||||
|
<item name="android:textColor">@color/crop__button_text</item>
|
||||||
|
<item name="android:textStyle">bold</item>
|
||||||
|
<item name="android:textSize">13sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Crop.ActionButtonText.Done">
|
||||||
|
<item name="android:drawableLeft">@drawable/crop__ic_done</item>
|
||||||
|
<item name="android:text">@string/crop__done</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Crop.ActionButtonText.Cancel">
|
||||||
|
<item name="android:drawableLeft">@drawable/crop__ic_cancel</item>
|
||||||
|
<item name="android:text">@string/crop__cancel</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</resources>
|
856
app/build.gradle
39
app/google-services.json
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"project_info": {
|
||||||
|
"project_number": "656602722869",
|
||||||
|
"project_id": "pekolive-30f9e",
|
||||||
|
"storage_bucket": "pekolive-30f9e.appspot.com"
|
||||||
|
},
|
||||||
|
"client": [
|
||||||
|
{
|
||||||
|
"client_info": {
|
||||||
|
"mobilesdk_app_id": "1:656602722869:android:dac206f8aae0ba9021f77c",
|
||||||
|
"android_client_info": {
|
||||||
|
"package_name": "com.vele.pekolive"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "656602722869-sss2inirem512et0015kdqjp39mqgn96.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"api_key": [
|
||||||
|
{
|
||||||
|
"current_key": "AIzaSyDDoTSpY3wxOefVDVKRmE9cDiT1iv8Ra-4"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"services": {
|
||||||
|
"appinvite_service": {
|
||||||
|
"other_platform_oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "656602722869-sss2inirem512et0015kdqjp39mqgn96.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configuration_version": "1"
|
||||||
|
}
|
212
app/proguard-rules.pro
vendored
@@ -116,15 +116,20 @@
|
|||||||
-dontwarn com.netease.**
|
-dontwarn com.netease.**
|
||||||
-keep class com.netease.** {*;}
|
-keep class com.netease.** {*;}
|
||||||
|
|
||||||
|
# Presenter 相关
|
||||||
|
-keep class com.yizhuan.erban.base.** { *; }
|
||||||
|
-keep public class * extends com.yizhuan.erban.base.BaseMvpPresenter
|
||||||
|
-keep public class * extends com.yizhuan.xchat_android_library.base.factory.AbstractMvpPresenter
|
||||||
|
|
||||||
# 云信自定义 ViewHolder 配置
|
# 云信自定义 ViewHolder 配置
|
||||||
-dontwarn com.chwl.app.ui.im.recent.holder.**
|
-dontwarn com.yizhuan.erban.ui.im.recent.holder.**
|
||||||
-keep class com.chwl.app.ui.im.recent.holder.** {*;}
|
-keep class com.yizhuan.erban.ui.im.recent.holder.** {*;}
|
||||||
-keep class com.chwl.app.ui.im.chat.** {*;}
|
-keep class com.yizhuan.erban.ui.im.chat.** {*;}
|
||||||
-keep class com.chwl.app.luckymoney.viewholder.** {*;}
|
-keep class com.yizhuan.erban.luckymoney.viewholder.** {*;}
|
||||||
-keep class com.chwl.app.share.viewholder.** {*;}
|
-keep class com.yizhuan.erban.share.viewholder.** {*;}
|
||||||
-keep class com.chwl.app.public_chat_hall.msg.viewholder.** {*;}
|
-keep class com.yizhuan.erban.public_chat_hall.msg.viewholder.** {*;}
|
||||||
-keep class com.chwl.app.module_hall.im.msgholder.** {*;}
|
-keep class com.yizhuan.erban.module_hall.im.msgholder.** {*;}
|
||||||
-keep class com.chwl.app.mentoring_relationship.viewholder.** {*;}
|
-keep class com.yizhuan.tutu.mentoring_relationship.viewholder.** {*;}
|
||||||
-keep public class * extends com.netease.nim.uikit.common.ui.recyclerview.holder.RecyclerViewHolder {*;}
|
-keep public class * extends com.netease.nim.uikit.common.ui.recyclerview.holder.RecyclerViewHolder {*;}
|
||||||
-keep public class * extends com.netease.nim.uikit.business.session.viewholder.MsgViewHolderBase {*;}
|
-keep public class * extends com.netease.nim.uikit.business.session.viewholder.MsgViewHolderBase {*;}
|
||||||
|
|
||||||
@@ -172,8 +177,8 @@
|
|||||||
-keep class com.darsh.multipleimageselect.** { *; }
|
-keep class com.darsh.multipleimageselect.** { *; }
|
||||||
-dontwarn com.darsh.multipleimageselect.**
|
-dontwarn com.darsh.multipleimageselect.**
|
||||||
|
|
||||||
-keep class com.soundcloud.crop.** { *; }
|
-keep class com.soundcloud.android.crop.** { *; }
|
||||||
-dontwarn com.soundcloud.crop.**
|
-dontwarn com.soundcloud.android.crop.**
|
||||||
|
|
||||||
# glide4.0
|
# glide4.0
|
||||||
-keep public class * implements com.bumptech.glide.module.GlideModule
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
||||||
@@ -185,11 +190,6 @@
|
|||||||
# for DexGuard only
|
# for DexGuard only
|
||||||
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
|
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
|
||||||
|
|
||||||
# Presenter 相关
|
|
||||||
-keep class com.chwl.app.base.** { *; }
|
|
||||||
-keep public class * extends com.chwl.app.base.BaseMvpPresenter
|
|
||||||
-keep public class * extends com.chwl.library.base.factory.AbstractMvpPresenter
|
|
||||||
|
|
||||||
# BaseAdapter
|
# BaseAdapter
|
||||||
-keep class com.chad.library.adapter.** {
|
-keep class com.chad.library.adapter.** {
|
||||||
*;
|
*;
|
||||||
@@ -201,8 +201,8 @@
|
|||||||
<init>(...);
|
<init>(...);
|
||||||
}
|
}
|
||||||
|
|
||||||
-dontwarn com.chwl.app.bindadapter.**
|
-dontwarn com.yizhuan.erban.bindadapter.**
|
||||||
-keep class com.chwl.app.bindadapter.** {*;}
|
-keep class com.yizhuan.erban.bindadapter.** {*;}
|
||||||
|
|
||||||
# Ping++ 混淆过滤
|
# Ping++ 混淆过滤
|
||||||
-dontwarn com.pingplusplus.**
|
-dontwarn com.pingplusplus.**
|
||||||
@@ -233,9 +233,11 @@
|
|||||||
|
|
||||||
# TODO 网络加载 一些业务bean gson 时候混淆问题
|
# TODO 网络加载 一些业务bean gson 时候混淆问题
|
||||||
-keep class org.json.** {*;}
|
-keep class org.json.** {*;}
|
||||||
-keep class com.chwl.**.bean.** {*;}
|
-dontwarn com.yizhuan.xchat_android_core.**
|
||||||
-keep class com.chwl.**.result.** {*;}
|
-keep class com.yizhuan.xchat_android_core.** {*;}
|
||||||
-keep class com.chwl.**.entity.** {*;}
|
-keep class com.yizhuan.treasure_box.bean.** {*;}
|
||||||
|
-keep class com.yizhuan.erban.avroom.bean.** {*;}
|
||||||
|
|
||||||
|
|
||||||
#百度统计
|
#百度统计
|
||||||
-keep class com.baidu.bottom.** { *; }
|
-keep class com.baidu.bottom.** { *; }
|
||||||
@@ -308,8 +310,8 @@
|
|||||||
-keep class com.autonavi.aps.amapapi.model.**{*;}
|
-keep class com.autonavi.aps.amapapi.model.**{*;}
|
||||||
|
|
||||||
#暂时keep这个View排查华为oom问题
|
#暂时keep这个View排查华为oom问题
|
||||||
-keep class com.chwl.app.avroom.widget.MicroView{*;}
|
-keep class com.yizhuan.erban.avroom.widget.MicroView{*;}
|
||||||
-keep class com.chwl.app.ui.widget.rollviewpager.RollPagerView{*;}
|
-keep class com.yizhuan.erban.ui.widget.rollviewpager.RollPagerView{*;}
|
||||||
|
|
||||||
#linkedMe
|
#linkedMe
|
||||||
-keep class com.microquation.linkedme.android.** { *; }
|
-keep class com.microquation.linkedme.android.** { *; }
|
||||||
@@ -367,7 +369,7 @@
|
|||||||
-dontwarn com.meizu.cloud.**
|
-dontwarn com.meizu.cloud.**
|
||||||
-keep class com.meizu.cloud.** {*;}
|
-keep class com.meizu.cloud.** {*;}
|
||||||
|
|
||||||
-keep class com.chwl.app.ui.widget.AppBarLayoutBehavior {*;}
|
-keep class com.yizhuan.erban.ui.widget.AppBarLayoutBehavior {*;}
|
||||||
|
|
||||||
#ViewBinding使用的反射生成的对应Binding
|
#ViewBinding使用的反射生成的对应Binding
|
||||||
-keepclassmembers class * implements androidx.viewbinding.ViewBinding {
|
-keepclassmembers class * implements androidx.viewbinding.ViewBinding {
|
||||||
@@ -452,7 +454,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
## EasyPhotos
|
## EasyPhotos
|
||||||
-keep class com.chwl.library.easyphoto.models.** { *; }
|
-keep class com.yizhuan.xchat_android_library.easyphoto.models.** { *; }
|
||||||
|
|
||||||
## 图片裁剪UCrop
|
## 图片裁剪UCrop
|
||||||
-dontwarn com.yalantis.ucrop.**
|
-dontwarn com.yalantis.ucrop.**
|
||||||
@@ -477,164 +479,4 @@
|
|||||||
}
|
}
|
||||||
-keep public class com.android.installreferrer.**{ *; }
|
-keep public class com.android.installreferrer.**{ *; }
|
||||||
|
|
||||||
-keep public class * extends java.lang.Exception
|
-keep public class * extends java.lang.Exception
|
||||||
|
|
||||||
-keep public class com.alibaba.android.arouter.routes.**{*;}
|
|
||||||
-keep public class com.alibaba.android.arouter.facade.**{*;}
|
|
||||||
-keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}
|
|
||||||
-keep class tech.sud.mgp.SudMGPWrapper.** {*;}
|
|
||||||
|
|
||||||
#new after proguard
|
|
||||||
-dontwarn bdcb.eedb.**
|
|
||||||
-keep class bdcb.eedb.** {*;}
|
|
||||||
-keep class cddcabe.afbdedeb.** {*;}
|
|
||||||
-keep class dfedf.eedab.** {*;}
|
|
||||||
-keep class dcdaef.bbcdfa.** {*;}
|
|
||||||
-keep class com.chwl.app.public_chat_hall.msg.viewholder.** {*;}
|
|
||||||
-keep class decfc.acfca.** {*;}
|
|
||||||
-keep class com.chwl.app.mentoring_relationship.viewholder.** {*;}
|
|
||||||
-keep class b.** { *; }
|
|
||||||
-keep class cb.** { *; }
|
|
||||||
-keep public class * extends b.NP
|
|
||||||
-keep public class * extends ddbfbdf.acbaddc.AbstractMvpPresenter
|
|
||||||
-dontwarn bacefd.cdbedf.**
|
|
||||||
-keep class bacefd.cdbedf.** {*;}
|
|
||||||
-keep class f.DG{*;}
|
|
||||||
-keep class bf.CA{*;}
|
|
||||||
-keep class q.Y {*;}
|
|
||||||
|
|
||||||
-keep class bacccfc.abbadfec.** { *; }
|
|
||||||
-keep class edecfbdbb.fbdcbfaaed.** { *; }
|
|
||||||
-keep class bbfeef.fdaefba.** { *; }
|
|
||||||
-keep class cfeefddf.daadadef.** { *; }
|
|
||||||
-keep class eadfab.aaffafa.** { *; }
|
|
||||||
-keep class cbbfdd.fdbaab.** { *; }
|
|
||||||
-keep class fcffbcef.cbefeefa.** { *; }
|
|
||||||
-keep class bbacbff.ecbddeb.** { *; }
|
|
||||||
-keep class ebbbf.bfcbc.** { *; }
|
|
||||||
-keep class afbfbfd.dffbcec.** { *; }
|
|
||||||
-keep class el.** {*;}
|
|
||||||
-keep class baf.edaf.** { *; }
|
|
||||||
-keep class daddbf.cebdcdd.** { *; }
|
|
||||||
-keep class adecece.cdedecc.** { *; }
|
|
||||||
|
|
||||||
-keep class fbbaffa.faecdbe.** { *; }
|
|
||||||
-keep class accbfce.fccdabb.** { *; }
|
|
||||||
-keep class afbfaa.afcdcd.** { *; }
|
|
||||||
-keep class aecbcaf.acdbabae.** { *; }
|
|
||||||
-keep class edeebee.fefabfb.** { *; }
|
|
||||||
-dontwarn fbbaffa.faecdbe.**
|
|
||||||
-dontwarn accbfce.fccdabb.**
|
|
||||||
-dontwarn afbfaa.afcdcd.**
|
|
||||||
-dontwarn aecbcaf.acdbabae.**
|
|
||||||
-dontwarn edeebee.fefabfb.**
|
|
||||||
|
|
||||||
-keep class cp.** { *; }
|
|
||||||
-dontwarn cp.**
|
|
||||||
-keep public class * extends com.netease.nim.uikit.common.ui.recyclerview.holder.RecyclerViewHolder {*;}
|
|
||||||
-keep public class * extends com.netease.nim.uikit.business.session.viewholder.MsgViewHolderBase {*;}
|
|
||||||
|
|
||||||
-keep class aea.baaf.** { *; }
|
|
||||||
-keep class ddfb.edcab.** { *; }
|
|
||||||
-keep class aeaaa.dedad.** { *; }
|
|
||||||
-keep class acbfad.dcbefe.** { *; }
|
|
||||||
-keep class deafc.bebac.** { *; }
|
|
||||||
-keep class ffbe.bdac.** { *; }
|
|
||||||
-keep class eaedcce.eebdfabf.** { *; }
|
|
||||||
-keep class edcbb.bcfca.** { *; }
|
|
||||||
-keep class ffdab.eabbd.** { *; }
|
|
||||||
-keep class fcfc.debbb.** { *; }
|
|
||||||
-keep class bfbcaedcbf.fddedfaafe.** { *; }
|
|
||||||
-keep class eacfafb.adbcafda.** { *; }
|
|
||||||
-keep class aedfcaaf.cdfbbcce.** { *; }
|
|
||||||
-keep class bbcf.abac.** { *; }
|
|
||||||
-keep class edfea.cddcb.** { *; }
|
|
||||||
-keep class ccaad.bddfa.** { *; }
|
|
||||||
-keep class aaffcba.daeefdac.** { *; }
|
|
||||||
-keep class cbcdae.acdabfe.** { *; }
|
|
||||||
-keep class eedbaeb.defbdfae.** { *; }
|
|
||||||
-keep class cfeddda.aafffbc.** { *; }
|
|
||||||
-keep class y.** {*;}
|
|
||||||
-keep class eaffcdbc.daeffdba.** { *; }
|
|
||||||
-keep class bfbdcd.fafefd.** { *; }
|
|
||||||
-keep class ba.** {*;}
|
|
||||||
-keep class aceac.ecabfe.** { *; }
|
|
||||||
-keep class cdccdab.ebdbacb.** { *; }
|
|
||||||
-keep class bababbc.cecaffca.** { *; }
|
|
||||||
-keep class edbce.fdbbbc.** { *; }
|
|
||||||
-keep class dfaabac.aabbefcc.** { *; }
|
|
||||||
-keep class edccdc.abfbfcc.** { *; }
|
|
||||||
-keep class eebfd.aaccca.** { *; }
|
|
||||||
-keep class ecaed.eebace.** { *; }
|
|
||||||
-keep class cfeee.cdeea.** { *; }
|
|
||||||
-keep class afb.eaca.** { *; }
|
|
||||||
-keep class bdebccd.fbfaecdb.** { *; }
|
|
||||||
-keep class eacfafb.aadfdcee.** { *; }
|
|
||||||
-keep class bceba.bbfce.** { *; }
|
|
||||||
-keep class cd.** {*;}
|
|
||||||
-keep class fddadcc.fbdbaaa.** { *; }
|
|
||||||
-keep class bdabfb.aecccbc.** { *; }
|
|
||||||
-keep class g.** {*;}
|
|
||||||
-keep class edbaad.bbdcdfc.** { *; }
|
|
||||||
-keep class acdfe.ebeaed.** { *; }
|
|
||||||
-keep class fabffdc.ffcdadbe.** { *; }
|
|
||||||
-keep class abbefdab.daeaadad.** { *; }
|
|
||||||
-keep class def.cff.** { *; }
|
|
||||||
-keep class fbefaae.fddefebe.** { *; }
|
|
||||||
-keep class fbdfcae.fefbfee.** { *; }
|
|
||||||
-keep class dfefd.bacabc.** { *; }
|
|
||||||
-keep class ffedae.acfcdbb.** { *; }
|
|
||||||
-keep class ddeeb.bdcdf.** { *; }
|
|
||||||
-keep class dcabc.bbdaea.** { *; }
|
|
||||||
-keep class adbaee.fffffc.** { *; }
|
|
||||||
-keep class bb.** {*;}
|
|
||||||
-keep class fffba.cdbfee.** { *; }
|
|
||||||
-keep class cbeee.efcdfb.** { *; }
|
|
||||||
-keep class cdaabd.cfabfca.** { *; }
|
|
||||||
-keep class dbeef.acefca.** { *; }
|
|
||||||
-keep class edbabbab.acdccacc.** { *; }
|
|
||||||
-keep class dedfdbd.ebffbcba.** { *; }
|
|
||||||
-keep class dfdefbe.fedadcf.** { *; }
|
|
||||||
-keep class accd.bbdff.** { *; }
|
|
||||||
-keep class u.** {*;}
|
|
||||||
-keep class ebbffdf.beebece.** { *; }
|
|
||||||
-keep class fcfdaa.edabfab.** { *; }
|
|
||||||
-keep class afbba.abdcd.** { *; }
|
|
||||||
-keep class dbcce.ecaeff.** { *; }
|
|
||||||
-keep class fbbcdb.ddfadba.** { *; }
|
|
||||||
-keep class bbecb.daedaf.** { *; }
|
|
||||||
-keep class cdade.adeda.** { *; }
|
|
||||||
-keep class bg.** {*;}
|
|
||||||
-keep class bbcabbb.dcabfcd.** { *; }
|
|
||||||
-keep class cfadf.caddb.** { *; }
|
|
||||||
-keep class bdbabbdc.ffafceeac.** { *; }
|
|
||||||
-keep class bd.** {*;}
|
|
||||||
-keep class ccbd.abca.** { *; }
|
|
||||||
-keep class j.** {*;}
|
|
||||||
-keep class fbeebae.ebcadebe.** { *; }
|
|
||||||
-keep class aaecbd.bfafacd.** { *; }
|
|
||||||
-keep class fcef.caffe.** { *; }
|
|
||||||
-keep class decd.efffc.** { *; }
|
|
||||||
-keep class cdfaac.caaeba.** { *; }
|
|
||||||
-keep class fdab.dbaad.** { *; }
|
|
||||||
-keep class dbcdb.edafab.** { *; }
|
|
||||||
-keep class feacbcff.edcaafbbb.** { *; }
|
|
||||||
-keep class ebdeaeb.dbccefdb.** { *; }
|
|
||||||
-keep class feacdf.cefdbd.** { *; }
|
|
||||||
-keep class efbbc.adeda.** { *; }
|
|
||||||
-keep class bccd.dddee.** { *; }
|
|
||||||
-keep class faafdf.cefbbcb.** { *; }
|
|
||||||
-keep class fcebb.eebee.** { *; }
|
|
||||||
-keep class cedec.faddde.** { *; }
|
|
||||||
-keep class affae.fcdff.** { *; }
|
|
||||||
|
|
||||||
-keep class eecdc.cddbfa.** { *; }
|
|
||||||
-keep class fddd.dbae.** { *; }
|
|
||||||
-keep class defceb.bddedaa.** { *; }
|
|
||||||
-keep class decd.efffc.** { *; }
|
|
||||||
|
|
||||||
-keep class bbfeef.fdaefba.** { *; }
|
|
||||||
-keep class baf.edaf.** { *; }
|
|
||||||
-keep class acdb.aacb.** { *; }
|
|
||||||
-keep class bacfcf.dddbef.** { *; }
|
|
||||||
-keep class cfeaf.ddccec.** { *; }
|
|
@@ -0,0 +1,28 @@
|
|||||||
|
package com.yizhuan.erban;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
|
||||||
|
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||||
|
import androidx.test.platform.app.InstrumentationRegistry;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Instrumented test, which will execute on an Android device.
|
||||||
|
*
|
||||||
|
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||||
|
*/
|
||||||
|
@RunWith(AndroidJUnit4.class)
|
||||||
|
public class ExampleInstrumentedTest {
|
||||||
|
@Test
|
||||||
|
public void useAppContext() throws Exception {
|
||||||
|
// Context of the app under test.
|
||||||
|
Context appContext = InstrumentationRegistry.getTargetContext();
|
||||||
|
|
||||||
|
assertEquals("com.yizhuan.erban_android_client", appContext.getPackageName());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
BIN
app/src/common/res/mipmap-xhdpi/common_ic_back.png
Normal file
After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 156 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_back_white.png
Normal file
After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 132 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_charge.png
Normal file
After Width: | Height: | Size: 683 B |
Before Width: | Height: | Size: 254 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_checked.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 492 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_close_red.png
Normal file
After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 168 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_help_white.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 562 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_more.png
Normal file
After Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 152 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_more_arrow.png
Normal file
After Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 228 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_narrow.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 666 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_narrow_white.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 526 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_search_black.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 550 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_setting_grey.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 472 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_setting_white.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 552 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_share.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 518 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_share_white.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 412 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_switch_close.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 600 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_switch_open.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 732 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_team.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 466 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_team_white.png
Normal file
After Width: | Height: | Size: 916 B |
Before Width: | Height: | Size: 372 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_tutu_friends.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_tutu_friends_grey.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 974 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_unchecked.png
Normal file
After Width: | Height: | Size: 690 B |
Before Width: | Height: | Size: 280 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_unselected.png
Normal file
After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 520 B |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_wechat.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.7 KiB |
BIN
app/src/common/res/mipmap-xhdpi/common_ic_wechat_grey.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
BIN
app/src/common/res/mipmap-xhdpi/drawable_checkbox_selected.png
Normal file
After Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 456 B |
BIN
app/src/common/res/mipmap-xhdpi/drawable_checkbox_unselected.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 534 B |
BIN
app/src/common/res/mipmap-xhdpi/ic_private_chat.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.0 KiB |
BIN
app/src/common/res/mipmap-xhdpi/ic_speedymsg_close.png
Normal file
After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 272 B |
BIN
app/src/common/res/mipmap-xhdpi/ic_user_gift_empty.png
Normal file
After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 11 KiB |
BIN
app/src/common/res/mipmap-xhdpi/ic_user_new_10dp.png
Normal file
After Width: | Height: | Size: 767 B |
Before Width: | Height: | Size: 596 B |