Fix import order issue for androidx
Bug: 948803 Change-Id: I61de64544305af054571c3aa5f535a8b95f611a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1542137 Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Sam Maier <smaier@chromium.org> Reviewed-by: Andrew Grieve <agrieve@chromium.org> Commit-Queue: Yun Liu <yliuyliu@google.com> Cr-Commit-Position: refs/heads/master@{#647808}
This commit is contained in:
@ -206,6 +206,7 @@ if (someConditional)
|
||||
This is the order of the import groups:
|
||||
|
||||
1. android
|
||||
1. androidx
|
||||
1. com (except com.google.android.apps.chrome)
|
||||
1. dalvik
|
||||
1. junit
|
||||
@ -215,10 +216,6 @@ This is the order of the import groups:
|
||||
1. java
|
||||
1. javax
|
||||
|
||||
This is enforced by the
|
||||
[Chromium Checkstyle configuration](../../tools/android/checkstyle/chromium-style-5.0.xml)
|
||||
under the ImportOrder module.
|
||||
|
||||
## Location
|
||||
"Top level directories" are defined as directories with a GN file, such as
|
||||
[//base](https://chromium.googlesource.com/chromium/src/+/master/base/)
|
||||
|
Reference in New Issue
Block a user