update:2020.03.06
This commit is contained in:
@@ -101,7 +101,7 @@ public class MyDownloadService extends Service {
|
||||
if (file.exists() && file.isFile()) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this)
|
||||
.setTitle("软件更新")
|
||||
.setIcon(R.mipmap.ic_launcher_home)
|
||||
.setIcon(R.mipmap.ic_launcher)
|
||||
.setCancelable(false)
|
||||
.setMessage("发现新版本,点击确定更新\n" + "更新内容:" + bundle.getString("content"))
|
||||
.setPositiveButton("确定", new DialogInterface.OnClickListener() {
|
||||
@@ -124,7 +124,7 @@ public class MyDownloadService extends Service {
|
||||
// ApkUtils.installApkInSilence(response.body().getAbsolutePath(), Launcher.this.getPackageName());
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(MyDownloadService.this)
|
||||
.setTitle("软件更新")
|
||||
.setIcon(R.mipmap.ic_launcher_home)
|
||||
.setIcon(R.mipmap.ic_launcher)
|
||||
.setCancelable(false)
|
||||
.setMessage("发现新版本,点击确定更新\n" + "更新内容:" + bundle.getString("content"))
|
||||
.setPositiveButton("确定", new DialogInterface.OnClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user