Merge "[Thread] add a script for make-pretty" into main am: 289ec28259
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2815932 Change-Id: Ifaa529cef41f1a024dd344afe4f87a5f46833630 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
bbbfdc3c5c
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