diff options
| author | Dianne Hackborn <hackbod@google.com> | 2011-01-17 12:31:08 -0800 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2011-01-17 15:27:56 -0800 |
| commit | 0d11c9c34501a9a9dedee1092fd63af218dc28c8 (patch) | |
| tree | c68116c481ec679e2ee6bb8acb978993614ca74c /samples/NotePad/src/com/example/android/notepad/NoteEditor.java | |
| parent | d8865cc32c917cebf1fc65c8266d939b9a5718a7 (diff) | |
Follow API changes.
Change-Id: Ieb1df7fc0708f22aae3d851f74ade1343eb44e08
Diffstat (limited to 'samples/NotePad/src/com/example/android/notepad/NoteEditor.java')
| -rw-r--r-- | samples/NotePad/src/com/example/android/notepad/NoteEditor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/NotePad/src/com/example/android/notepad/NoteEditor.java b/samples/NotePad/src/com/example/android/notepad/NoteEditor.java index a3b8b38f9..59d6f1290 100644 --- a/samples/NotePad/src/com/example/android/notepad/NoteEditor.java +++ b/samples/NotePad/src/com/example/android/notepad/NoteEditor.java @@ -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(); |
