commit | de6e6f2098042bb91f7dac965d2b047c74c920f2 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Mon Jun 22 10:17:02 2020 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Mon Jun 22 16:33:53 2020 -0700 |
tree | 021eaed668646fbd3fff57e9b53ef21285540e0d | |
parent | 42a637d4ee4b35f13bfd8424765b1c8ae5e2844e [diff] |
Don't add API annotations in the internal R.java I'm trying to enable a check for the following structure: ``` /** @hide */ public class Class1 { /** @hide */ @SystemApi // Invalid because the class is hidden. public void method1() { } } ``` The internal R.java file violates this, which this change is going to fix. Bug: 159162473 Test: build (treehugger) Test: atest aapt2_tests Change-Id: I613e8611ddaf5f8e4761d351d4cd0142d59c7cc9