The mViewMode variable is only used if there is no RemoteViews object. But we still want to update the colors in that case. Bug: 179783721 Test: atest CtsWidgetTestCases:android.widget.cts.RemoteViewsThemeColorsTest Change-Id: I078d21422a6300e7aaecb0baa2a49b9e14cae9e9