summaryrefslogtreecommitdiffstats
path: root/core/java/android/content
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2014-12-22 09:38:43 -0800
committerMichael Wright <michaelwr@google.com>2014-12-23 17:01:49 -0800
commit446e019a06d632d9d65679e27c7e963b2c5179d2 (patch)
tree66892b04dbc74ac599a9dd385fa4dd2d402b3ff4 /core/java/android/content
parentec3f46a5ec961e7f41d1e0d40e97806e9767bfb3 (diff)
downloadframeworks_base-446e019a06d632d9d65679e27c7e963b2c5179d2.zip
frameworks_base-446e019a06d632d9d65679e27c7e963b2c5179d2.tar.gz
frameworks_base-446e019a06d632d9d65679e27c7e963b2c5179d2.tar.bz2
Add MEDIA_PROJECTION_SERVICE to the ServiceName list.
This prevents our lint tooling from complaining that we're passing invalid values when trying to get the MediaProjectionManager. Bug: 18830590 Change-Id: I34633248e895b0ac7f5083e18a7d2385ca6f8adb
Diffstat (limited to 'core/java/android/content')
-rw-r--r--core/java/android/content/Context.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index e6bb09f..26735a6 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -2142,6 +2142,7 @@ public abstract class Context {
MEDIA_SESSION_SERVICE,
BATTERY_SERVICE,
JOB_SCHEDULER_SERVICE,
+ MEDIA_PROJECTION_SERVICE,
})
@Retention(RetentionPolicy.SOURCE)
public @interface ServiceName {}