Merge "[Rlog11] ResearchLogger printable code for research key"

main
Kurt Partridge 2012-12-20 11:40:18 -08:00 committed by Android (Google) Code Review
commit 4c2b6923c3
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ public final class Constants {
case CODE_UNSPECIFIED: return "unspec"; case CODE_UNSPECIFIED: return "unspec";
case CODE_TAB: return "tab"; case CODE_TAB: return "tab";
case CODE_ENTER: return "enter"; case CODE_ENTER: return "enter";
case CODE_RESEARCH: return "research";
default: default:
if (code < CODE_SPACE) return String.format("'\\u%02x'", code); if (code < CODE_SPACE) return String.format("'\\u%02x'", code);
if (code < 0x100) return String.format("'%c'", code); if (code < 0x100) return String.format("'%c'", code);