METHOD AND ELECTRONIC DEVICE FOR PROHIBITING NOTIFICATIONS IN APPLICATION WINDOW
First Claim
1. A method for prohibiting notifications in an application window, executed by an electronic device, comprising:
- when an application window is switched, updating window information of an application, the window information comprising one or more of display information, setting information and layout information of the application;
judging whether the window information comprises a notification prohibition mark, the notification prohibition mark being a mark set according to a notification type and used for prohibiting notifications of the corresponding type; and
if the window information comprises the notification prohibition mark, then when a new notification is received, prohibiting the display of the new notification according to the notification prohibition mark, and adding the new notification into a notification list.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method and electronic device for prohibiting notifications in an application window, wherein the method comprises: when an application window is switched, updating window information of an application, the window information comprising one or more of display information, setting information and layout information of the application; judging whether the window information comprises a notification prohibition mark, the notification prohibition mark being a mark set according to a notification type and used for prohibiting notifications of the corresponding type; and if the window information comprises the notification prohibition mark, then when a new notification is received, prohibiting the display of the new notification according to the notification prohibition mark, and adding the new notification into a notification list. By adding a specific notification prohibition mark into the window information of the application, the effect of prohibiting the display of banner notifications in a specific window is achieved.
11 Citations
15 Claims
-
1. A method for prohibiting notifications in an application window, executed by an electronic device, comprising:
-
when an application window is switched, updating window information of an application, the window information comprising one or more of display information, setting information and layout information of the application; judging whether the window information comprises a notification prohibition mark, the notification prohibition mark being a mark set according to a notification type and used for prohibiting notifications of the corresponding type; and if the window information comprises the notification prohibition mark, then when a new notification is received, prohibiting the display of the new notification according to the notification prohibition mark, and adding the new notification into a notification list. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An electronic device, comprising:
-
at least one processor; and a memory communicably connected with the at least one processor for storing instructions executable by the at least one processor, wherein execution of the instructions by the at least one processor causes the at least one processor to; when an application window is switched, updating window information of an application, the window information comprising one or more of display information, setting information and layout information of the application; judging whether the window information comprises a notification prohibition mark, the notification prohibition mark being a mark set according to a notification type and used for prohibiting notifications of the corresponding type; and if the window information comprises the notification prohibition mark, then when a new notification is received, prohibiting the display of the new notification according to the notification prohibition mark, and adding the new notification into a notification list. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable storage medium storing executable instructions that, when executed by an electronic device, cause the electronic device to:
-
when an application window is switched, updating window information of an application, the window information comprising one or more of display information, setting information and layout information of the application; judging whether the window information comprises a notification prohibition mark, the notification prohibition mark being a mark set according to a notification type and used for prohibiting notifications of the corresponding type; and if the window information comprises the notification prohibition mark, then when a new notification is received, prohibiting the display of the new notification according to the notification prohibition mark, and adding the new notification into a notification list. - View Dependent Claims (12, 13, 14, 15)
-
Specification