diff options
author | Yao Chen <yaochen@google.com> | 2014-07-25 10:51:09 -0700 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2014-07-25 11:01:45 -0700 |
commit | 8470857ee43444868a38d0e760981386880d6ce2 (patch) | |
tree | b3532a22c9fc9c7ece84cad1246f6ea219b44f25 /tests/MusicServiceDemo/src | |
parent | ec64dbfbc0c7ecf41e17f3872c2d0109096f1c7a (diff) | |
download | frameworks_base-8470857ee43444868a38d0e760981386880d6ce2.zip frameworks_base-8470857ee43444868a38d0e760981386880d6ce2.tar.gz frameworks_base-8470857ee43444868a38d0e760981386880d6ce2.tar.bz2 |
Fix build
Change-Id: Ia2a09417451dd9cdca0a6351b8ddd00f9195f361
Diffstat (limited to 'tests/MusicServiceDemo/src')
-rw-r--r-- | tests/MusicServiceDemo/src/com/example/android/musicservicedemo/BrowserService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/BrowserService.java b/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/BrowserService.java index 0e7fe13..035b3ea 100644 --- a/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/BrowserService.java +++ b/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/BrowserService.java @@ -116,12 +116,12 @@ public class BrowserService extends MediaBrowserService { } @Override - protected BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { + public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { return new BrowserRoot(BROWSE_URI, null); } @Override - protected void onLoadChildren(final Uri parentUri, + public void onLoadChildren(final Uri parentUri, final Result<List<MediaBrowserItem>> result) { new Handler().postDelayed(new Runnable() { public void run() { @@ -142,7 +142,7 @@ public class BrowserService extends MediaBrowserService { } @Override - protected void onLoadThumbnail(Uri uri, int width, int height, Result<Bitmap> result) { + public void onLoadThumbnail(Uri uri, int width, int height, Result<Bitmap> result) { result.sendResult(null); } |