OSDN Git Service

Link to SoftRestrictedPermissionPolicy twin
authorPhilip P. Moltmann <moltmann@google.com>
Thu, 30 May 2019 18:14:33 +0000 (11:14 -0700)
committerPhilip P. Moltmann <moltmann@google.com>
Mon, 3 Jun 2019 15:36:58 +0000 (08:36 -0700)
We cannot create an API for now, hence the code needs to be duplicated.
Make sure we find the twin-class.

Test: Built
Bug: 131188778
Change-Id: I1cf50f15fb63fd02d9c6a0f326c3a5cd90192d8c

services/core/java/com/android/server/policy/SoftRestrictedPermissionPolicy.java

index 127bf3c..e19b708 100644 (file)
@@ -38,6 +38,9 @@ import android.util.Log;
 /**
  * The behavior of soft restricted permissions is different for each permission. This class collects
  * the policies in one place.
+ *
+ * This is the twin of
+ * {@link com.android.packageinstaller.permission.utils.SoftRestrictedPermissionPolicy}
  */
 public abstract class SoftRestrictedPermissionPolicy {
     private static final String LOG_TAG = SoftRestrictedPermissionPolicy.class.getSimpleName();