细节修复、部分bug修复
This commit is contained in:
@ -6,7 +6,9 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.SharedPreferences.Editor;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.provider.Settings;
|
||||
import android.support.v4.util.ArrayMap;
|
||||
import android.support.v4.view.PagerAdapter;
|
||||
import android.support.v4.view.ViewPager;
|
||||
@ -373,6 +375,15 @@ public class SplashScreenActivity extends BaseActivity {
|
||||
|
||||
private void getInstalledListFromServer(final boolean isFirst) {
|
||||
List<String> list = PackageManager.getLocalPackageName(getApplicationContext());
|
||||
if (list.isEmpty()) {
|
||||
// 跳转应用信息界面
|
||||
// Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
|
||||
// Uri uri = Uri.fromParts("package", getPackageName(), null);
|
||||
// intent.setData(uri);
|
||||
// startActivity(intent);
|
||||
update();
|
||||
return;
|
||||
}
|
||||
final int count = list.size();
|
||||
final List<JSONObject> data = new ArrayList<>();
|
||||
final List<String> useParams = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user