mirror of
https://gitee.com/openharmony/security_privacy_center
synced 2024-11-27 01:40:23 +00:00
在安装证书前加上media权限请求
Signed-off-by: zhao-zhen-zhou <zhaozhenzhou@huawei.com>
This commit is contained in:
parent
17aaaeed90
commit
ae6fd96f64
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user