docs: private void requestPermissionForInstallPackage() {
          AndPermission.with(this)
              .runtime()
              .permission(Permission.Group.STORAGE)
              .rationale(new RuntimeRationale())
              .onGranted(new Action<List<String>>() {
                  @Override
                  public void onAction(List<String> data) {
                      new WriteApkTask(MainActivity.this, new Runnable() {
                          @Override
                          public void run() {
                              installPackage();
                          }
                      }).execute();
                  }
              })
              .onDenied(new Action<List<String>>() {
                  @Override
                  public void onAction(List<String> data) {
                      toast(R.string.message_install_failed);
                  }
              })
              .start();
      }