[Catalyst] Update permission check API signature

NO_IFTTT=Catalyst only

Bug: 374115149
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: Ib13a5fddd517e3e260815b753b55c008e24d70d8
This commit is contained in:
Jacky Wang
2024-12-13 11:49:42 +08:00
parent da9f71257d
commit 821d320051
23 changed files with 152 additions and 74 deletions

View File

@@ -76,10 +76,10 @@ open class CallVolumePreference :
}
}
override fun getReadPermit(context: Context, myUid: Int, callingUid: Int) =
override fun getReadPermit(context: Context, callingPid: Int, callingUid: Int) =
ReadWritePermit.ALLOW
override fun getWritePermit(context: Context, value: Int?, myUid: Int, callingUid: Int) =
override fun getWritePermit(context: Context, value: Int?, callingPid: Int, callingUid: Int) =
ReadWritePermit.ALLOW
override val sensitivityLevel