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:
@@ -27,7 +27,7 @@ public class ActivityInfoWrapperImpl implements ActivityInfoWrapper {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getResizeMode() {
|
||||
return mInfo.resizeMode;
|
||||
public boolean supportsPictureInPicture() {
|
||||
return mInfo.supportsPictureInPicture();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user