Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlay: Enable circle to search #62

Closed
wants to merge 50 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b50f353
build: Ship as crDroid based on LOS
neobuddy89 Sep 15, 2019
7521c94
crdroid: Drop custom adb drawable
DarkJoker360 Oct 11, 2021
3e2d9b1
Revert "overlay: Default to Seedvault backup transport"
neobuddy89 Apr 24, 2022
58d0cb8
apns: Update mobily APN for prepaid connection
neobuddy89 Jul 23, 2022
69a280f
charger: Switch from LineageOS Teal to crDroid Blue
neobuddy89 Oct 31, 2023
ad24b92
roomservice: get me some crDroid
gwolf2u Nov 2, 2023
30142fa
common: Allow OTA downgrade regardless build type
neobuddy89 Nov 25, 2023
17970e8
crdroid: Always disable app launch blur
neobuddy89 Aug 27, 2024
c6d2857
crdroid: Remove Trebuchet packages
neobuddy89 Mar 16, 2022
d97f71e
crdroid: Clean up wallpaper overlay
neobuddy89 Sep 1, 2022
280c3bc
crdroid: Moved bootanimation to addons
neobuddy89 Mar 16, 2022
856343d
crdroid: Remove packages moved to addons
neobuddy89 Oct 16, 2023
720d452
build: Override host metadata
kdrag0n Nov 12, 2021
6889f5b
crdroid: Enable ThinLTO cache
neobuddy89 Apr 2, 2024
7cf9d61
overlay: Set AOSP webview as fallback
neobuddy89 Sep 21, 2024
9ed470e
overlay: Allow new SystemUI clocks
Dyneteve Jun 13, 2023
e53ec28
overlay: Update clock plugin list
neobuddy89 Dec 13, 2023
26d21fa
device_config: Enable Cloned App
aswin7469 Nov 18, 2023
3f602ae
overlay: Settings: Show memory usage in app info
kdrag0n Oct 5, 2020
7603b86
overlay: Enable app-cloning feature in Settings
minaripenguin Oct 10, 2023
dedcb79
crdroid: Add preinstalled package list to stop auto cloning
RealJohnGalt Jan 2, 2024
1cf0524
crdroid: Update clone exemption list
neobuddy89 Jan 3, 2024
442a9e7
crdroid: Build BatteryStatsViewer
Uldiniad Oct 11, 2022
fe7492d
crdroid: Build OmniStyle
neobuddy89 Mar 9, 2024
3aa0256
soong: Add support to set vendor tag with client package name
xboxfanj Oct 17, 2023
7ea91b8
soong: Add CAMERA_NEEDS_CLIENT_INFO_LIB{_OPLUS}
Hikari-no-Tenshi Nov 9, 2021
0f9d508
crdroid: Build OmniJaws service
neobuddy89 Nov 26, 2023
169684f
crdroid: Build GameSpace
neobuddy89 Oct 27, 2023
7536778
overlay: Update SettingsProvider defaults
neobuddy89 Apr 24, 2022
1fc17ed
overlay: Offload WM shell to another thread
kdrag0n Oct 9, 2021
4ec9b41
overlay: Add OmniJaws to location extra packages
neobuddy89 Oct 17, 2022
91a7d76
overlay: Add SystemUI to location extra packages
neobuddy89 Oct 20, 2022
cae69d4
overlay: Add tethering to location exemption
neobuddy89 Nov 6, 2022
ae0d9e4
overlay: Add gms location history to extra location packages
neobuddy89 Aug 25, 2024
2661c4e
config: Optimize Launcher3 and Settings for speed
xNombre Jun 15, 2022
a6e0ebe
crdroid: Switch to AOSPA's face unlock implementation
ponces Nov 15, 2023
cffd9ed
crdroid: Adding an option to build DeviceAsWebcam
ShevT Aug 30, 2024
8b48aad
overlay: Update device configs global overrides
Dyneteve Apr 24, 2024
14237bc
overlay: Use google-sans for font config overlays
neobuddy89 Nov 27, 2023
14d6453
crdroid: Move face unlock biometric permission to system_ext
neobuddy89 Oct 28, 2024
ef366dd
crdroid: Generate OTA json at build time
gwolf2u Dec 26, 2019
d4a8d29
crdroid: Add changelog script
gwolf2u Sep 30, 2020
cf43ef8
crdroid: Execute changelog script once at a time
neobuddy89 Oct 18, 2024
39d865e
overlay: update configs for AiAi
ionutgherman Nov 5, 2024
9fafd49
createjson.sh: set proper url for cr11
gwolf2u Nov 17, 2024
9c37aa1
crdroid: Disable memtag for different processes
minaripenguin Aug 16, 2024
7177622
common: Inherit pixel-fw when available
neobuddy89 Nov 25, 2023
61a0389
crdroid: Build LMO Freeform app and sidebar
adithya2306 Sep 29, 2024
16132a6
crdroid: Include vendor/certification when available
neobuddy89 Dec 8, 2024
1e3cf86
overlay: Enable circle to search
idoybh Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions README.mkdn
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
LineageOS
crDroid Android
===========

