mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
54d00be851
* My attempt at fixing in call gain control on MediaTek devices. * It attempts to replicate what the stock MediaTek framework does when controlling the volume of the earpiece speaker, since MTK's audio HAL is not able to set the gain of the speaker from the values sent by AOSP framework. [LinkBoi00] Rebrand to Mediatek In-Call Service Change-Id: I43f727f6fb73a0d38457a41a8361653d1d00e220 Signed-off-by: LinkBoi00 <linkdevel@protonmail.com> Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
32 lines
854 B
Plaintext
32 lines
854 B
Plaintext
/*
|
|
* Copyright (C) 2022 bengris32
|
|
* Copyright (C) 2022 LineageOS
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
android_app {
|
|
name: "MtkInCallService",
|
|
|
|
srcs: ["src/**/*.java"],
|
|
resource_dirs: ["res"],
|
|
|
|
certificate: "platform",
|
|
platform_apis: true,
|
|
privileged: true,
|
|
|
|
optimize: {
|
|
enabled: false,
|
|
}
|
|
}
|