Merge "fix: make device paths function static" into main
This commit is contained in:
@@ -42,10 +42,11 @@ genrule {
|
||||
srcs: ["src/DevicePathsTemplate.java"],
|
||||
out: ["DevicePaths.java"],
|
||||
tool_files: ["partition_aconfig_flags_paths.txt"],
|
||||
cmd: "sed -e '/TEMPLATE/{r$(location partition_aconfig_flags_paths.txt)' -e 'd}' $(in) > $(out)"
|
||||
cmd: "sed -e '/TEMPLATE/{r$(location partition_aconfig_flags_paths.txt)' -e 'd}' $(in) > $(out)",
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "aconfig_device_paths_java",
|
||||
srcs: [":libaconfig_java_device_paths_src"],
|
||||
sdk_version: "core_current",
|
||||
}
|
||||
|
@@ -36,7 +36,7 @@ public class DevicePaths {
|
||||
* Returns the list of all on-device aconfig protos paths.
|
||||
* @hide
|
||||
*/
|
||||
public List<String> parsedFlagsProtoPaths() {
|
||||
public static List<String> parsedFlagsProtoPaths() {
|
||||
ArrayList<String> paths = new ArrayList(Arrays.asList(PATHS));
|
||||
|
||||
File apexDirectory = new File(APEX_DIR);
|
||||
|
Reference in New Issue
Block a user