mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01:00
Updated path in service loader
This commit is contained in:
parent
d368e40f27
commit
4a90c7dcd5
@ -147,8 +147,8 @@ public class PythonService extends Service implements Runnable {
|
|||||||
builder.setContentIntent(pIntent);
|
builder.setContentIntent(pIntent);
|
||||||
// builder.setOngoing(true);
|
// builder.setOngoing(true);
|
||||||
|
|
||||||
// TODO: Generalise this
|
String files_path = context.getFilesDir().getPath();
|
||||||
Bitmap icon_bitmap = BitmapFactory.decodeFile("/data/user/0/io.unsigned.sideband/files/app/assets/notification_icon.png");
|
Bitmap icon_bitmap = BitmapFactory.decodeFile(files_path+"/app/assets/notification_icon.png");
|
||||||
Icon service_icon = Icon.createWithBitmap(icon_bitmap);
|
Icon service_icon = Icon.createWithBitmap(icon_bitmap);
|
||||||
// builder.setSmallIcon(context.getApplicationInfo().icon);
|
// builder.setSmallIcon(context.getApplicationInfo().icon);
|
||||||
builder.setSmallIcon(service_icon);
|
builder.setSmallIcon(service_icon);
|
||||||
|
Loading…
Reference in New Issue
Block a user