Include containing window title in SurfaceView's title

Bug: 27135605
Change-Id: I6fa4e84cb95ed6c445d00c89d93a5befbd0197b6
This commit is contained in:
John Reck
2016-02-11 12:19:25 -08:00
parent 186b54397a
commit afeea9ba50

View File

@@ -224,7 +224,7 @@ public class SurfaceView extends View {
mParent.requestTransparentRegion(this);
mSession = getWindowSession();
mLayout.token = getWindowToken();
mLayout.setTitle("SurfaceView");
mLayout.setTitle("SurfaceView - " + getViewRootImpl().getTitle());
mViewVisibility = getVisibility() == VISIBLE;
if (!mGlobalListenersAdded) {