summaryrefslogtreecommitdiffstats
path: root/tests/MusicServiceDemo/src
diff options
context:
space:
mode:
authorYao Chen <yaochen@google.com>2014-07-25 10:51:09 -0700
committerYao Chen <yaochen@google.com>2014-07-25 11:01:45 -0700
commit8470857ee43444868a38d0e760981386880d6ce2 (patch)
treeb3532a22c9fc9c7ece84cad1246f6ea219b44f25 /tests/MusicServiceDemo/src
parentec64dbfbc0c7ecf41e17f3872c2d0109096f1c7a (diff)
downloadframeworks_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.java6
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);
}