systemui告警清理

Signed-off-by: 王环 <18108170464@163.com>
This commit is contained in:
王环 2024-05-30 19:25:10 +08:00
parent 28e798cfe5
commit dbe9cc05af
6 changed files with 58 additions and 19 deletions

34
OAT.xml
View File

@ -80,6 +80,40 @@
<filteritem type="filepath" name="figures/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="figures/.*.jpg" desc="self developed image"/>
<filteritem type="filepath" name="product/phone/dropdownpanel/src/main/resources/phone/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/phone/dropdownpanel/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="features/controlcentercomponent/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/pc/notificationpanel/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="AppScope/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/default/notificationmanagement/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/phone/statusbar/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="entry/pc/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/pc/statusbar/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="entry/phone/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="features/bluetoothcomponent/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="features/locationcomponent/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="features/volumepanelcomponent/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/default/navigationBar/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/default/volumepanel/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="features/statusbarcomponent/src/main/resources/base/media/.*.png" desc="self developed image"/>
<filteritem type="filepath" name="product/pc/controlpanel/src/main/resources/base/media/.*.png" desc="self developed image"/>
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
<filteritem type="filename" name="README|README_zh|.*.log|.*.json5|.*.json" desc=""/>

View File

@ -66,7 +66,6 @@ export default struct IconItemComponent {
const statusBarStatusKey = 'StatusBar_Status_' + this.keyId
AppStorage.SetOrCreate(statusBarStatusKey, { selected: false })
this.mItemStatus = AppStorage.Get(statusBarStatusKey)
// this.mItemStatus = AppStorage.SetAndLink('StatusBar_Status_' + this.keyId, { selected: false }).get()
}
build() {

View File

@ -1,5 +1,16 @@
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export default class IndicatorStyle {

View File

@ -1,5 +1,16 @@
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import privacyManager from '@ohos.privacyManager';

View File

@ -117,14 +117,6 @@ struct Index {
Log.showDebug(TAG, `onBannerNoticeShow start`);
let winInfoNotice = WindowManager.getWindowInfo(WindowType.NOTIFICATION_PANEL);
let bannerDisabledFlg = false;
// let screenLockStatusInfo = AppStorage.Link('lockStatus');
// let screenLockStatus = ScreenLockStatus.Unlock;
// if (!!screenLockStatusInfo) {
// screenLockStatus = screenLockStatusInfo.get();
// }
// if (screenLockStatus == ScreenLockStatus.Locking) {
// bannerDisabledFlg = true;
// } else
if (winInfoNotice) {
if (winInfoNotice.visibility) {
bannerDisabledFlg = true;

View File

@ -117,14 +117,6 @@ struct Index {
Log.showDebug(TAG, `onBannerNoticeShow start`);
let windowInfoDrop = WindowManager.getWindowInfo(WindowType.DROPDOWN_PANEL);
let bannerDisabledFlg = false;
// let screenLockStatusInfo = AppStorage.Link('lockStatus');
// let screenLockStatus = ScreenLockStatus.Unlock;
// if (!!screenLockStatusInfo) {
// screenLockStatus = screenLockStatusInfo.get();
// }
// if (screenLockStatus == ScreenLockStatus.Locking) {
// bannerDisabledFlg = true;
// } else
if (windowInfoDrop) {
if (windowInfoDrop.visibility) {
bannerDisabledFlg = true;