Update to new method to check if app supports picture-in-picture.

- With change ag/1705896, we are no longer using resizeMode to
  check for picture-in-picture support.

Bug: 34256643
Test: make -j40 RunSettingsRoboTests
Change-Id: Iea0c6e76db52d994295922580f14bb0cb0d65451
This commit is contained in:
Winson Chung
2017-01-24 10:50:24 -08:00
parent 2a7c6bd840
commit 49d1448cc4
4 changed files with 11 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ public class ActivityInfoWrapperImpl implements ActivityInfoWrapper {
}
@Override
public int getResizeMode() {
return mInfo.resizeMode;
public boolean supportsPictureInPicture() {
return mInfo.supportsPictureInPicture();
}
}