summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-08-20 15:21:05 -0700
committerRoman Birg <roman@cyngn.com>2015-08-20 15:23:06 -0700
commitfc903f8ddc24f2be3ecdded05e258e71db1f4b3f (patch)
treeb029dc766fa6c1f771ae1df0354a87e42935c720
parent4eeed27ea04e14ef0f06153a4bdc024d0cad7d80 (diff)
downloadandroid_packages_apps_Profiles-fc903f8ddc24f2be3ecdded05e258e71db1f4b3f.tar.gz
android_packages_apps_Profiles-fc903f8ddc24f2be3ecdded05e258e71db1f4b3f.tar.bz2
android_packages_apps_Profiles-fc903f8ddc24f2be3ecdded05e258e71db1f4b3f.zip
ProfileTrustAgent: remove onStart override
Let the super classes handle our state, no need to overrride onStartCommand explicitly. Change-Id: Id67ad43344442349bdee532edf9ab66d5fd81d29 Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r--src/org/cyanogenmod/profiles/ProfilesTrustAgent.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/org/cyanogenmod/profiles/ProfilesTrustAgent.java b/src/org/cyanogenmod/profiles/ProfilesTrustAgent.java
index be2cd67..c9f380d 100644
--- a/src/org/cyanogenmod/profiles/ProfilesTrustAgent.java
+++ b/src/org/cyanogenmod/profiles/ProfilesTrustAgent.java
@@ -85,11 +85,6 @@ public class ProfilesTrustAgent extends TrustAgentService {
mHandler.sendEmptyMessage(MSG_UPDATE_STATE);
}
- @Override
- public int onStartCommand(Intent intent, int flags, int startId) {
- return START_STICKY;
- }
-
private void handleApplyCurrentProfileState() {
final DevicePolicyManager devicePolicyManager =
(DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);