From c62a652ac723069fb5639a180b044932b785e80d Mon Sep 17 00:00:00 2001 From: mingxihua Date: Thu, 20 Jan 2022 08:45:20 +0000 Subject: [PATCH 1/2] IssueNo:#I4PCM1:ce/de context Description: ce/de context Sig:SIG_ApplicationFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: mingxihua --- api/application/Context.d.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) mode change 100644 => 100755 api/application/Context.d.ts diff --git a/api/application/Context.d.ts b/api/application/Context.d.ts old mode 100644 new mode 100755 index db1912de81..518a780ff6 --- a/api/application/Context.d.ts +++ b/api/application/Context.d.ts @@ -119,4 +119,21 @@ export default class Context { * @return application context */ getApplicationContext(): Context; + + /** + * Switch file area + * + * @devices phone, tablet, tv, wearable, car + * @since 8 + * @sysCap AAFwk + * @param mode file area. + */ + switchArea(mode: AreaMode): void; +} + +export enum AreaMode { + EL1 = 0, + EL2 = 1, + EL3 = 2, + EL4 = 3 } \ No newline at end of file -- Gitee From cf01f78dcf213e38b834654c931672667fa00fec Mon Sep 17 00:00:00 2001 From: mingxihua Date: Wed, 16 Feb 2022 01:55:50 +0000 Subject: [PATCH 2/2] =?UTF-8?q?IssueNo:#I4TRKT:=E6=96=87=E4=BB=B6=E5=88=86?= =?UTF-8?q?=E5=8C=BA=E5=88=87=E6=8D=A2js=E5=A2=9E=E5=8A=A0switchArear?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3:=20add=20switchArea=20js=20interface=20Descr?= =?UTF-8?q?iption:=20add=20switchArea=20js=20interface=20Sig:SIG=5FApplica?= =?UTF-8?q?tionFramework=20Feature=20or=20Bugfix:Bugfix=20Binary=20Source:?= =?UTF-8?q?No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/application/Context.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/application/Context.d.ts b/api/application/Context.d.ts index 518a780ff6..1e152565b5 100755 --- a/api/application/Context.d.ts +++ b/api/application/Context.d.ts @@ -124,7 +124,7 @@ export default class Context { * Switch file area * * @devices phone, tablet, tv, wearable, car - * @since 8 + * @since 9 * @sysCap AAFwk * @param mode file area. */ -- Gitee