diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-05-14 13:44:29 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-05-15 15:39:47 -0700 |
commit | c87c92e079b9aff771ac0810fc86def81654dbda (patch) | |
tree | b2a7ddb67c64c18769e60c6453e4821bcf3cbd28 /test-runner/src/android | |
parent | f27796cbbea78b01467a5a35f20be573815c1b5b (diff) | |
download | frameworks_base-c87c92e079b9aff771ac0810fc86def81654dbda.zip frameworks_base-c87c92e079b9aff771ac0810fc86def81654dbda.tar.gz frameworks_base-c87c92e079b9aff771ac0810fc86def81654dbda.tar.bz2 |
Add API to retrieve cursor notification URI.
Change-Id: I89f6c4d6ee6ef3675eff62ff6bca691b54c69f75
Diffstat (limited to 'test-runner/src/android')
-rw-r--r-- | test-runner/src/android/test/mock/MockCursor.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test-runner/src/android/test/mock/MockCursor.java b/test-runner/src/android/test/mock/MockCursor.java index baa150a..5b8a4f4 100644 --- a/test-runner/src/android/test/mock/MockCursor.java +++ b/test-runner/src/android/test/mock/MockCursor.java @@ -177,17 +177,18 @@ public class MockCursor implements Cursor { throw new UnsupportedOperationException("unimplemented mock method"); } - @SuppressWarnings("deprecation") public void setNotificationUri(ContentResolver cr, Uri uri) { throw new UnsupportedOperationException("unimplemented mock method"); } - @SuppressWarnings("deprecation") + public Uri getNotificationUri() { + throw new UnsupportedOperationException("unimplemented mock method"); + } + public void unregisterContentObserver(ContentObserver observer) { throw new UnsupportedOperationException("unimplemented mock method"); } - @SuppressWarnings("deprecation") public void unregisterDataSetObserver(DataSetObserver observer) { throw new UnsupportedOperationException("unimplemented mock method"); } |