mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-06 04:05:38 +00:00
24 lines
510 B
Java
24 lines
510 B
Java
![]() |
package com.topjohnwu.magisk.asyncs;
|
||
|
|
||
|
import android.app.Activity;
|
||
|
|
||
|
import com.topjohnwu.magisk.module.ModuleHelper;
|
||
|
|
||
|
public class LoadRepos extends ParallelTask<Void, Void, Void> {
|
||
|
|
||
|
public LoadRepos(Activity context) {
|
||
|
super(context);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected Void doInBackground(Void... voids) {
|
||
|
ModuleHelper.createRepoMap(magiskManager);
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onPostExecute(Void v) {
|
||
|
magiskManager.repoLoadDone.trigger();
|
||
|
}
|
||
|
}
|