Initial Upload

This commit is contained in:
Chaitanyakm 2023-05-27 19:10:57 +05:30 committed by GitHub
commit f4c99a1817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 56 additions and 0 deletions

25
README.md Normal file
View File

@ -0,0 +1,25 @@
## Add In Rom
Add This Line In device.mk
$(call inherit-product, vendor/bcr/bcr.mk)
## Features
* Supports Android 9 through 13
* Supports output in various formats:
* OGG/Opus - Lossy, smallest files, default on Android 10+
* M4A/AAC - Lossy, smaller files, default on Android 9
* FLAC - Lossless, larger files
* WAV/PCM - Lossless, largest files, least CPU usage
* Supports Android's Storage Access Framework (can record to SD cards, USB devices, etc.)
* Per-contact auto-record rules
* Quick settings toggle
* Material You dynamic theming
* No persistent notification unless a recording is in progress
* No network access permission
* Works with call screening on Pixel devices (records the caller, but not the automated system)
## Credits
Thanks to [chenxiaolong](https://github.com/chenxiaolong) For Base Repo And [StudioKeys](https://github.com/StudioKeys) For Helping Me

5
bcr.mk Normal file
View File

@ -0,0 +1,5 @@
LOCAL_PATH := $(call my-dir)
include $(call all-subdir-makefiles,$(LOCAL_PATH))
# Include prebuilts packages
include vendor/bcr/prebuilts/prebuilts.mk

6
prebuilts/prebuilts.mk Normal file
View File

@ -0,0 +1,6 @@
# Copy permission files
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/bcr/prebuilts/product/etc/permissions,$(TARGET_COPY_OUT_PRODUCT)/etc/permissions)
# Build apps
PRODUCT_PACKAGES += \
bcr

View File

@ -0,0 +1 @@
include $(call all-subdir-makefiles,$(LOCAL_PATH))

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.chiller3.bcr">
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE" />
</privapp-permissions>
</permissions>

View File

@ -0,0 +1 @@
include $(call all-subdir-makefiles,$(LOCAL_PATH))

View File

@ -0,0 +1,11 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := bcr
LOCAL_SRC_FILES := bcr.apk
LOCAL_PRODUCT_MODULE := true
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_PRIVILEGED_MODULE := true
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
include $(BUILD_PREBUILT)

Binary file not shown.