summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-09-12 14:37:47 -0700
committerSvetoslav <svetoslavganov@google.com>2013-09-12 16:58:58 -0700
commit651dd4e6ee6510caf9f15c51094a11121af17ec2 (patch)
treef86f1c4b313f425e5b1864c51a98710e3016ea39 /services
parent5fbfb81d31d452f75bc088d380711642993fef1c (diff)
downloadframeworks_base-651dd4e6ee6510caf9f15c51094a11121af17ec2.zip
frameworks_base-651dd4e6ee6510caf9f15c51094a11121af17ec2.tar.gz
frameworks_base-651dd4e6ee6510caf9f15c51094a11121af17ec2.tar.bz2
Remove unneeded print APIs and update the min margins APIs.
1. Removed unneeded code in Resolution that was storing its label as resource and package name. We do not have predefined resolutions, therefore we always persist the label. 2. Renamed the print attribute margins to minMargins to reflect that these are the minimal margins the printer support. Updated the docs as well. 3. Renamed the create method of all builder to build. bug:10727487 Change-Id: Ie72ab8aaa5215b8bd2853885011b3b4efa4deb2e
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/print/UserState.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/java/com/android/server/print/UserState.java b/services/java/com/android/server/print/UserState.java
index 70fe370..86a5aed 100644
--- a/services/java/com/android/server/print/UserState.java
+++ b/services/java/com/android/server/print/UserState.java
@@ -433,7 +433,6 @@ final class UserState implements PrintSpoolerCallbacks, PrintServiceCallbacks {
return false;
}
-
private boolean readEnabledPrintServicesLocked() {
Set<ComponentName> tempEnabledServiceNameSet = new HashSet<ComponentName>();
readPrintServicesFromSettingLocked(Settings.Secure.ENABLED_PRINT_SERVICES,