Loading packages/SystemUI/Android.mk +1 −0 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src) LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src) LOCAL_STATIC_ANDROID_LIBRARIES := \ LOCAL_STATIC_ANDROID_LIBRARIES := \ SystemUIPluginLib \ Keyguard \ Keyguard \ android-support-v7-recyclerview \ android-support-v7-recyclerview \ android-support-v7-preference \ android-support-v7-preference \ Loading packages/SystemUI/AndroidManifest.xml +3 −0 Original line number Original line Diff line number Diff line Loading @@ -138,6 +138,9 @@ android:protectionLevel="signature" /> android:protectionLevel="signature" /> <uses-permission android:name="com.android.systemui.permission.SELF" /> <uses-permission android:name="com.android.systemui.permission.SELF" /> <permission android:name="com.android.systemui.permission.PLUGIN" android:protectionLevel="signature" /> <!-- Adding Quick Settings tiles --> <!-- Adding Quick Settings tiles --> <uses-permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE" /> <uses-permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE" /> Loading packages/SystemUI/plugin/Android.mk 0 → 100644 +29 −0 Original line number Original line Diff line number Diff line # Copyright (C) 2016 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_USE_AAPT2 := true LOCAL_MODULE_TAGS := optional LOCAL_MODULE := SystemUIPluginLib LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res LOCAL_JAR_EXCLUDE_FILES := none include $(BUILD_STATIC_JAVA_LIBRARY) packages/SystemUI/plugin/AndroidManifest.xml 0 → 100644 +24 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.systemui.plugins"> <uses-sdk android:minSdkVersion="21" /> </manifest> packages/SystemUI/plugin/ExamplePlugin/Android.mk 0 → 100644 +15 −0 Original line number Original line Diff line number Diff line LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_USE_AAPT2 := true LOCAL_PACKAGE_NAME := ExamplePlugin LOCAL_JAVA_LIBRARIES := SystemUIPluginLib LOCAL_CERTIFICATE := platform LOCAL_PROGUARD_ENABLED := disabled LOCAL_SRC_FILES := $(call all-java-files-under, src) include $(BUILD_PACKAGE) Loading
packages/SystemUI/Android.mk +1 −0 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src) LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src) LOCAL_STATIC_ANDROID_LIBRARIES := \ LOCAL_STATIC_ANDROID_LIBRARIES := \ SystemUIPluginLib \ Keyguard \ Keyguard \ android-support-v7-recyclerview \ android-support-v7-recyclerview \ android-support-v7-preference \ android-support-v7-preference \ Loading
packages/SystemUI/AndroidManifest.xml +3 −0 Original line number Original line Diff line number Diff line Loading @@ -138,6 +138,9 @@ android:protectionLevel="signature" /> android:protectionLevel="signature" /> <uses-permission android:name="com.android.systemui.permission.SELF" /> <uses-permission android:name="com.android.systemui.permission.SELF" /> <permission android:name="com.android.systemui.permission.PLUGIN" android:protectionLevel="signature" /> <!-- Adding Quick Settings tiles --> <!-- Adding Quick Settings tiles --> <uses-permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE" /> <uses-permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE" /> Loading
packages/SystemUI/plugin/Android.mk 0 → 100644 +29 −0 Original line number Original line Diff line number Diff line # Copyright (C) 2016 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_USE_AAPT2 := true LOCAL_MODULE_TAGS := optional LOCAL_MODULE := SystemUIPluginLib LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res LOCAL_JAR_EXCLUDE_FILES := none include $(BUILD_STATIC_JAVA_LIBRARY)
packages/SystemUI/plugin/AndroidManifest.xml 0 → 100644 +24 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.systemui.plugins"> <uses-sdk android:minSdkVersion="21" /> </manifest>
packages/SystemUI/plugin/ExamplePlugin/Android.mk 0 → 100644 +15 −0 Original line number Original line Diff line number Diff line LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_USE_AAPT2 := true LOCAL_PACKAGE_NAME := ExamplePlugin LOCAL_JAVA_LIBRARIES := SystemUIPluginLib LOCAL_CERTIFICATE := platform LOCAL_PROGUARD_ENABLED := disabled LOCAL_SRC_FILES := $(call all-java-files-under, src) include $(BUILD_PACKAGE)