Commit 6dba35fa authored by Adam Lawson's avatar Adam Lawson
Browse files

nicky: Nuke camera helper

parent 22d02f00
Loading
Loading
Loading
Loading

camera_helper/Android.mk

deleted100644 → 0
+0 −21
Original line number Diff line number Diff line
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_PACKAGE_NAME := NickyCameraHelper
LOCAL_CERTIFICATE := platform
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_PRIVILEGED_MODULE := true

LOCAL_USE_AAPT2 := true

LOCAL_RESOURCE_DIR := \
    $(LOCAL_PATH)/res

LOCAL_PROGUARD_FLAG_FILES := proguard.flags

include $(BUILD_PACKAGE)

camera_helper/AndroidManifest.xml

deleted100644 → 0
+0 −34
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.lineageos.camerahelper"
    android:versionCode="1"
    android:versionName="1.0"
    android:sharedUserId="android.uid.system">

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

    <uses-sdk
        android:minSdkVersion="21"
        android:targetSdkVersion="21"/>

    <application
        android:label="NickyCameraHelper"
        android:persistent="true">

        <receiver android:name="org.lineageos.camerahelper.BootCompletedReceiver">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>

        <service android:name="org.lineageos.camerahelper.CameraMotorService"
                 android:permission="NickyCameraHelperService">
        </service>

        <service android:name="org.lineageos.camerahelper.FallSensorService"
                 android:permission="NickyCameraHelperService">
        </service>
    </application>
</manifest>

camera_helper/proguard.flags

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
-keep class org.lineageos.camerahelper.* {
  *;
}
+0 −27
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2019 The LineageOS 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.
-->
<resources>
    <string name="close">إغلاق</string>
    <string name="raise_the_camera">ارفع الكاميرا</string>
    <string name="retry">إعادة المحاولة</string>
    <string name="warning">تحذير</string>
    <string name="free_fall_detected_title">تم الكشف عن سقوط حر</string>
    <string name="free_fall_detected_message">تم خفض الكاميرا الأمامية من أجل حمايتها. هل ترغب في استخدام الكاميرا الأمامية مرة أخرى؟</string>
    <string name="motor_cannot_go_down_message">لا يمكن سحب الكاميرا الأمامية، يرجى التأكد من عدم وجود عوائق</string>
    <string name="motor_cannot_go_up_message">لا تستطيع الكاميرا الأمامية الظهور، يرجى التأكد من عدم وجود عوائق</string>
    <string name="motor_press_message">قد يؤدي الضغط على الكاميرا الأمامية إلى إتلاف المحرك. يرجى تجنب القيام بذلك.</string>
</resources>
+0 −27
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2019 The LineageOS 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.
-->
<resources>
    <string name="close">Zarrar</string>
    <string name="raise_the_camera">Xubir la cámara</string>
    <string name="retry">Retentar</string>
    <string name="warning">Alvertencia</string>
    <string name="free_fall_detected_title">Cayida llibre detectada</string>
    <string name="free_fall_detected_message">Guardóse la cámara d\'alantre pa protexela. ¿Quies volver usala?</string>
    <string name="motor_cannot_go_down_message">Nun se pue guardar la cámara d\'alantre, asegúrate de que nun ta torgada</string>
    <string name="motor_cannot_go_up_message">Nun se pue sacar la cámara d\'alantre, asegúrate de que nun ta torgada</string>
    <string name="motor_press_message">Primir na cámara d\'alantre pue dañar el so motor. Evita facelo.</string>
</resources>
Loading