mirror of
https://github.com/openharmony/applications_screenlock.git
synced 2026-07-01 10:23:02 -04:00
@@ -22,6 +22,7 @@ import createOrGet from "../../../../../../../../../common/src/main/ets/default/
|
||||
import DistributionManager from './NotificationDistributionManager';
|
||||
|
||||
const TAG = 'NotificationServiceSc';
|
||||
const PLUGIN_TEMPLATE = {"source":"/system/etc/notification_template/assets/js/downloadTemplate.js","ability":"" } ;
|
||||
|
||||
interface NotificationListener {
|
||||
userId: number;
|
||||
@@ -135,6 +136,9 @@ export class NotificationService {
|
||||
if (NotificationManager.NotificationTemplateMap !== null) {
|
||||
pluginTempLate = NotificationManager.NotificationTemplateMap.get(templateName);
|
||||
}
|
||||
if (pluginTempLate == undefined || pluginTempLate == null) {
|
||||
pluginTempLate = PLUGIN_TEMPLATE;
|
||||
}
|
||||
Log.showInfo(TAG, `getPluginTempLate pluginTempLate:${JSON.stringify(pluginTempLate)}`);
|
||||
return pluginTempLate;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"float": [
|
||||
{
|
||||
"name": "notificationList_width",
|
||||
"value": "336vp"
|
||||
"value": "400vp"
|
||||
},
|
||||
{
|
||||
"name": "notification_title_fontsize",
|
||||
|
||||
Reference in New Issue
Block a user