private TextView mPlayPauseDescriptionTextView;
private View mCloseButtonView;
private View mCloseDescriptionView;
- private boolean mMovePipToFullscreen;
+ private boolean mPipMovedToFullscreen;
private MediaController.Callback mMediaControllerCallback = new MediaController.Callback() {
@Override
@Override
public void onClick(View v) {
mPipManager.movePipToFullscreen();
- mMovePipToFullscreen = true;
+ mPipMovedToFullscreen = true;
finish();
}
});
}
private void restorePipAndFinish() {
- if (!mMovePipToFullscreen) {
+ if (!mPipMovedToFullscreen) {
mPipManager.resizePinnedStack(PipManager.STATE_PIP_OVERLAY);
}
finish();
@Override
public void finish() {
super.finish();
- if (mPipManager.isRecentsShown() && !mMovePipToFullscreen) {
+ if (mPipManager.isRecentsShown() && !mPipMovedToFullscreen) {
SystemUI[] services = ((SystemUIApplication) getApplication()).getServices();
for (int i = services.length - 1; i >= 0; i--) {
if (services[i] instanceof Recents) {