[Ravenwood] Mock UiAutomation to support permission APIs
On Ravenwood, since there are no "permissions", we can provide no-op implementations for adopt/drop shell permissions method families in UiAutomation. To prevent pulling in a lot of unnecessary internal dependencies of UiAutomation, we simply inject a mock UiAutomation in our Instrumentation class. Flag: EXEMPT host test change only Bug: 292141694 Test: atest RavenwoodBivalentTest Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh Change-Id: I8826a8c491efa5fc8d6cb10cf11c6dd677ad7f31
Loading
Please register or sign in to comment