跟 FLAG_ ACTIVITY_ RESET_ TASK_ IF_ NEEDED 没关系,installer 启动的会重复弹出是因为 launcher 的 intent 没有设置 pkg,只有第一次启动和第二次启动的 main action & launcher category、pkg 一致,才不会重复弹出。

IP属地:内蒙古
跟 FLAG_ ACTIVITY_ RESET_ TASK_ IF_ NEEDED 没关系,installer 启动的会重复弹出是因为 launcher 的 intent 没有设置 pkg,只有第一次启动和第二次启动的 main action & launcher category、pkg 一致,才不会重复弹出。
Application中初始化retrofit的时候要注意添加HttpLoggingIntercepter compile'com.squareup.okhttp3:logg...