diff options
| author | Philip P. Moltmann <moltmann@google.com> | 2019-10-18 02:26:08 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-10-18 02:26:08 +0000 |
| commit | c9bb90c0e0d2ea0b285547a140f323e136edc04d (patch) | |
| tree | 319b928a79cd50ca4f98506802afec8e799cc99c /core/java/android/content/ContextWrapper.java | |
| parent | 291a46e4f4a72c3cb07c9f2c8539ea1a5bc6228c (diff) | |
| parent | 59076d89573ff4a155032b70d13dcfee12fd5f2b (diff) | |
Merge "Add feature context"
Diffstat (limited to 'core/java/android/content/ContextWrapper.java')
| -rw-r--r-- | core/java/android/content/ContextWrapper.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/content/ContextWrapper.java b/core/java/android/content/ContextWrapper.java index 7993ea192424..d5d0dcea9438 100644 --- a/core/java/android/content/ContextWrapper.java +++ b/core/java/android/content/ContextWrapper.java @@ -16,6 +16,7 @@ package android.content; +import android.annotation.Nullable; import android.annotation.SystemApi; import android.annotation.TestApi; import android.annotation.UnsupportedAppUsage; @@ -158,6 +159,12 @@ public class ContextWrapper extends Context { return mBase.getOpPackageName(); } + /** @hide */ + @Override + public @Nullable String getFeatureId() { + return mBase.getFeatureId(); + } + @Override public ApplicationInfo getApplicationInfo() { return mBase.getApplicationInfo(); |
