Files
Namkhai B 0982431663 [SQUASH] msm8998-common: Import Modified DeviceSettings based on YAAP
Squashed commits:

msm8998-common: Import DeviceSettings from YAAP

- Imported from
  23bd1ed82d

Co-Authored-By: Ido Ben-Hur <idoybh2@gmail.com>
Co-Authored-By: Anirudh Gupta <anirudhgupta109@gmail.com>
Co-Authored-By: Anirudh Gupta <anirudhgupta109@aosip.dev>
Co-Authored-By: David Sn <divad.nnamtdeis@gmail.com>
Co-Authored-By: NurKeinNeid <mralexman3000@gmail.com>
Co-Authored-By: Omkar Chandorkar <forumomkar@gmail.com>
Co-Authored-By: enesykaya <enesykaya@gmail.com>
Co-Authored-By: Adhitya Mohan <me@adhityamohan.in>
Co-Authored-By: Daniel Solomon <solomondaniel@google.com>
Co-Authored-By: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Co-Authored-By: LuK1337 <priv.luk@gmail.com>
Co-Authored-By: Luca Stefani <luca.stefani.ge1@gmail.com>
Co-Authored-By: Murtaza@Piplod <murtaza1926@gmail.com>
Co-Authored-By: Nauval Rizky <enuma.alrizky@gmail.com>
Co-Authored-By: Omkar Chandorkar <gotenksIN@aosip.dev>
Co-Authored-By: SKULSHADY <anushekprasal@gmail.com>
Co-Authored-By: ashwin4rc <ashwin2001achu@gmail.com>
Co-Authored-By: itsjoeoui <itsjoeoui@pixelexperience.org>
Co-Authored-By: maitreya29 <maitreyapatni30@gmail.com>
Co-Authored-By: maxwen <max.weninger@gmail.com>
Signed-off-by: Namkhai B <me@forkbomb9.ch>
[Edit to move the makefile prebuilt_etc to blueprint]
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>

msm8998-common: DeviceSettings: Make package name generic

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>

msm8998-common: Fix character case of display modes SRGB and DCI_P3

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>

msm8998-common: DeviceSettings: Rewrite KeyHandler to use UEvents

Inspired by LOS' hardware/oneplus/KeyHandler @ 3e33406

Signed-off-by: Namkhai B <me@forkbomb9.ch>

msm8998-common: DeviceSettings: Swap back and recent

Add switch to swap back and recent keys on OnePlus 5

itsjoeoui edit: adapt to aosip device settings

Change-Id: I108660a5d6ac44782ae87fed53a55671d8f6684f

msm8998-common: DeviceSettings: fix settings category

Co-Authored-By: lobo-1978 <wolf45734@gmail.com>
Signed-off-by: Namkhai B <me@forkbomb9.ch>

msm8998-common: DeviceSettings: Rework gesture...

behavior when device is locked

Squash of https://github.com/PixelExperience/packages_apps_TouchGestures

Co-authored-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
Co-authored-by: itsjoeoui <idkwhoiam@itsjoeoui.com>
Co-authored-by: trautamaki <timi.rautamaki@gmail.com>
Signed-off-by: Namkhai B <me@forkbomb9.ch>

msm8998-common: DeviceSettings: fix settings icon color

Signed-off-by: Namkhai B <me@forkbomb9.ch>

msm8998-common: DeviceSettings: Depend on lineage-sdk

Signed-off-by: Namkhai B <me@forkbomb9.ch>

msm8998-common: DeviceSettings: Lower default vibrator strength

Signed-off-by: Namkhai B <me@forkbomb9.ch>

msm8998-common: Improve DeviceSettings and refactor code

- Revert and remove HBMModeService, we will implement something
new kernel-side.
- Hide the entire button category if the phone is OP5T.
- Refactor code for uniformity throughout all ModeSwitch methods
and also in the main DeviceSettings preference create method.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>

msm8998-common: DeviceSettings: Make app persistent

This fixes the issue of the tri-state-key service dying.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>

msm8998-common: DeviceSettings: Cleanup if service gets destroyed

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>

msm8998-common: sepolicy: Add rules for button swap in touchpanel for system apps

Let selinux know that it's fine for DeviceSettings to touchpanel
dirs and files including button swap proc.

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>

msm8998-common: sepolicy: Fix DeviceSettings HBM for ROMs using LiveDisplay

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
2025-07-24 17:17:27 -04:00

56 lines
955 B
Plaintext

//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
// Init configuration files
prebuilt_etc {
name: "fstab.qcom",
src: "etc/fstab.qcom",
vendor: true,
ramdisk_available: true,
}
prebuilt_etc {
name: "init.target.displaymodes.rc",
src: "etc/init.target.displaymodes.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "init.qcom.usb.rc",
src: "etc/init.qcom.usb.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "init.qcom.rc",
src: "etc/init.qcom.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "ueventd.qcom.rc",
filename: "ueventd.rc",
src: "etc/ueventd.qcom.rc",
vendor: true,
}
// Init scripts
sh_binary {
name: "init.devstart.sh",
src: "bin/init.devstart.sh",
vendor: true,
}
sh_binary {
name: "init.radio.sh",
src: "bin/init.radio.sh",
vendor: true,
}