Fix HostAction to use action type value instead of ordinal.
When creating CreationHostAction in HostAction.toRemoteAction(), type.ordinal was being passed instead of type.value. For Type.NONE, this caused type 4 (the enum ordinal) to be passed instead of -1(HostNamedActionOperation.NONE_TYPE). Also updated PendingIntentAction to reference Type.INT.value and defaulted HostAction.type to Type.NONE. Bug: 514612031 Test: ./gradlew :compose:remote:remote-creation-compose:testReleaseUnitTest Change-Id: Id4df87f1919b8cb5bc4c2e40a35826da765075e8
G
Gustavo Pagani committed
8c69c931e9eac3b944bb976d76910a1e9514f1bb
Parent: 39abdf8