乐健体育 v3.9.1版本的 MD5 值为:87ae8a64955cdd0e43f3559ee8984d75
以下内容为反编译后的 PrivacyPolicyActivity.java 源代码,内容仅作参考
package com.ledreamer.zz.activity.splash;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.SpannableStringBuilder;
import android.text.TextPaint;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.text.style.ForegroundColorSpan;
import android.text.style.StyleSpan;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.ledreamer.zz.R;
import com.ledreamer.zz.activity.splash.PrivacyPolicyActivity;
import com.legym.base.mvvm.BaseActivity;
import com.legym.base.mvvm.BaseViewModel;
import f.l.f.e.m;
import java.util.ArrayList;
@Route(path = "/app/privacy_policy")
public class PrivacyPolicyActivity extends BaseActivity<m, BaseViewModel> {
public class a extends ClickableSpan {
public final String a;
public a(String str) {
this.a = str;
}
@Override
public void onClick(@NonNull View view) {
PrivacyPolicyActivity.this.startActivity(new Intent("android.intent.action.VIEW", Uri.parse(this.a)));
}
@Override
public void updateDrawState(@NonNull TextPaint textPaint) {
textPaint.setUnderlineText(true);
}
}
public void o(View view) {
finish();
}
private void setBoldTextSpannableColor(String str, SpannableStringBuilder spannableStringBuilder) {
ArrayList<Integer> arrayList = new ArrayList();
int length = str.length();
String spannableStringBuilder2 = spannableStringBuilder.toString();
int i2 = 0;
int i3 = 0;
while (i2 != -1) {
i2 = spannableStringBuilder2.indexOf(str);
if (i2 != -1) {
i2 += i3;
arrayList.add(Integer.valueOf(i2));
i3 = i2 + length;
spannableStringBuilder2 = spannableStringBuilder.toString().substring(i3);
}
}
for (Integer num : arrayList) {
spannableStringBuilder.setSpan(new StyleSpan(1), num.intValue(), num.intValue() + length, 33);
}
}
private void setLinkTextSpannableColor(String str, SpannableStringBuilder spannableStringBuilder) {
ArrayList<Integer> arrayList = new ArrayList();
int length = str.length();
String spannableStringBuilder2 = spannableStringBuilder.toString();
int i2 = 0;
int i3 = 0;
while (i2 != -1) {
i2 = spannableStringBuilder2.indexOf(str);
if (i2 != -1) {
i2 += i3;
arrayList.add(Integer.valueOf(i2));
i3 = i2 + length;
spannableStringBuilder2 = spannableStringBuilder.toString().substring(i3);
}
}
for (Integer num : arrayList) {
spannableStringBuilder.setSpan(new ForegroundColorSpan(getResources().getColor(R.color.color_FF6196FF)), num.intValue(), num.intValue() + length, 33);
spannableStringBuilder.setSpan(new a(str), num.intValue(), num.intValue() + length, 33);
}
}
@Override
public int initContentView(Bundle bundle) {
return R.layout.activity_privacy_policy;
}
@Override
public int initVariableId() {
return 0;
}
@Override
public void onCreate(@Nullable Bundle bundle) {
super.onCreate(bundle);
((m) this.binding).a.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
PrivacyPolicyActivity.this.o(view);
}
});
SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(((m) this.binding).J.getText());
setLinkTextSpannableColor("https://lbs.amap.com/", spannableStringBuilder);
setLinkTextSpannableColor("https://lbs.amap.com/pages/privacy/", spannableStringBuilder);
setBoldTextSpannableColor("位置信息(经纬度、精确位置、粗略位置)、设备信息【如IP 地址、GNSS信息、WIFI SSID、BSSID、基站信息、信号强度的信息、蓝牙信息、传感器信息(矢量、加速度、压力)、设备信号强度信息】、设备标识信息(IMEI、IDFA、IDFV、Android ID、MEID、MAC地址、OAID、IMSI、硬件序列号)、当前应用信息(应用名、应用版本号)、设备参数及系统信息(系统属性、设备型号、操作系统、存储权限、电话权限", spannableStringBuilder);
((m) this.binding).J.setHighlightColor(0);
((m) this.binding).J.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).J.setText(spannableStringBuilder);
SpannableStringBuilder spannableStringBuilder2 = new SpannableStringBuilder(((m) this.binding).N.getText());
setLinkTextSpannableColor("https://dun.163.com/", spannableStringBuilder2);
setLinkTextSpannableColor("https://dun.163.com/clause/privacy", spannableStringBuilder2);
setBoldTextSpannableColor("(1)设备信息,包括 设备唯一识别码(设备序列号、IMEI、MAC地址、AndroidID、MEID、IDFV、IDFA)、设备品牌、设备名称、设备型号及 设备系统类型、详细设置及版本信息。为此,我们还需要获得最终用户的 设备信息相关权限。(2)日志信息,我们需获取最终用户的日志信息,包括1)网络相关信息:设备IP地址、路由器标识(BSSID、SSID、MAC)及 IP地址、网络运营商信息、网络连接状态;2)操作信息:最终用户开机、点击、安装行为。为此,我们还需要获得最终用户的 定位权限 (iOS系统获取WIFI信息需获取定位权限)。(3)应用信息,我们将在最终用户的设备收集您开发的 IOS应用的Bundle ID及/或您开发的 Android应用的应用包名、应用名称及版本号、应用签名信息。", spannableStringBuilder2);
((m) this.binding).N.setHighlightColor(0);
((m) this.binding).N.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).N.setText(spannableStringBuilder2);
SpannableStringBuilder spannableStringBuilder3 = new SpannableStringBuilder(((m) this.binding).C.getText());
setLinkTextSpannableColor("https://bugly.qq.com/v2/", spannableStringBuilder3);
setLinkTextSpannableColor("https://static.bugly.qq.com/bugly-sdk-privacy-statement.pdf", spannableStringBuilder3);
setBoldTextSpannableColor("崩溃信息、设备标识信息、SD卡存储、硬件序列号", spannableStringBuilder3);
((m) this.binding).C.setHighlightColor(0);
((m) this.binding).C.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).C.setText(spannableStringBuilder3);
SpannableStringBuilder spannableStringBuilder4 = new SpannableStringBuilder(((m) this.binding).F.getText());
setLinkTextSpannableColor("https://firebase.google.cn", spannableStringBuilder4);
setLinkTextSpannableColor("https://firebase.google.com/support/privacy?hl=zh-CN", spannableStringBuilder4);
setBoldTextSpannableColor("可能收集您的设备Mac地址、唯一设备识别码(IMEI/androidID/IDFA/OPENUDID/GUID、SIM卡IMSI信息)、设备序列号", spannableStringBuilder4);
((m) this.binding).F.setHighlightColor(0);
((m) this.binding).F.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).F.setText(spannableStringBuilder4);
SpannableStringBuilder spannableStringBuilder5 = new SpannableStringBuilder(((m) this.binding).K.getText());
setLinkTextSpannableColor("http://www.msa-alliance.cn/", spannableStringBuilder5);
setLinkTextSpannableColor("http://www.msa-alliance.cn/col.jsp?id=122", spannableStringBuilder5);
setBoldTextSpannableColor("IMEI号", spannableStringBuilder5);
((m) this.binding).K.setHighlightColor(0);
((m) this.binding).K.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).K.setText(spannableStringBuilder5);
SpannableStringBuilder spannableStringBuilder6 = new SpannableStringBuilder(((m) this.binding).E.getText());
setLinkTextSpannableColor("https://ai.baidu.com/?track=cp:aipinzhuan|pf:pc|pp:AIpingtai|pu:title|ci:|kw:10005792", spannableStringBuilder6);
setLinkTextSpannableColor("https://ai.baidu.com/ai-doc/REFERENCE/Ckdym0tc9", spannableStringBuilder6);
setBoldTextSpannableColor("人脸信息", spannableStringBuilder6);
((m) this.binding).E.setHighlightColor(0);
((m) this.binding).E.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).E.setText(spannableStringBuilder6);
SpannableStringBuilder spannableStringBuilder7 = new SpannableStringBuilder(((m) this.binding).L.getText());
setLinkTextSpannableColor("https://github.com/square/okhttp", spannableStringBuilder7);
((m) this.binding).L.setHighlightColor(0);
((m) this.binding).L.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).L.setText(spannableStringBuilder7);
SpannableStringBuilder spannableStringBuilder8 = new SpannableStringBuilder(((m) this.binding).H.getText());
setLinkTextSpannableColor("http://bumptech.github.io/glide/", spannableStringBuilder8);
((m) this.binding).H.setHighlightColor(0);
((m) this.binding).H.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).H.setText(spannableStringBuilder8);
SpannableStringBuilder spannableStringBuilder9 = new SpannableStringBuilder(((m) this.binding).I.getText());
setLinkTextSpannableColor("https://policies.google.cn/", spannableStringBuilder9);
setBoldTextSpannableColor("设备序列号、IMEI、IMSI、android_id", spannableStringBuilder9);
((m) this.binding).I.setHighlightColor(0);
((m) this.binding).I.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).I.setText(spannableStringBuilder9);
SpannableStringBuilder spannableStringBuilder10 = new SpannableStringBuilder(((m) this.binding).G.getText());
setLinkTextSpannableColor("https://zh-cn.facebook.com/privacy/explanation", spannableStringBuilder10);
((m) this.binding).G.setHighlightColor(0);
((m) this.binding).G.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).G.setText(spannableStringBuilder10);
SpannableStringBuilder spannableStringBuilder11 = new SpannableStringBuilder(((m) this.binding).c.getText());
setLinkTextSpannableColor("https://doc.weex.io/zh/", spannableStringBuilder11);
setBoldTextSpannableColor("应用列表、传感器列表(加速度传感器信息)", spannableStringBuilder11);
((m) this.binding).c.setHighlightColor(0);
((m) this.binding).c.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).c.setText(spannableStringBuilder11);
SpannableStringBuilder spannableStringBuilder12 = new SpannableStringBuilder(((m) this.binding).D.getText());
setLinkTextSpannableColor("https://www.dcloud.io", spannableStringBuilder12);
((m) this.binding).D.setHighlightColor(0);
((m) this.binding).D.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).D.setText(spannableStringBuilder12);
SpannableStringBuilder spannableStringBuilder13 = new SpannableStringBuilder(((m) this.binding).M.getText());
setLinkTextSpannableColor("https://ask.dcloud.net.cn/protocol.html", spannableStringBuilder13);
setBoldTextSpannableColor("Android ID、IMEI、WIFI SSID,调用了相机、存储、电话权限", spannableStringBuilder13);
((m) this.binding).M.setHighlightColor(0);
((m) this.binding).M.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).M.setText(spannableStringBuilder13);
SpannableStringBuilder spannableStringBuilder14 = new SpannableStringBuilder(((m) this.binding).f3850d.getText());
setBoldTextSpannableColor("有关您个人信息权益的重要条款已用加粗形式提示,请特别关注", spannableStringBuilder14);
((m) this.binding).f3850d.setHighlightColor(0);
((m) this.binding).f3850d.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3850d.setText(spannableStringBuilder14);
SpannableStringBuilder spannableStringBuilder15 = new SpannableStringBuilder(((m) this.binding).f3861o.getText());
setBoldTextSpannableColor("有关您个人信息权益的重要条款已用加粗形式提示,请特别关注", spannableStringBuilder15);
((m) this.binding).f3861o.setHighlightColor(0);
((m) this.binding).f3861o.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3861o.setText(spannableStringBuilder15);
SpannableStringBuilder spannableStringBuilder16 = new SpannableStringBuilder(((m) this.binding).v.getText());
setBoldTextSpannableColor("手机号码、验证码、学校、学号、姓名、密码", spannableStringBuilder16);
setBoldTextSpannableColor("手机号码、验证码、学校、学号、姓名", spannableStringBuilder16);
setBoldTextSpannableColor("手机号码、密码", spannableStringBuilder16);
((m) this.binding).v.setHighlightColor(0);
((m) this.binding).v.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).v.setText(spannableStringBuilder16);
SpannableStringBuilder spannableStringBuilder17 = new SpannableStringBuilder(((m) this.binding).w.getText());
setBoldTextSpannableColor("手机号、验证码、密码", spannableStringBuilder17);
((m) this.binding).w.setHighlightColor(0);
((m) this.binding).w.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).w.setText(spannableStringBuilder17);
SpannableStringBuilder spannableStringBuilder18 = new SpannableStringBuilder(((m) this.binding).x.getText());
setBoldTextSpannableColor("设备型号、操作系统版本信息、设备设置、移动设备版本、设备识别码、屏幕分表率、设备环境等软硬件特征信息、WIFI SSID、应用列表、设备所在位置相关信息", spannableStringBuilder18);
setBoldTextSpannableColor("IP地址、GPS位置", spannableStringBuilder18);
setBoldTextSpannableColor("WLAN接入点、蓝牙和基站", spannableStringBuilder18);
((m) this.binding).x.setHighlightColor(0);
((m) this.binding).x.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).x.setText(spannableStringBuilder18);
SpannableStringBuilder spannableStringBuilder19 = new SpannableStringBuilder(((m) this.binding).y.getText());
setBoldTextSpannableColor("配置信息、您的IP地址", spannableStringBuilder19);
setBoldTextSpannableColor("设备识别码", spannableStringBuilder19);
((m) this.binding).y.setHighlightColor(0);
((m) this.binding).y.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).y.setText(spannableStringBuilder19);
SpannableStringBuilder spannableStringBuilder20 = new SpannableStringBuilder(((m) this.binding).z.getText());
setBoldTextSpannableColor("为了给您提供全方位的运动体验,经过您的授权,我们的客户端会将您主动上传的视频、图片加密上传到服务器进行存储;可能会提取您设备中的软件名、版本号,通过加密上传到服务器进行处理、存储。在跑步申诉上传凭证时,需要获取您的存储权限,如果您拒绝授权此权限,仅影响您无法使用上传凭证的功能", spannableStringBuilder20);
((m) this.binding).z.setHighlightColor(0);
((m) this.binding).z.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).z.setText(spannableStringBuilder20);
SpannableStringBuilder spannableStringBuilder21 = new SpannableStringBuilder(((m) this.binding).A.getText());
setBoldTextSpannableColor("当您使用扫描二维码、拍摄照片、拍摄视频功能时,我们将访问您的设备相机相关权限,并收集您提供的基于扫描二维码、拍摄照片后向我们上传的图片、视频信息", spannableStringBuilder21);
((m) this.binding).A.setHighlightColor(0);
((m) this.binding).A.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).A.setText(spannableStringBuilder21);
SpannableStringBuilder spannableStringBuilder22 = new SpannableStringBuilder(((m) this.binding).B.getText());
setBoldTextSpannableColor("当您在使用跑步、考勤功能时,我们需要通过打开位置权限,来获取您当前的地理位置信息", spannableStringBuilder22);
((m) this.binding).B.setHighlightColor(0);
((m) this.binding).B.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).B.setText(spannableStringBuilder22);
SpannableStringBuilder spannableStringBuilder23 = new SpannableStringBuilder(((m) this.binding).f3851e.getText());
setBoldTextSpannableColor("个人信息", spannableStringBuilder23);
((m) this.binding).f3851e.setHighlightColor(0);
((m) this.binding).f3851e.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3851e.setText(spannableStringBuilder23);
SpannableStringBuilder spannableStringBuilder24 = new SpannableStringBuilder(((m) this.binding).f3852f.getText());
setBoldTextSpannableColor("您的GPS信息、设备信息", spannableStringBuilder24);
setBoldTextSpannableColor("您的人脸", spannableStringBuilder24);
setBoldTextSpannableColor("您的人脸信息", spannableStringBuilder24);
setBoldTextSpannableColor("手机号码", spannableStringBuilder24);
setBoldTextSpannableColor("其他通讯方式", spannableStringBuilder24);
((m) this.binding).f3852f.setHighlightColor(0);
((m) this.binding).f3852f.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3852f.setText(spannableStringBuilder24);
SpannableStringBuilder spannableStringBuilder25 = new SpannableStringBuilder(((m) this.binding).f3853g.getText());
setBoldTextSpannableColor("必要的设备、账号及日志信息", spannableStringBuilder25);
setBoldTextSpannableColor("服务情况(崩溃、闪退记录)、设备标识信息、应用总体安装使用情况信息", spannableStringBuilder25);
((m) this.binding).f3853g.setHighlightColor(0);
((m) this.binding).f3853g.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3853g.setText(spannableStringBuilder25);
SpannableStringBuilder spannableStringBuilder26 = new SpannableStringBuilder(((m) this.binding).f3854h.getText());
setBoldTextSpannableColor("个人信息", spannableStringBuilder26);
((m) this.binding).f3854h.setHighlightColor(0);
((m) this.binding).f3854h.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3854h.setText(spannableStringBuilder26);
SpannableStringBuilder spannableStringBuilder27 = new SpannableStringBuilder(((m) this.binding).f3855i.getText());
setBoldTextSpannableColor("个人信息", spannableStringBuilder27);
((m) this.binding).f3855i.setHighlightColor(0);
((m) this.binding).f3855i.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3855i.setText(spannableStringBuilder27);
SpannableStringBuilder spannableStringBuilder28 = new SpannableStringBuilder(((m) this.binding).f3856j.getText());
setBoldTextSpannableColor("个人信息", spannableStringBuilder28);
((m) this.binding).f3856j.setHighlightColor(0);
((m) this.binding).f3856j.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3856j.setText(spannableStringBuilder28);
SpannableStringBuilder spannableStringBuilder29 = new SpannableStringBuilder(((m) this.binding).f3857k.getText());
setBoldTextSpannableColor("地理位置、通讯录、麦克风、相册、日历等权限", spannableStringBuilder29);
((m) this.binding).f3857k.setHighlightColor(0);
((m) this.binding).f3857k.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3857k.setText(spannableStringBuilder29);
SpannableStringBuilder spannableStringBuilder30 = new SpannableStringBuilder(((m) this.binding).f3858l.getText());
setBoldTextSpannableColor("读取存储中的图片", spannableStringBuilder30);
((m) this.binding).f3858l.setHighlightColor(0);
((m) this.binding).f3858l.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3858l.setText(spannableStringBuilder30);
SpannableStringBuilder spannableStringBuilder31 = new SpannableStringBuilder(((m) this.binding).f3859m.getText());
setBoldTextSpannableColor("允许App写入/下载/保存/缓存/修改/删除图片、文件、崩溃日志的信息", spannableStringBuilder31);
((m) this.binding).f3859m.setHighlightColor(0);
((m) this.binding).f3859m.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3859m.setText(spannableStringBuilder31);
SpannableStringBuilder spannableStringBuilder32 = new SpannableStringBuilder(((m) this.binding).f3860n.getText());
setBoldTextSpannableColor("提供读取手机设备标识信息,请您放心该权限无法监听、获取您的任何通话内容与信息", spannableStringBuilder32);
((m) this.binding).f3860n.setHighlightColor(0);
((m) this.binding).f3860n.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).f3860n.setText(spannableStringBuilder32);
SpannableStringBuilder spannableStringBuilder33 = new SpannableStringBuilder(((m) this.binding).p.getText());
setBoldTextSpannableColor("使用拍摄照片、相册、完成扫描二维码", spannableStringBuilder33);
((m) this.binding).p.setHighlightColor(0);
((m) this.binding).p.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).p.setText(spannableStringBuilder33);
SpannableStringBuilder spannableStringBuilder34 = new SpannableStringBuilder(((m) this.binding).q.getText());
setBoldTextSpannableColor("访问运动和健身数据", spannableStringBuilder34);
setBoldTextSpannableColor("计算您在运动过程中产生的步数、步频、卡路里", spannableStringBuilder34);
((m) this.binding).q.setHighlightColor(0);
((m) this.binding).q.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).q.setText(spannableStringBuilder34);
SpannableStringBuilder spannableStringBuilder35 = new SpannableStringBuilder(((m) this.binding).r.getText());
setBoldTextSpannableColor("个人信息", spannableStringBuilder35);
((m) this.binding).r.setHighlightColor(0);
((m) this.binding).r.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).r.setText(spannableStringBuilder35);
SpannableStringBuilder spannableStringBuilder36 = new SpannableStringBuilder(((m) this.binding).s.getText());
setBoldTextSpannableColor("个人信息", spannableStringBuilder36);
((m) this.binding).s.setHighlightColor(0);
((m) this.binding).s.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).s.setText(spannableStringBuilder36);
SpannableStringBuilder spannableStringBuilder37 = new SpannableStringBuilder(((m) this.binding).t.getText());
setBoldTextSpannableColor("登录密码或账号", spannableStringBuilder37);
((m) this.binding).t.setHighlightColor(0);
((m) this.binding).t.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).t.setText(spannableStringBuilder37);
SpannableStringBuilder spannableStringBuilder38 = new SpannableStringBuilder(((m) this.binding).u.getText());
setBoldTextSpannableColor("手机号码", spannableStringBuilder38);
((m) this.binding).u.setHighlightColor(0);
((m) this.binding).u.setMovementMethod(LinkMovementMethod.getInstance());
((m) this.binding).u.setText(spannableStringBuilder38);
}
}