2024-10-25
2024-10-25
2024-10-25
java:24)#<init> ] Creating
Billing client.
01:46:02.896 d wutsapper-BillingManager[ (BillingManager.java:35)#initBillClient ]
Starting setup.
01:46:06.107 e wutsapper[ (CrashHandler.kt:69)#uncaughtException ]
java.lang.RuntimeException: Unable to create service
com.wondershare.whatsdeleted.NotificationMonitorService:
java.lang.SecurityException: Permission Denial: startForeground from pid=22275,
uid=10392 requires android.permission.FOREGROUND_SERVICE
at android.app.ActivityThread.handleCreateService(ActivityThread.java:5111)
at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2506)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: java.lang.SecurityException: Permission Denial: startForeground from
pid=22275, uid=10392 requires android.permission.FOREGROUND_SERVICE
at android.os.Parcel.createExceptionOrNull(Parcel.java:3069)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at
android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:
7234)
at android.app.Service.startForeground(Service.java:775)
at
com.wondershare.whatsdeleted.NotificationMonitorService.e(NotificationMonitorServic
e.java:33)
at
com.wondershare.whatsdeleted.NotificationMonitorService.onCreate(NotificationMonito
rService.java:4)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:5098)
... 9 more
Caused by: android.os.RemoteException: Remote stack trace:
at
com.android.server.am.ActivityManagerService.enforcePermission(ActivityManagerServi
ce.java:7484)
at
com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices
.java:2155)
at
com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java
:1797)
at
com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerSe
rvice.java:15948)
at android.app.IActivityManager$Stub.onTransact$setServiceForeground$
(IActivityManager.java:11974)