Skip to content
Snippets Groups Projects
Commit 7dffade5 authored by Kangping Dong's avatar Kangping Dong
Browse files

[Thread] add a script for make-pretty

This make-pretty.sh can be called from any where and it formats only
java code under packages/modules/Connectivity/thread/

Test: ./thread/scripts/make-pretty.sh
Change-Id: I1b24025cf0267c81a7b133d1e8a08f77cc7ddc0e
parent f92d211c
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ import java.lang.annotation.RetentionPolicy;
* Provides the primary API for controlling all aspects of a Thread network.
*
* @hide
*/
*/
@FlaggedApi(ThreadNetworkFlags.FLAG_THREAD_ENABLED)
@SystemApi
public final class ThreadNetworkController {
......
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
GOOGLE_JAVA_FORMAT=$SCRIPT_DIR/../../../../../prebuilts/tools/common/google-java-format/google-java-format
$GOOGLE_JAVA_FORMAT --aosp -i $(find $SCRIPT_DIR/../ -name "*.java")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment