From c508d03a943cf933fb853bc2e37cccf45d9dec23 Mon Sep 17 00:00:00 2001 From: Mohamad Ayyash Date: Mon, 25 Aug 2014 19:27:57 -0700 Subject: [PATCH] Set text color for the output log. In some devices the text color is the same as the background color. Change-Id: I215d381a427e3b3ed7e29d3078752d093318b53d --- .../src/com/android/frameworkperf/FrameworkPerfActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/FrameworkPerf/src/com/android/frameworkperf/FrameworkPerfActivity.java b/tests/FrameworkPerf/src/com/android/frameworkperf/FrameworkPerfActivity.java index 66337870feb16..78e360bdb8313 100644 --- a/tests/FrameworkPerf/src/com/android/frameworkperf/FrameworkPerfActivity.java +++ b/tests/FrameworkPerf/src/com/android/frameworkperf/FrameworkPerfActivity.java @@ -20,6 +20,7 @@ import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; +import android.graphics.Color; import android.os.Binder; import android.os.Bundle; import android.os.Handler; @@ -199,6 +200,7 @@ public class FrameworkPerfActivity extends Activity mLocalCheckBox = (CheckBox)findViewById(R.id.local); mLog = (TextView)findViewById(R.id.log); + mLog.setTextColor(Color.RED); PowerManager pm = (PowerManager)getSystemService(POWER_SERVICE); mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler");