diff options
author | Svet Ganov <svetoslavganov@google.com> | 2014-10-25 00:16:57 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-10-25 00:16:58 +0000 |
commit | b32f04b785306f06d7d07b824fb8dcc1b4a61aa6 (patch) | |
tree | 536d58ff12a7a08a1af5ecd74fb7390a0e371b10 /packages | |
parent | 9167652e442ae979d1af24ccb3d786d0c96298ab (diff) | |
parent | 99a82437ed8e0537d9a355a124d2bb30aea46ad8 (diff) | |
download | frameworks_base-b32f04b785306f06d7d07b824fb8dcc1b4a61aa6.zip frameworks_base-b32f04b785306f06d7d07b824fb8dcc1b4a61aa6.tar.gz frameworks_base-b32f04b785306f06d7d07b824fb8dcc1b4a61aa6.tar.bz2 |
Merge "Printing from two apps at the same time not working." into lmp-mr1-dev
Diffstat (limited to 'packages')
-rw-r--r-- | packages/PrintSpooler/src/com/android/printspooler/model/PageContentRepository.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/PrintSpooler/src/com/android/printspooler/model/PageContentRepository.java b/packages/PrintSpooler/src/com/android/printspooler/model/PageContentRepository.java index acc2b69..a54334a 100644 --- a/packages/PrintSpooler/src/com/android/printspooler/model/PageContentRepository.java +++ b/packages/PrintSpooler/src/com/android/printspooler/model/PageContentRepository.java @@ -24,6 +24,7 @@ import android.content.ServiceConnection; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.drawable.BitmapDrawable; +import android.net.Uri; import android.os.AsyncTask; import android.os.IBinder; import android.os.ParcelFileDescriptor; @@ -462,6 +463,7 @@ public final class PageContentRepository { } Intent intent = new Intent(PdfManipulationService.ACTION_GET_RENDERER); intent.setClass(mContext, PdfManipulationService.class); + intent.setData(Uri.fromParts("fake-scheme", String.valueOf(hashCode()), null)); mContext.bindService(intent, AsyncRenderer.this, Context.BIND_AUTO_CREATE); mBoundToService = true; } |