summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-09-04 15:39:54 -0700
committerSvetoslav <svetoslavganov@google.com>2014-09-05 10:07:02 -0700
commitc7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb (patch)
tree532c46292dac958aed9b688138a828f2e8da58ec /test-runner
parentd3cc74cac29c0534762228accf72ea8c6f5bebde (diff)
downloadframeworks_base-c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb.zip
frameworks_base-c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb.tar.gz
frameworks_base-c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb.tar.bz2
Addressing API council comments for UserManager.
bug:17390424 Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/mock/MockPackageManager.java25
1 files changed, 24 insertions, 1 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java
index cd7d178..5a4e0eb 100644
--- a/test-runner/src/android/test/mock/MockPackageManager.java
+++ b/test-runner/src/android/test/mock/MockPackageManager.java
@@ -46,7 +46,7 @@ import android.content.pm.VerificationParams;
import android.content.pm.VerifierDeviceIdentity;
import android.content.res.Resources;
import android.content.res.XmlResourceParser;
-import android.graphics.Bitmap;
+import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.UserHandle;
@@ -403,6 +403,29 @@ public class MockPackageManager extends PackageManager {
}
@Override
+ public Drawable getUserBadgedIcon(Drawable icon, UserHandle user) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public Drawable getUserBadgedDrawableForDensity(Drawable drawable, UserHandle user,
+ Rect badgeLocation,
+ int badgeDensity) {
+ throw new UnsupportedOperationException();
+ }
+
+ /** @hide */
+ @Override
+ public Drawable getUserBadgeForDensity(UserHandle user, int density) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public CharSequence getUserBadgedLabel(CharSequence label, UserHandle user) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) {
throw new UnsupportedOperationException();
}