Handle the UnsupportedOperationException when register TaskOrganizer

With ag/10847461, register TaskOrganizer with unsupported windowing mode
would throw UnsupportedOperationException. This is a work around and in
long term, we should not initiate anything related to PiP if this
feature is not configured on the device at all.

Bug: 152401027
Test: hardcode picture-in-picture mode to be off
Change-Id: I7e3f8714a535b485f9bb770702abf44559a88386
2 files changed