commit | 67d09aa4cdbd5c84a03ba92abbd155a09c918d57 | [log] [tgz] |
---|---|---|
author | mattgilbride <mattgilbride@google.com> | Mon Dec 19 04:41:47 2022 +0000 |
committer | mattgilbride <mattgilbride@google.com> | Thu Dec 22 17:32:48 2022 +0000 |
tree | 3b3b8f1ae4782d6cbaae90cd830d601aa623f6fb | |
parent | 77502641eb34e72ad18dae8170f8b5f2a8071157 [diff] |
Move PermissionMethod/PermissionName to android.annotation These annotations were originally created under android.content.pm, but are useful outside of the framework, e.g. in mainline modules. This change creates them under the android.annotation package for use more broadly. Bug: 263474178 Test: TH Change-Id: Iaf27de28956fe0da8ec966fa1a05a7873fa64038
Libraries and utilities intended for use by module and framework code.
Since modules use the code in this project, it must adhere to mainline requirements, for example, by setting min_sdk_version in Soong modules.
This project uses a single source path for Java code. All Java code should go in the java
directory with subdirectories corresponding to the java package. Android.bp
files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.
Tests for java code should go in the javatests
directory and follow the same structure.