diff options
| author | Philip P. Moltmann <moltmann@google.com> | 2019-11-01 22:01:59 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-11-01 22:01:59 +0000 |
| commit | cdc4a55cd1461474aacc6fc3a9b80e74d122a7ba (patch) | |
| tree | 1c5fcfc63d967f22adf1c58b30a59c9745dba8c3 /core/java/android | |
| parent | 46c9f28c65e833f82440a52166e7c8ed1231af99 (diff) | |
| parent | 95a41b85e0c4136a1c1834dd3c467abdd59019d3 (diff) | |
Merge changes from topic "networklocationFeatureId"
* changes:
Pipe through featureId for network location checks
Support feature context in TelephonyManager
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/ContextWrapper.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/ContextWrapper.java b/core/java/android/content/ContextWrapper.java index d5d0dcea9438..00c536913097 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.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; import android.annotation.TestApi; @@ -928,6 +929,11 @@ public class ContextWrapper extends Context { } @Override + public @NonNull Context createFeatureContext(@Nullable String featureId) { + return mBase.createFeatureContext(featureId); + } + + @Override public boolean isRestricted() { return mBase.isRestricted(); } |