Getting started
---------------

Please see the [LineageOS Wiki](https://wiki.lineageos.org/) for building instructions, by device.
Please see the [crDroid Project](https://github.com/crdroidandroid/android/blob/15.0/README.mkdn) for building instructions, by device.


Submitting patches
------------------
Patches are always welcome! Please submit your patches via LineageOS Gerrit!

Simply follow our guide on [how to submit patches](https://wiki.lineageos.org/submitting-patch-howto.html).

To view the status of your and others' patches, visit [LineageOS Gerrit Code Review](https://review.lineageos.org/).


Buildbot
--------

All supported devices are built weekly and periodically as changes are committed to ensure the source trees remain buildable.

You can view the current build statuses at [LineageOS Buildkite](https://buildkite.com/lineageos).

Builds produced weekly by the buildbot can be downloaded from [LineageOS downloads](https://download.lineageos.org/).
Patches are always welcome! Please submit your patches via pull request.
63 changes: 0 additions & 63 deletions bootanimation/Android.mk

This file was deleted.

17 changes: 0 additions & 17 deletions bootanimation/CleanSpec.mk

This file was deleted.

Binary file removed bootanimation/bootanimation.tar
Binary file not shown.
3 changes: 0 additions & 3 deletions bootanimation/desc.txt

This file was deleted.

6 changes: 6 additions & 0 deletions build/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -907,3 +907,9 @@ function fixup_common_out_dir() {
mkdir -p ${common_out_dir}
fi
}

export USE_THINLTO_CACHE=true

# Override host metadata to make builds more reproducible and avoid leaking info
export BUILD_USERNAME=nobody
export BUILD_HOSTNAME=android-build
59 changes: 59 additions & 0 deletions build/soong/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,48 @@ cc_library_headers {
}

// Target platform agnostic config modules
soong_config_module_type {
name: "camera_needs_client_info_lib",
module_type: "cc_defaults",
config_namespace: "lineageGlobalVars",
bool_variables: ["camera_needs_client_info_lib"],
properties: [
"cppflags",
"shared_libs",
],
}

camera_needs_client_info_lib {
name: "camera_needs_client_info_lib_defaults",
soong_config_variables: {
camera_needs_client_info_lib: {
cppflags: ["-DCAMERA_NEEDS_CLIENT_INFO_LIB"],
shared_libs: ["//hardware/oneplus:[email protected]"],
},
},
}

soong_config_module_type {
name: "camera_needs_client_info_lib_oplus",
module_type: "cc_defaults",
config_namespace: "lineageGlobalVars",
bool_variables: ["camera_needs_client_info_lib_oplus"],
properties: [
"cppflags",
"shared_libs",
],
}

camera_needs_client_info_lib_oplus {
name: "camera_needs_client_info_lib_oplus_defaults",
soong_config_variables: {
camera_needs_client_info_lib_oplus: {
cppflags: ["-DCAMERA_NEEDS_CLIENT_INFO_LIB_OPLUS"],
shared_libs: ["[email protected]"],
},
},
}

soong_config_module_type {
name: "camera_override_format_from_reserved",
module_type: "cc_defaults",
Expand Down Expand Up @@ -268,6 +310,23 @@ egl_display_array {
},
}

soong_config_module_type {
name: "target_camera_package_name",
module_type: "cc_defaults",
config_namespace: "lineageGlobalVars",
value_variables: ["target_camera_package_name"],
properties: ["cppflags"],
}

target_camera_package_name {
name: "camera_package_name_defaults",
soong_config_variables: {
target_camera_package_name: {
cppflags: ["-DCAMERA_PACKAGE_NAME=\"%s\""],
},
},
}

soong_config_module_type {
name: "health_charging_control",
module_type: "cc_defaults",
Expand Down
6 changes: 4 additions & 2 deletions build/tasks/bacon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
# -----------------------------------------------------------------
# Lineage OTA update package

LINEAGE_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(LINEAGE_VERSION).zip
LINEAGE_TARGET_PACKAGE := $(PRODUCT_OUT)/$(LINEAGE_VERSION).zip

SHA256 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/sha256sum

$(LINEAGE_TARGET_PACKAGE): $(INTERNAL_OTA_PACKAGE_TARGET)
$(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(LINEAGE_TARGET_PACKAGE)
$(hide) mv -f $(INTERNAL_OTA_PACKAGE_TARGET) $(LINEAGE_TARGET_PACKAGE)
$(hide) $(SHA256) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).sha256sum
$(hide) ./vendor/lineage/build/tools/createjson.sh $(TARGET_DEVICE) $(PRODUCT_OUT) $(LINEAGE_VERSION).zip
$(hide) rm -rf $(call intermediates-dir-for,PACKAGING,target_files)
@echo "Package Complete: $(LINEAGE_TARGET_PACKAGE)" >&2

.PHONY: bacon
Expand Down
81 changes: 81 additions & 0 deletions build/tools/changelog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
#!/bin/bash
#
# Copyright (C) 2017-2024 crDroid Android 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.
#

Changelog=Changelog.txt

DEVICE=$1

# Lock file to ensure only one instance runs at a time
LOCKFILE=/tmp/changelog_${DEVICE}_lock

# Acquire the lock or exit if already running
exec 9>"$LOCKFILE"
if ! flock -n 9; then
echo "Changelog generation is already running."
exit 0
fi

# Remove old changelog if it exists
[ -f "$Changelog" ] && rm -f "$Changelog"

# define changelog_days using 'export changelog_days=10'
# this can be done before intiate build environment (. build/envsetup.sh)
if [ -z $changelog_days ];then
changelog_days=10
else
if (($changelog_days > 30 )); then
echo "Changelog can not generated for more than 30 days. For how many days do you want to generate changelog again? (🕑 timeout 15 seconds - default to 10 days)"
read -r -t 15 changelog_days || changelog_days=10
fi
fi

REPO_LIST="$(cat .repo/project.list | sed '\?^vendor/crDroidOTA?d')"
for i in $(seq $changelog_days); do
After_Date=`date --date="$i days ago" +%m-%d-%Y`
k=$(expr $i - 1)
Until_Date=`date --date="$k days ago" +%m-%d-%Y`

# Line with after --- until was too long for a small ListView
echo '====================' >> $Changelog
echo " "$Until_Date >> $Changelog
echo '====================' >> $Changelog

# Cycle through all available repos
for repo_path in $REPO_LIST; do
# Find commits between 2 dates
GIT_LOG="$(git -C "$repo_path" log --oneline --after="$After_Date" --until="$Until_Date")"
[ -n "$GIT_LOG" ] && {
printf '\n * '; echo "$repo_path"
echo "$GIT_LOG"
} >> $Changelog
done
echo >> $Changelog
done

if [ -f "$Changelog" ]; then
if cp "$Changelog" "$OUT_DIR/target/product/$DEVICE/system/etc/"; then
mv "$Changelog" "$OUT_DIR/target/product/$DEVICE/${DEVICE}_changelog.txt" || echo "Failed to move changelog file to $OUT_DIR/target/product/$DEVICE/${DEVICE}_changelog.txt"
else
echo "Failed to copy changelog file to $OUT_DIR/target/product/$DEVICE/system/etc/"
fi
else
echo "Changelog file does not exist"
fi

# Release the lock
flock -u 9
rm -f $LOCKFILE
Loading