commit | a7f90298629bc6549ffd60adadd387f6caee8c59 | [log] [tgz] |
---|---|---|
author | Hung-ying Tyan <tyanh@google.com> | Tue Aug 21 13:02:43 2012 +0800 |
committer | Hung-ying Tyan <tyanh@google.com> | Tue Aug 21 13:05:22 2012 +0800 |
tree | 1580739c10bc80de13aed73d7fa4fc800eeaf880 | |
parent | bafebac3ac39ad2220f80448b3862d07d4bfcd74 [diff] |
Move ThreadPool to gallerycommon for picasasync and picasastore. Bug: 7005321 Change-Id: I7ae4bafed141be03bca74772a261c7c2fb3036c4
diff --git a/src/com/android/gallery3d/util/Future.java b/gallerycommon/src/com/android/gallery3d/util/Future.java similarity index 100% rename from src/com/android/gallery3d/util/Future.java rename to gallerycommon/src/com/android/gallery3d/util/Future.java
diff --git a/src/com/android/gallery3d/util/FutureListener.java b/gallerycommon/src/com/android/gallery3d/util/FutureListener.java similarity index 100% rename from src/com/android/gallery3d/util/FutureListener.java rename to gallerycommon/src/com/android/gallery3d/util/FutureListener.java
diff --git a/src/com/android/gallery3d/util/PriorityThreadFactory.java b/gallerycommon/src/com/android/gallery3d/util/PriorityThreadFactory.java similarity index 100% rename from src/com/android/gallery3d/util/PriorityThreadFactory.java rename to gallerycommon/src/com/android/gallery3d/util/PriorityThreadFactory.java
diff --git a/src/com/android/gallery3d/util/ThreadPool.java b/gallerycommon/src/com/android/gallery3d/util/ThreadPool.java similarity index 99% rename from src/com/android/gallery3d/util/ThreadPool.java rename to gallerycommon/src/com/android/gallery3d/util/ThreadPool.java index 4c077c8..cada234 100644 --- a/src/com/android/gallery3d/util/ThreadPool.java +++ b/gallerycommon/src/com/android/gallery3d/util/ThreadPool.java
@@ -16,6 +16,8 @@ package com.android.gallery3d.util; +import android.util.Log; + import java.util.concurrent.Executor; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor;