Robert Snoeberger a6684f6713 Pick the primary color as the best color to use.
Previously, the best color was picked by checking the colors
against the blacklist. The logic was for picking the best color
was broken When the blacklist was removed for
b/124180048.

Fixes: b129762944
Test: New test points added to TonalTest.java
Change-Id: Ie51806735910bb40e5e66d7baf545ea213e4a01e
2019-04-02 15:15:38 -04:00

20 lines
490 B
Plaintext

android_test {
name: "InternalTests",
proto: {
type: "nano",
},
// Include some source files directly to be able to access package members
srcs: ["src/**/*.java"],
libs: ["android.test.runner"],
static_libs: [
"junit",
"androidx.test.rules",
"mockito-target-minus-junit4",
"truth-prebuilt",
],
java_resource_dirs: ["res"],
certificate: "platform",
platform_apis: true,
test_suites: ["device-tests"],
}