summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/drawable
diff options
context:
space:
mode:
authorDiogo Ferreira <defer@cyngn.com>2014-12-17 17:16:16 +0000
committerRoman Birg <roman@cyngn.com>2015-10-29 11:01:57 -0700
commit64b309fa0c681b9472b5491e8de03fcc7fc9f726 (patch)
treebdadbc66837b3db32bb377be97f5be3085b5716e /packages/SystemUI/res/drawable
parentab14ea87e7a16271104f37b751affb7b115af5a4 (diff)
downloadframeworks_base-64b309fa0c681b9472b5491e8de03fcc7fc9f726.zip
frameworks_base-64b309fa0c681b9472b5491e8de03fcc7fc9f726.tar.gz
frameworks_base-64b309fa0c681b9472b5491e8de03fcc7fc9f726.tar.bz2
su: Add an indicator when a 'su' session is active
This adds an indicator to the statusbar that is visible whenever a root session is active, akin to the fine location icon. Change-Id: I669fcc87e2b7a3201308170d7727ec5fb0e00e2b
Diffstat (limited to 'packages/SystemUI/res/drawable')
-rw-r--r--packages/SystemUI/res/drawable/stat_sys_su.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/stat_sys_su.xml b/packages/SystemUI/res/drawable/stat_sys_su.xml
new file mode 100644
index 0000000..e013c13
--- /dev/null
+++ b/packages/SystemUI/res/drawable/stat_sys_su.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+ android:insetLeft="2.5dp"
+ android:insetRight="2.5dp">
+ <vector
+ android:width="23dp"
+ android:height="18dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M12.49,15.934h-2.373L9.24,21H6.966l0.89-5.066H5.051v-2.089h3.163l0.63-3.584H5.977V8.148h3.238 l0.902-5.141h2.261l-0.902,5.141h2.373l0.914-5.141h2.261l-0.902,5.141h2.719v2.113h-3.089l-0.63,3.584h2.78v2.089h-3.139L13.874,21 H11.6L12.49,15.934Z M10.488,13.845h2.36l0.63-3.584h-2.373L10.488,13.845z" />
+ </vector>
+</inset>