Commit 6e00520c authored by Alexandre Roux's avatar Alexandre Roux

Update ESmsRestoreService.kt with new esmssync package name

parent 98e4c3ad
Pipeline #48479 passed with stage
in 9 minutes and 38 seconds
...@@ -70,7 +70,7 @@ class ESmsRestoreService : Service() { ...@@ -70,7 +70,7 @@ class ESmsRestoreService : Service() {
.build() .build()
startForeground(1, notification) startForeground(1, notification)
val packageName:String = getPackageManager().getPackagesForUid(Binder.getCallingUid())?.get(0)?:"" val packageName:String = getPackageManager().getPackagesForUid(Binder.getCallingUid())?.get(0)?:""
if(!packageName.equals("e.foundation.sms_sync")) if(!packageName.equals("foundation.e.esmssync"))
return return
messagesJson?.takeIf { it != null }?.let { messages -> messagesJson?.takeIf { it != null }?.let { messages ->
val array:JSONArray = JSONArray(messages); val array:JSONArray = JSONArray(messages);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment