commit | 46d228aad25254ec2c15623a2f6eda583cf457c9 | [log] [tgz] |
---|---|---|
author | zhidou <zhidou@google.com> | Thu Jul 14 20:48:02 2022 +0000 |
committer | zhidou <zhidou@google.com> | Thu Jul 14 20:48:02 2022 +0000 |
tree | a159351d652b13efceed37c7b9713e43f903796a | |
parent | 29bfb6ae0f4aa5fc2ce8bf11bf6428c015af8703 [diff] |
Keep all fields and methods of classes extends SystemServer Before the change, the keep rule only keeps the class that extends SystemServer, but if the methods/fields in the class are not used by other entries, then the methods/fields will be removed. It will cause issue for some service are not only used by calling the public methods inherited from SystemServer. This change will keep all methods, and fields in the class that extends SystemServer. Bug: 233746531 Test: Build modules using this configuration locally, and check all neseccary methods are kept. Change-Id: Ia938fe8726ac8d4c1f2066f1ebca318b624e30de
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.
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.