Follow API changes.
Change-Id: Ieb1df7fc0708f22aae3d851f74ade1343eb44e08
This commit is contained in:
@@ -470,7 +470,7 @@ public class NoteEditor extends Activity {
|
||||
String title=null;
|
||||
|
||||
// Gets the first item from the clipboard data
|
||||
ClipData.Item item = clip.getItem(0);
|
||||
ClipData.Item item = clip.getItemAt(0);
|
||||
|
||||
// Tries to get the item's contents as a URI pointing to a note
|
||||
Uri uri = item.getUri();
|
||||
|
||||
@@ -406,7 +406,6 @@ public class NotesList extends ListActivity {
|
||||
clipboard.setPrimaryClip(ClipData.newUri( // new clipboard item holding a URI
|
||||
getContentResolver(), // resolver to retrieve URI info
|
||||
"Note", // label for the clip
|
||||
null, // icon for the clip
|
||||
noteUri) // the URI
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user