Convert code in UninstallRepository from Java to Kotlin

This is the 2nd CL in a 2-part change from Java to Kotlin. This CL
changes java code to kotlin.

Bug: 182205982
Test: builds successfully
Change-Id: I36715971776be945f06a9ff222250c2b027dd918
1 file changed