Commit 66dde2f33f7a62451e6a31102cb80ede47711ecc

Authored by cuong
1 parent eacd23d778

add checkOverlayPermission

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

... ... @@ -6,10 +6,11 @@ async function check(): Promise<PermissionStatus> {
6 6 return RESULTS.UNAVAILABLE;
7 7 }
8 8  
9   -async function checkOverlayPermission(): Promise<boolean> {
10   - return true;
  9 +async function checkOverlayPermission(): Promise<PermissionStatus> {
  10 + return RESULTS.UNAVAILABLE;
11 11 }
12 12  
  13 +
13 14 async function checkNotifications(): Promise<NotificationsResponse> {
14 15 return {status: RESULTS.UNAVAILABLE, settings: {}};
15 16 }