//apex_available:platform should be first in list

Test: m
Change-Id: I6ede6f008bc149f587ae2fc024d5869463b2c64d
diff --git a/libstats/socket/Android.bp b/libstats/socket/Android.bp
index f8b38ad..437879b 100644
--- a/libstats/socket/Android.bp
+++ b/libstats/socket/Android.bp
@@ -43,10 +43,10 @@
         ],
     },
     apex_available: [
-        "com.android.os.statsd",
-        "test_com.android.os.statsd",
         //TODO(b/149340100): Remove this once libstatssocket is only linked as shared.
         "//apex_available:platform",
+        "com.android.os.statsd",
+        "test_com.android.os.statsd",
     ],
 }