summaryrefslogtreecommitdiffstats
path: root/tests/FrameworkPerf
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2014-08-25 19:27:57 -0700
committerMohamad Ayyash <mkayyash@google.com>2014-08-25 19:27:57 -0700
commitc508d03a943cf933fb853bc2e37cccf45d9dec23 (patch)
tree1fc3bf530ae380ef4500102de06d021ff2378e7e /tests/FrameworkPerf
parentc54a76cbcd1e4bc7f27de2010c1c1fd4ed6f845a (diff)
downloadframeworks_base-c508d03a943cf933fb853bc2e37cccf45d9dec23.zip
frameworks_base-c508d03a943cf933fb853bc2e37cccf45d9dec23.tar.gz
frameworks_base-c508d03a943cf933fb853bc2e37cccf45d9dec23.tar.bz2
Set text color for the output log.
In some devices the text color is the same as the background color. Change-Id: I215d381a427e3b3ed7e29d3078752d093318b53d
Diffstat (limited to 'tests/FrameworkPerf')
-rw-r--r--tests/FrameworkPerf/src/com/android/frameworkperf/FrameworkPerfActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/FrameworkPerf/src/com/android/frameworkperf/FrameworkPerfActivity.java b/tests/FrameworkPerf/src/com/android/frameworkperf/FrameworkPerfActivity.java
index 6633787..78e360b 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");