diff options
author | cimamoglu@chromium.org <cimamoglu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-22 16:08:26 +0000 |
---|---|---|
committer | cimamoglu@chromium.org <cimamoglu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-22 16:08:26 +0000 |
commit | b8257e63980f7fd929c514e5686cfe4db94e7b3e (patch) | |
tree | 4f957c5179bb0905bfe91c6318ba9b69fcfe78c9 /printing | |
parent | 3b8808732f0247f005ce2befb5f4dc10c387f877 (diff) | |
download | chromium_src-b8257e63980f7fd929c514e5686cfe4db94e7b3e.zip chromium_src-b8257e63980f7fd929c514e5686cfe4db94e7b3e.tar.gz chromium_src-b8257e63980f7fd929c514e5686cfe4db94e7b3e.tar.bz2 |
Android: Moves isPrintingSupported method to ApiCompatibilityUtils
PrintingControllerImpl uses new KitKat APIs, so it causes problems with
ICS bots.
BUG=321751
Review URL: https://codereview.chromium.org/83263003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java b/printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java index ccd297c..3061b5b 100644 --- a/printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java +++ b/printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java @@ -6,8 +6,6 @@ package org.chromium.printing; import org.chromium.base.ThreadUtils; -import android.annotation.SuppressLint; -import android.os.Build; import android.os.Bundle; import android.os.CancellationSignal; import android.os.ParcelFileDescriptor; @@ -126,14 +124,6 @@ public class PrintingControllerImpl extends PrintDocumentAdapter implements Prin return sInstance; } - /** - * @return True if the running version of the Android supports printing. - */ - @SuppressLint("InlinedApi") - public static boolean isPrintingSupported() { - return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; - } - @Override public boolean hasPrintingFinished() { return mPrintingState == PRINTING_STATE_FINISHED; |