From e1ff7e88598b00f798f10f6e951133efa055d5e5 Mon Sep 17 00:00:00 2001
From: Alex Klyubin <klyubin@google.com>
Date: Fri, 20 Jan 2017 10:39:32 -0800
Subject: [PATCH] Sort hal_* declarations alphabetically

Test: No change to SELinux policy
Change-Id: I45d6d6ab0538b9d4768b922cfdc2c972272d0b18
---
 private/file_contexts | 4 ++--
 public/attributes     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/private/file_contexts b/private/file_contexts
index 16ecbf047..7ec8d22df 100644
--- a/private/file_contexts
+++ b/private/file_contexts
@@ -239,11 +239,11 @@
 /system/fake-lib(64)?/libart.*   u:object_r:libart_file:s0
 /system/lib(64)?/libart.*        u:object_r:libart_file:s0
 /system/bin/hw/android\.hardware\.audio@2\.0-service          u:object_r:hal_audio_default_exec:s0
+/system/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0
 /system/bin/hw/android\.hardware\.bluetooth@1\.0-service      u:object_r:hal_bluetooth_default_exec:s0
-/system/bin/hw/android\.hardware\.camera\.provider@2\.4-service          u:object_r:hal_camera_default_exec:s0
 /system/bin/hw/android\.hardware\.boot@1\.0-service           u:object_r:hal_boot_exec:s0
+/system/bin/hw/android\.hardware\.camera\.provider@2\.4-service          u:object_r:hal_camera_default_exec:s0
 /system/bin/hw/android\.hardware\.contexthub@1\.0-service     u:object_r:hal_contexthub_default_exec:s0
-/system/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0
 /system/bin/hw/android\.hardware\.dumpstate@1\.0-service      u:object_r:hal_dumpstate_default_exec:s0
 /system/bin/hw/android\.hardware\.gatekeeper@1\.0-service     u:object_r:hal_gatekeeper_default_exec:s0
 /system/bin/hw/android\.hardware\.gnss@1\.0-service           u:object_r:hal_gnss_default_exec:s0
diff --git a/public/attributes b/public/attributes
index aec85fb06..299532b36 100644
--- a/public/attributes
+++ b/public/attributes
@@ -121,6 +121,7 @@ attribute haldomain;
 attribute hal_audio;
 attribute hal_bluetooth;
 attribute hal_camera;
+attribute hal_contexthub;
 attribute hal_dumpstate;
 attribute hal_fingerprint;
 attribute hal_gatekeeper;
@@ -139,4 +140,3 @@ attribute hal_thermal;
 attribute hal_vibrator;
 attribute hal_vr;
 attribute hal_wifi;
-attribute hal_contexthub;
-- 
GitLab