OSDN Git Service

Synchronize critical sections in NonClientDecorView.ResizeFrameThread
authorWale Ogunwale <ogunwale@google.com>
Thu, 8 Oct 2015 17:09:28 +0000 (10:09 -0700)
committerWale Ogunwale <ogunwale@google.com>
Thu, 8 Oct 2015 19:44:53 +0000 (12:44 -0700)
commit25cd08ca15ad95af8d4a35841241867001368080
treea530a22e72231e51bff0610428e6ab8228ac25e5
parentdaa65215054681a44df08d454fc241a435e1b852
Synchronize critical sections in NonClientDecorView.ResizeFrameThread

Prevents multiple-threads from accessing/changing member variables at
the same time that can lead to the app crashing.

Also, setName on ResizeFrameThread so we can easily find it in systrace.

Bug: 24745288
Change-Id: Ic2fc7d661db5360c13314197c40e8b2315d2b7e5
core/java/com/android/internal/widget/NonClientDecorView.java