Skip to content

Commit

Permalink
Merge pull request #230 from HelloVolla/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
wurzer authored May 19, 2024
2 parents 1b70be0 + a813a1f commit 73f7e32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.4.5" android:versionCode="302" android:installLocation="auto">
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.4.6" android:versionCode="303" android:installLocation="auto">
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29"/>

<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Expand Down
5 changes: 3 additions & 2 deletions android/src/com/volla/launcher/worker/MessageWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public void run() {
}

private static void updateMessageHandler(Map message, Activity activity) {
Log.d(TAG, "updateMessageHandler");
Runnable runnable = new Runnable () {
public void run() {
Looper.prepare();
Expand All @@ -145,7 +146,7 @@ static void updateMessageReadStatus(Map message, Activity activity) {
threadList.add( threadId );
}
for (String thId : threadList) {
Log.d(TAG, "Check messages of therad " + thId);
Log.d(TAG, "Check messages of updateMessageReadStatus " + thId);
Uri uriSms = Uri.parse("content://sms/");
String[] projection = {Telephony.Sms._ID, Telephony.Sms.THREAD_ID, Telephony.Sms.BODY, Telephony.Sms.TYPE,
Telephony.Sms.DATE, Telephony.Sms.ADDRESS, Telephony.Sms.READ};
Expand All @@ -155,7 +156,7 @@ static void updateMessageReadStatus(Map message, Activity activity) {
long cutOffTimeStamp = 0;
try {
Cursor c = activity.getContentResolver().query(uriSms, projection, selection, selectionArgs, null);;
Log.d(TAG, "MessagesCount = " + c.getCount() );
Log.d(TAG, "MessagesCount updateMessageReadStatus = " + c.getCount());
if (c.moveToFirst()) {
for (int i = 0; i < c.getCount(); i++) {

Expand Down

0 comments on commit 73f7e32

Please # to comment.