普拉姆的胡言乱语 头像

消息来源频道

普拉姆的胡言乱语

@plumzme

频道561 位成员公开可见0 人在线

游戏/Linux/数码/Gal/音乐/地狱笑话/沙雕图/乐子 博客:https://plumz.me 频道有自动杀广告评论bot,如被误杀请联系管理员:@Plumlis

成员规模561 位成员
在线情况0 人在线
消息总数11,971 条消息
浏览量总数671,423 次浏览

在这个频道里搜索消息……

t.me/plumzme

private boolean isSystemApp() {
int binderCallingUid = getBinderCallingUid();
if (isSdkSandboxUidInternal(binderCallingUid)) {
loge("isSystemApp: rejected call from SDK sandbox with uid=" + binderCallingUid);
return false;
}
String[] packagesForUid = this.mContext.getPackageManager().getPackagesForUid(binderCallingUid);
if (packagesForUid != null) {
for (String str : packagesForUid) {
try {
ApplicationInfo applicationInfo = this.mContext.getPackageManager().getApplicationInfo(str, 0);
if (applicationInfo != null) {
int i = applicationInfo.flags;
if ((i & 1) != 0 || (i & 128) != 0) {
return true;
}
} else {
continue;
}
} catch (Exception e) {
loge("isSystemApp: failed to get application info for " + str + ": " + e);
}
}
}
return false;
}
2026.4.1补丁彻底修好运营商配置覆盖持久化啦,检测了提权沙箱,也正确支持了共享UID。