Move things around

This commit is contained in:
topjohnwu
2022-05-22 19:36:47 -07:00
parent c8492b0c58
commit dfa36fb25d
4 changed files with 10 additions and 12 deletions
@@ -59,7 +59,7 @@ public class DownloadActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (DelegateClassLoader.cl instanceof AppClassLoader) {
if (DynLoad.activeClassLoader instanceof AppClassLoader) {
// For some reason activity is created before Application.attach(),
// relaunch the activity using the same intent
finishAffinity();