Merge "vendor: add dpi for xxxhdpi devices and push up other due...." into lp5.0
diff --git a/prebuilt/common/bootanimation/1080.zip b/prebuilt/common/bootanimation/1080.zip
index 88202ce..b5d2470 100644
--- a/prebuilt/common/bootanimation/1080.zip
+++ b/prebuilt/common/bootanimation/1080.zip
Binary files differ
diff --git a/prebuilt/common/bootanimation/1200.zip b/prebuilt/common/bootanimation/1200.zip
index 3062e38..c7ca002 100644
--- a/prebuilt/common/bootanimation/1200.zip
+++ b/prebuilt/common/bootanimation/1200.zip
Binary files differ
diff --git a/prebuilt/common/bootanimation/1600.zip b/prebuilt/common/bootanimation/1600.zip
index 1f57c2c..6007835 100644
--- a/prebuilt/common/bootanimation/1600.zip
+++ b/prebuilt/common/bootanimation/1600.zip
Binary files differ
diff --git a/prebuilt/common/bootanimation/480.zip b/prebuilt/common/bootanimation/480.zip
index 85d0f5a..1f066e2 100644
--- a/prebuilt/common/bootanimation/480.zip
+++ b/prebuilt/common/bootanimation/480.zip
Binary files differ
diff --git a/prebuilt/common/bootanimation/600.zip b/prebuilt/common/bootanimation/600.zip
index 863f153..b397945 100644
--- a/prebuilt/common/bootanimation/600.zip
+++ b/prebuilt/common/bootanimation/600.zip
Binary files differ
diff --git a/prebuilt/common/bootanimation/720.zip b/prebuilt/common/bootanimation/720.zip
index 83a0fcf..760c80e 100644
--- a/prebuilt/common/bootanimation/720.zip
+++ b/prebuilt/common/bootanimation/720.zip
Binary files differ
diff --git a/prebuilt/common/bootanimation/800.zip b/prebuilt/common/bootanimation/800.zip
index d9df0ed..23d495c 100644
--- a/prebuilt/common/bootanimation/800.zip
+++ b/prebuilt/common/bootanimation/800.zip
Binary files differ
diff --git a/sepolicy/su.te b/sepolicy/su.te
index 76e4176..6b4b631 100644
--- a/sepolicy/su.te
+++ b/sepolicy/su.te
@@ -46,8 +46,9 @@
 userdebug_or_eng(`
   typealias shell alias suclient;
 
-  # Translate user apps to the shell domain when using su
+  # Translate user and platform apps to the shell domain when using su
   domain_auto_trans(untrusted_app, su_exec, suclient)
+  domain_auto_trans(platform_app, su_exec, suclient)
 
   allow suclient sudaemon:unix_stream_socket { connectto read write setopt ioctl };
 
@@ -58,4 +59,16 @@
   allow system_app superuser_device:sock_file { read write create setattr unlink getattr };
   allow system_app sudaemon:unix_stream_socket { connectto read write setopt ioctl };
   allow system_app superuser_device:dir { create rw_dir_perms setattr unlink };
+
+  ## From external/sepolicy/domain.te adjusted from sudaemon
+  # Same as adbd rules above, except allow su to do the same thing
+  allow domain sudaemon:unix_stream_socket connectto;
+  allow domain sudaemon:fd use;
+  allow domain sudaemon:unix_stream_socket { getattr getopt read write shutdown };
+  binder_call(domain, sudaemon)
+  # Running something like "pm dump com.android.bluetooth" requires
+  # fifo writes
+  allow domain sudaemon:fifo_file { write getattr };
+  # allow "gdbserver --attach" to work for su.
+  allow domain sudaemon:process sigchld;
 ')
diff --git a/vendorsetup.sh b/vendorsetup.sh
index d293f58..8f7b6a7 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -6,6 +6,10 @@
 add_lunch_combo slim_d801-userdebug
 add_lunch_combo slim_d802-userdebug
 add_lunch_combo slim_d803-userdebug
+add_lunch_combo slim_d850-userdebug
+add_lunch_combo slim_d851-userdebug
+add_lunch_combo slim_d852-userdebug
+add_lunch_combo slim_d855-userdebug
 add_lunch_combo slim_deb-userdebug
 add_lunch_combo slim_endeavoru-userdebug
 add_lunch_combo slim_falcon-userdebug
@@ -36,6 +40,7 @@
 add_lunch_combo slim_jfltevzw-userdebug
 add_lunch_combo slim_jfltexx-userdebug
 add_lunch_combo slim_ls980-userdebug
+add_lunch_combo slim_ls990-userdebug
 add_lunch_combo slim_m7-userdebug
 add_lunch_combo slim_m7spr-userdebug
 add_lunch_combo slim_m7vzw-userdebug
@@ -69,4 +74,5 @@
 add_lunch_combo slim_toroplus-userdebug
 add_lunch_combo slim_v500-userdebug
 add_lunch_combo slim_vs980-userdebug
+add_lunch_combo slim_vs985-userdebug
 add_lunch_combo slim_yuga-userdebug