Merge cherrypicks of ['googleplex-android-review.googlesource.com/22340076'] into sparse-9846576-L27300000959476203.
SPARSE_CHANGE: Ie8a79f9d641a24df73742841a9010ab66c974136

Change-Id: Ic627a2f1357f3e5d7b5f81390ac0fca2369fd797
tree: ecd172481ddd20883dadb25924c82fd518b1043f
  1. build/
  2. java/
  3. javatests/
  4. proguard/
  5. proto/
  6. sdk/
  7. tools/
  8. Android.bp
  9. generate_ml_bundle.sh
  10. MODULES_OWNERS
  11. OWNERS
  12. PREBUILTS_MODULE_OWNERS
  13. PREUPLOAD.cfg
  14. README.md
README.md

packages/modules/common

This project includes mainline build and other utility code. Any library code intended for use by modules should go in frameworks/libs/modules-utils instead.

java code

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.