Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thehepta committed Feb 26, 2024
1 parent cef9c6b commit 802b849
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Manager/src/main/cpp/rxposed/android_util_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

std::vector<std::string> string_split(std::string str,std::string pattern);
bool NDK_ExceptionCheck(JNIEnv *env,const char* message);
void load_apk_And_Call_Class_Entry_Method(JNIEnv *pEnv, jobject android_context,std::string source,std::string NativelibPath,std::string Entry_class,std::string Entry_method,std::string hide);
void load_apk_And_Call_Class_Entry_Method(JNIEnv *pEnv, jobject android_context,std::string source,std::string NativelibPath,std::string Entry_class,std::string Entry_method,std::string hide,std::string argument);
jobject CreateApplicationContext(JNIEnv *env, std::string pkgName,uid_t currentUid);

#endif //RXPOSED_ANDROID_UTIL_API_H
5 changes: 2 additions & 3 deletions Manager/src/main/cpp/rxposed/rprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,10 @@ bool rprocess::LoadModule(JNIEnv* env){
for (auto appinfoNativeVec : AppinfoNative_vec)
{
load_apk_And_Call_Class_Entry_Method(env, RxposedContext,
appinfoNativeVec->source
,appinfoNativeVec->NativelibPath,
appinfoNativeVec->source,appinfoNativeVec->NativelibPath,
appinfoNativeVec->Entry_class,
appinfoNativeVec->Entry_method,
appinfoNativeVec->hide
appinfoNativeVec->hide,
appinfoNativeVec->argument
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class AppsFragment : Fragment() {
var applist: MutableList<AppItemInfo> = mutableListOf()
for( it in SingApplist.get().global_applist!!){
it.setEnable(MmkvManager.getAppEnableModuleStatus(it.packageName,moduleName))
Log.e("rzx",it.enable.toString()+":"+it.packageName.toString()+":"+moduleName)
// Log.e("rzx",it.enable.toString()+":"+it.packageName.toString()+":"+moduleName)
applist.add(it)
}
return applist
Expand Down

0 comments on commit 802b849

Please sign in to comment.