The toolbar should set the theme to the app's theme. Because the service cannot get the application context, we should pass this information from application to service. Bug: 218833400 Test: manual. Use light/dark theme for app, the toolbar shows with the same theme Test: atest TextViewIntegrationTest Test: atest android.widget.TextViewActivityTest Change-Id: I6d4e4e117c680ce57e760a87987059eded09b2bc