summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/gallery3d/app/BatchService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/BatchService.java b/src/com/android/gallery3d/app/BatchService.java
index 98a1d8215..564001d5b 100644
--- a/src/com/android/gallery3d/app/BatchService.java
+++ b/src/com/android/gallery3d/app/BatchService.java
@@ -39,6 +39,9 @@ public class BatchService extends Service {
return mBinder;
}
+ // The threadpool returned by getThreadPool must have only 1 thread
+ // running at a time, as MenuExecutor (atrociously) depends on this
+ // guarantee for synchronization.
public ThreadPool getThreadPool() {
return mThreadPool;
}