summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-07-02 08:00:52 -0700
committerAndreas Huber <andih@google.com>2010-07-02 08:00:52 -0700
commit42d7f83904b8a91ce33e87a44de109572679ac1f (patch)
treee21c52008ad600d445d0345321a7f32ce87524da /include
parent3eaa4e92dbebb5b27cb89f329f31fac6fb6fe1f0 (diff)
downloadframeworks_av-42d7f83904b8a91ce33e87a44de109572679ac1f.zip
frameworks_av-42d7f83904b8a91ce33e87a44de109572679ac1f.tar.gz
frameworks_av-42d7f83904b8a91ce33e87a44de109572679ac1f.tar.bz2
Add an option to ALooper::start that allows it to call back into java or not.
Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/foundation/ALooper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/media/stagefright/foundation/ALooper.h b/include/media/stagefright/foundation/ALooper.h
index 69ad837..194f1fc 100644
--- a/include/media/stagefright/foundation/ALooper.h
+++ b/include/media/stagefright/foundation/ALooper.h
@@ -39,7 +39,10 @@ struct ALooper : public RefBase {
handler_id registerHandler(const sp<AHandler> &handler);
void unregisterHandler(handler_id handlerID);
- status_t start(bool runOnCallingThread = false);
+ status_t start(
+ bool runOnCallingThread = false,
+ bool canCallJava = false);
+
status_t stop();
static int64_t GetNowUs();