Merge "[Thread] add a script for make-pretty" into main
This commit is contained in:
commit
289ec28259
2 changed files with 8 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
7
thread/scripts/make-pretty.sh
Executable file
7
thread/scripts/make-pretty.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/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")
|
||||
Loading…
Reference in a new issue