在安装证书前加上media权限请求

Signed-off-by: zhao-zhen-zhou <zhaozhenzhou@huawei.com>
This commit is contained in:
zhao-zhen-zhou 2023-06-15 23:51:46 -07:00
parent 17aaaeed90
commit ae6fd96f64
5 changed files with 5 additions and 5 deletions

View File

@ -761,7 +761,7 @@ struct evidenceList {
globalThis.abilityWant.uri = "";
if (uri === "certInstall") {
this.mFaPresenter.startInstall();
this.mFaPresenter.requestPermissions();
} else if (uri === "requestAuthorize") {
this.mFaPresenter.startRequestAuth(globalThis.abilityWant.parameters.appUid);
}

View File

@ -32,7 +32,7 @@ struct CertInstallAliasInput {
globalThis.abilityWant.uri = "";
if (uri === "certInstall") {
this.mFaPresenter.startInstall();
this.mFaPresenter.requestPermissions();
} else if (uri === "requestAuthorize") {
this.mFaPresenter.startRequestAuth(globalThis.abilityWant.parameters.appUid);
}

View File

@ -106,7 +106,7 @@ struct CertificateComponent {
globalThis.abilityWant.uri = "";
if (uri === "certInstall") {
this.mFaPresenter.startInstall();
this.mFaPresenter.requestPermissions();
} else if (uri === "requestAuthorize") {
this.mFaPresenter.startRequestAuth(globalThis.abilityWant.parameters.appUid);
}

View File

@ -29,7 +29,7 @@ struct CertPwdInput {
globalThis.abilityWant.uri = "";
if (uri === "certInstall") {
this.mFaPresenter.startInstall();
this.mFaPresenter.requestPermissions();
} else if (uri === "requestAuthorize") {
this.mFaPresenter.startRequestAuth(globalThis.abilityWant.parameters.appUid);
}

View File

@ -903,7 +903,7 @@ struct TrustedEvidence {
globalThis.abilityWant.uri = "";
if (uri === "certInstall") {
this.mFaPresenter.startInstall();
this.mFaPresenter.requestPermissions();
} else if (uri === "requestAuthorize") {
this.mFaPresenter.startRequestAuth(globalThis.abilityWant.parameters.appUid);
}