diff options
author | Adrian Roos <roosa@google.com> | 2019-02-21 16:16:30 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2019-02-21 16:35:22 +0100 |
commit | 0b2c8b5a3ea18e80b32b57c49dba74c2812946ee (patch) | |
tree | a741a20c2071240bcdfedf1b174d340410746ade /textclassifier | |
parent | d57edef44751da87f122716a2e7d1cc51f24917d (diff) | |
download | support-0b2c8b5a3ea18e80b32b57c49dba74c2812946ee.tar.gz |
API: Properly filter out @RestrictTo(LIBRARY) on packages and classes
Fixes an issue, where @RestrictTo(LIBRARY) on packages and classes was
filtering out only the package / class line, but leaving behind all the
members and closing brace, breaking API tooling.
Test: ./gradlew updateApi
Change-Id: If452e757ed22d920e1225b6a1fb0e2c7415a8f45
Diffstat (limited to 'textclassifier')
-rw-r--r-- | textclassifier/api/restricted_1.0.0-alpha03.txt | 10 | ||||
-rw-r--r-- | textclassifier/api/restricted_current.txt | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/textclassifier/api/restricted_1.0.0-alpha03.txt b/textclassifier/api/restricted_1.0.0-alpha03.txt index 210f5ee7d3c..a20a31b45a9 100644 --- a/textclassifier/api/restricted_1.0.0-alpha03.txt +++ b/textclassifier/api/restricted_1.0.0-alpha03.txt @@ -1,12 +1,7 @@ // Signature format: 3.0 package androidx.textclassifier { - ctor public MainThreadExecutor(); - method public void execute(Runnable); - } - method public static androidx.textclassifier.PlatformTextClassifierWrapper create(android.content.Context); - } @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class SelectionEvent { method public static androidx.textclassifier.SelectionEvent createFromBundle(android.os.Bundle); @@ -55,11 +50,8 @@ package androidx.textclassifier { field public static final int INVOCATION_UNKNOWN = 0; // 0x0 } - } - } - } public final class TextClassificationSessionId { } @@ -73,9 +65,7 @@ package androidx.textclassifier { public final class TextLinks { } - } - } public static class TextLinks.TextLinkSpanData { } diff --git a/textclassifier/api/restricted_current.txt b/textclassifier/api/restricted_current.txt index 210f5ee7d3c..a20a31b45a9 100644 --- a/textclassifier/api/restricted_current.txt +++ b/textclassifier/api/restricted_current.txt @@ -1,12 +1,7 @@ // Signature format: 3.0 package androidx.textclassifier { - ctor public MainThreadExecutor(); - method public void execute(Runnable); - } - method public static androidx.textclassifier.PlatformTextClassifierWrapper create(android.content.Context); - } @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class SelectionEvent { method public static androidx.textclassifier.SelectionEvent createFromBundle(android.os.Bundle); @@ -55,11 +50,8 @@ package androidx.textclassifier { field public static final int INVOCATION_UNKNOWN = 0; // 0x0 } - } - } - } public final class TextClassificationSessionId { } @@ -73,9 +65,7 @@ package androidx.textclassifier { public final class TextLinks { } - } - } public static class TextLinks.TextLinkSpanData { } |