Why is Android Studio 3.0.0 setting FLAG_TEST_ONLY on APKs?
I have arrived at Android Studio 3.0.0 (from the stable channel) via 3.0.0-rcX (from the Canary channel). When I start a brand new app and build it, the following code (inside the app) shows that the FLAG_TEST_ONLY flag is set. Log.e(TAG, "ApplicationInfo: " + (getApplicationInfo().flags & ApplicationInfo.FLAG_TEST_ONLY)); 10-31 09:54:05.226 16129-16129/com.example.dummy E/MainActivity: ApplicationInfo: 256 The app's manifest is: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.dummy"> <application android