Change the theme to light for help activity.

Help activity is in gmscore, so we need to change the intent
theme parameter to light theme.

Bug: 34690364
Test: Manual - take a screenshot
Change-Id: I8fb71ab461d97d1461e017d3de8290ac19730897
This commit is contained in:
jackqdyulei
2017-01-26 12:52:08 -08:00
parent 04b926a68b
commit 6913496a5b

View File

@@ -198,7 +198,7 @@ public class HelpUtils {
intent.putExtra(feedbackIntentExtraKey, packageNameKey);
intent.putExtra(feedbackIntentNameKey, packageNameValue);
}
intent.putExtra(EXTRA_THEME, 1 /* Light, dark action bar */);
intent.putExtra(EXTRA_THEME, 0 /* Light theme */);
TypedArray array = context.obtainStyledAttributes(new int[]{android.R.attr.colorPrimary});
intent.putExtra(EXTRA_PRIMARY_COLOR, array.getColor(0, 0));
array.recycle();