Fix undo to use the correct URI.

Bug: 8373349
Change-Id: Ia23b60a1f82be16cb48afe5cf239e1c588b192a1
This commit is contained in:
Yu Ping Hu 2013-03-15 19:32:32 -07:00
parent aa7e415d21
commit d0e7d88f43

View File

@ -2245,7 +2245,7 @@ outer:
.add(UIProvider.AccountColumns.FULL_FOLDER_LIST_URI, uriWithId("uiallfolders"))
.add(UIProvider.AccountColumns.NAME, AccountColumns.DISPLAY_NAME)
.add(UIProvider.AccountColumns.UNDO_URI,
("'content://" + UIProvider.AUTHORITY + "/uiundo'"))
("'content://" + EmailContent.AUTHORITY + "/uiundo'"))
.add(UIProvider.AccountColumns.URI, uriWithId("uiaccount"))
.add(UIProvider.AccountColumns.SEARCH_URI, uriWithId("uisearch"))
// TODO: Is provider version used?
@ -2950,7 +2950,7 @@ outer:
}
if (colPosMap.containsKey(UIProvider.AccountColumns.UNDO_URI)) {
values[colPosMap.get(UIProvider.AccountColumns.UNDO_URI)] =
"'content://" + UIProvider.AUTHORITY + "/uiundo'";
"'content://" + EmailContent.AUTHORITY + "/uiundo'";
}
if (colPosMap.containsKey(UIProvider.AccountColumns.URI)) {
values[colPosMap.get(UIProvider.AccountColumns.URI)] =