summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-07-16 16:21:24 -0700
committerchaviw <chaviw@google.com>2018-07-16 16:21:24 -0700
commit7138f343a135aecab3c99d8729ceb162dc87cad2 (patch)
treee3f0aa3d55142492f8652218c6b3a9a80fb8ff3d /tools
parent8d0926d3d3ed6e811a64d602b6765b481176bcdd (diff)
downloadandroid_development-7138f343a135aecab3c99d8729ceb162dc87cad2.tar.gz
android_development-7138f343a135aecab3c99d8729ceb162dc87cad2.tar.bz2
android_development-7138f343a135aecab3c99d8729ceb162dc87cad2.zip
Use windowFrames.frame instead of frame to draw the area.
The code is changed so the frame protobuf is now under another class called windowFrames. Update the js code so it can properly draw the frame with the new code change. Test: Ran on localhost with updated protobuf file Bug: 111359087 Change-Id: I072daae54601120de5b6eaa0a64ee7c3096e4a43
Diffstat (limited to 'tools')
-rw-r--r--tools/winscope/src/transform_wm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/winscope/src/transform_wm.js b/tools/winscope/src/transform_wm.js
index f12e8ab18..f44c8ee51 100644
--- a/tools/winscope/src/transform_wm.js
+++ b/tools/winscope/src/transform_wm.js
@@ -31,7 +31,7 @@ function transform_window(entry) {
}
}
var name = renderIdentifier(entry.identifier)
- var rect = transform_rect(entry.frame, name);
+ var rect = transform_rect(entry.windowFrames.frame, name);
if (visible) {
chips.push(get_visible_chip());