summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Richard Uhler <ruhler@google.com> 2019-01-07 12:25:44 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-01-07 12:25:44 +0000
commit3359035da3b3fd503ac44e3d9153d2ee1b5191bb (patch)
tree25273d87ef3b26c135475f68c48e7c388ff654e3
parentb78a1f9f240bf0436a81f245c0cc5bbe148c71f1 (diff)
parent8f01151eae419471d4b27c955d38051594c6e988 (diff)
Merge "Don't disable RollbackManagerService when selinux is enforcing."
-rw-r--r--services/core/java/com/android/server/rollback/RollbackManagerService.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/services/core/java/com/android/server/rollback/RollbackManagerService.java b/services/core/java/com/android/server/rollback/RollbackManagerService.java
index 8c3f04f3b8a8..4b5e76497f62 100644
--- a/services/core/java/com/android/server/rollback/RollbackManagerService.java
+++ b/services/core/java/com/android/server/rollback/RollbackManagerService.java
@@ -17,8 +17,6 @@
package com.android.server.rollback;
import android.content.Context;
-import android.os.SELinux;
-import android.util.Log;
import com.android.server.SystemService;
@@ -30,8 +28,6 @@ import com.android.server.SystemService;
*/
public final class RollbackManagerService extends SystemService {
- private static final String TAG = "RollbackManager";
-
private RollbackManagerServiceImpl mService;
public RollbackManagerService(Context context) {
@@ -41,12 +37,6 @@ public final class RollbackManagerService extends SystemService {
@Override
public void onStart() {
mService = new RollbackManagerServiceImpl(getContext());
-
- // TODO: Set up sepolicy to allow publishing the service.
- if (SELinux.isSELinuxEnforced()) {
- Log.w(TAG, "RollbackManager disabled pending selinux policy updates");
- } else {
- publishBinderService(Context.ROLLBACK_SERVICE, mService);
- }
+ publishBinderService(Context.ROLLBACK_SERVICE, mService);
}
}