diff --git a/client/Android/AndroidManifest.xml.cmake b/client/Android/AndroidManifest.xml.cmake index bf9d7ac9b..0fd9e9c1b 100644 --- a/client/Android/AndroidManifest.xml.cmake +++ b/client/Android/AndroidManifest.xml.cmake @@ -12,12 +12,12 @@ - - - @@ -46,7 +46,7 @@ - @@ -59,8 +59,8 @@ - @@ -69,35 +69,35 @@ - - - - - - - + diff --git a/client/Android/src/com/freerdp/afreerdp/services/FreeRDPSuggestionProvider.java b/client/Android/src/com/freerdp/afreerdp/services/FreeRDPSuggestionProvider.java index b8144d0b7..1fd06a7cf 100644 --- a/client/Android/src/com/freerdp/afreerdp/services/FreeRDPSuggestionProvider.java +++ b/client/Android/src/com/freerdp/afreerdp/services/FreeRDPSuggestionProvider.java @@ -84,7 +84,7 @@ public class FreeRDPSuggestionProvider extends ContentProvider { row[1] = bookmark.getLabel(); row[2] = bookmark.get().getHostname(); row[3] = ConnectionReference.getManualBookmarkReference(bookmark.getId()); - row[4] = "android.resource://com.freerdp.afreerdp/" + R.drawable.icon_star_on; + row[4] = "android.resource://" + getContext().getPackageName() + "/" + R.drawable.icon_star_on; resultCursor.addRow(row); } } @@ -97,7 +97,7 @@ public class FreeRDPSuggestionProvider extends ContentProvider { row[1] = bookmark.getLabel(); row[2] = bookmark.getLabel(); row[3] = ConnectionReference.getHostnameReference(bookmark.getLabel()); - row[4] = "android.resource://com.freerdp.afreerdp/" + R.drawable.icon_star_off; + row[4] = "android.resource://" + getContext().getPackageName() + "/" + R.drawable.icon_star_off; resultCursor.addRow(row); } }