Skip to content

Commit 2024859

Browse files
author
Test User
committed
feat: Add RCS support for Google Messages
1 parent abf3812 commit 2024859

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 microG Project Team
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
package org.microg.gms.rcs.contacts;
7+
8+
import android.app.Service;
9+
import android.content.Intent;
10+
import android.os.IBinder;
11+
12+
public class RcsContactsService extends Service {
13+
14+
@Override
15+
public void onCreate() {
16+
super.onCreate();
17+
}
18+
19+
@Override
20+
public IBinder onBind(Intent intent) {
21+
return null;
22+
}
23+
24+
@Override
25+
public void onDestroy() {
26+
super.onDestroy();
27+
}
28+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2024 microG Project Team
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
package org.microg.gms.rcs.provider;
7+
8+
import android.content.ContentProvider;
9+
import android.content.ContentValues;
10+
import android.database.Cursor;
11+
import android.net.Uri;
12+
13+
public class RcsCapabilityProvider extends ContentProvider {
14+
15+
@Override
16+
public boolean onCreate() {
17+
return true;
18+
}
19+
20+
@Override
21+
public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
22+
return null;
23+
}
24+
25+
@Override
26+
public String getType(Uri uri) {
27+
return null;
28+
}
29+
30+
@Override
31+
public Uri insert(Uri uri, ContentValues values) {
32+
return null;
33+
}
34+
35+
@Override
36+
public int delete(Uri uri, String selection, String[] selectionArgs) {
37+
return 0;
38+
}
39+
40+
@Override
41+
public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
42+
return 0;
43+
}
44+
}

0 commit comments

Comments
 (0)