Skip to content

Commit 35438ae

Browse files
committed
Include package name in type instead of example
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
1 parent 1f774c5 commit 35438ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

AndroidCodeGenerator/dbitem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ def declare_var(self):
226226
sURIMatcher.addURI(ItemProvider.AUTHORITY, TABLE_NAME + "/#", BASEITEMCODE);
227227
}}
228228
229-
public static final String TYPE_DIR = "vnd.android.cursor.dir/vnd.example." + TABLE_NAME;
230-
public static final String TYPE_ITEM = "vnd.android.cursor.item/vnd.example." + TABLE_NAME;
229+
public static final String TYPE_DIR = "vnd.android.cursor.dir/vnd.{pkg}." + TABLE_NAME;
230+
public static final String TYPE_ITEM = "vnd.android.cursor.item/vnd.{pkg}." + TABLE_NAME;
231231
232232
public {classname}() {{
233233
super();

0 commit comments

Comments
 (0)