am d0e7d88f: Fix undo to use the correct URI.

* commit 'd0e7d88f43bcd7d612a880f3525ef40dbe8f461a':
  Fix undo to use the correct URI.
This commit is contained in:
Yu Ping Hu 2013-03-17 16:23:14 +00:00 committed by Android Git Automerger
commit df1bc0ee93

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)] =