Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19bccfb4 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Update ESmsRestoreService.kt with new esmssync package name

parent 1957bc3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ class ESmsRestoreService : Service() {
                    .build()
            startForeground(1, notification)
            val packageName:String = getPackageManager().getPackagesForUid(Binder.getCallingUid())?.get(0)?:""
            if(!packageName.equals("e.foundation.sms_sync"))
            if(!packageName.equals("foundation.e.esmssync"))
                return
            messagesJson?.takeIf { it != null }?.let { messages ->
                val array:JSONArray = JSONArray(messages);