Rename flag IS_DOGFOOD to IS_STUDIO.

The flag is only set when building from Android Studio... and is never
used for dogfood.

Test: local
Change-Id: I898d585f4558c2437f0152ef102bea59c351f80b
This commit is contained in:
Zak Cohen committed 2020-02-14 14:19:59 -08:00
1 parent a7c931dd49
commit 3eeb41de9a
22 files changed
+38 -36

No files matched your search

+1 -1
View File
@@ -538,7 +538,7 @@ public class CellLayout extends ViewGroup implements Transposable {
try {
dispatchRestoreInstanceState(states);
} catch (IllegalArgumentException ex) {
if (FeatureFlags.IS_DOGFOOD_BUILD) {
if (FeatureFlags.IS_STUDIO_BUILD) {
throw ex;
}
// Mismatched viewId / viewType preventing restore. Skip restore on production builds.