Add android.permission.MODIFY_DAY_NIGHT_MODE for com.android.systemui.
Introduced in styles api change.
Change-Id: Ic864da8eb01faa270bae22cabaddcb9458c8a6c6
PRODUCT_SYSTEM_DEFAULT_PROPERTIES can now be used to define system default
properties which should be installed in system partition.
Those props are stored in /system/etc/prop.default.
Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b
* We no longer need to build the mount.exfat tool because
only kernel implementations will be supported from now on.
Change-Id: Ic7e1354e6ead6a96a9d6021de8dac4cfdabcbbce
For Treble enabled devices, PRODUCT_PROPERTY_OVERRIDES puts props
added with that in /vendor/build.prop. While that's great for
device-specific properties, these are global Lineage properties
which are descriptive of the system side, so move them to the list
that gets populated into /system/build.prop.
Change-Id: I8bb3d0fe13188478d4f7dedc306740a40f44a3e8
* Starting with Oreo, all the apps that target O+ are always subject to
background restrictions (android/platform_frameworks_base@42a386b7717300bf6d75cbd3b4f7ad00f294be0d).
The manifest-registered receivers of apps with a targetSdkVersion
higher than 25 won't receive the broadcast. Instead, a message similar
to the following will appear in LogCat:
10-07 14:13:49.594 719 736 W BroadcastQueue: Background execution not allowed: receiving Intent { act=lineageos.intent.action.LID_STATE_CHANGED flg=0x20000010 (has extras) } to org.lineageos.flipflap/.EventReceiver
* Exempt some of our broadcast actions so that we can keep targetting
the latest SDK.
Change-Id: I075608e18994f64db5e89658757dca307f07c417
*) Put Lineage rc files in /system/etc/init instead of /init.lineage.rc
*) Split into function specific files (vibrator-specific stuff moved to
our custom vibrator HAL service)
Change-Id: I1d00950253fbf7fdd7a4b7bd52adbed971923575
When WITH_TWRP=true is set:
* Set recovery variant to TWRP, it should be synced
under bootable/recovery-twrp in Lineage
* Exclude SuperSU, we have our own su solution
Change-Id: I5e5e6f2b42282c4666cdc013405a1488a9c6341d
Considering sensitive phone numbers to be, hotlines dealing with
violence against women.
In the EU, these numbers do not show up in the phone bill.
In order to avoid these phone numbers to be listed in the Call Log, we
have implemented a new XML file which is parsed with phone numbers
from different countries to be filtered. This file needs to be copied to
device via desired Android.mk file in order to be able to process it.
The comparison is made checking the network MCC the SIM is connected to
in order to consider roaming and multisim scenarios.
Test: CallLogManagerTest.testDontLogCallsToSensitivePhoneNumber PASS
Change-Id: I2e78d0f3e13d1ad1298613651ece136e30b86dfe
Signed-off-by: Olaia Segovia <olaia.segovia@bq.com>
* Aosp browser is really old and insecure, remove it
* Jelly is a simple webview-based browser, so it relies on installed webview,
which makes it secure as long as webview is updated
* Gello is still alive, it overrides Jelly instead of Browser target
Change-Id: Idd1dbe37879e1c1d466b93f5e754f1108f4dcfa6
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
This is required for all ATV builds. SUW will crash looking up the
wifi activity is it isn't installed.
Change-Id: Iccc982f46963024c065ac0b7c578ad60eb4d7d7a
* This is wasting space and is totally unused
Change-Id: I85115e979f4ff593df9a0c3a3ceb104b55bafe06
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
Until CMFileManager is revamped or a suitable replacement is written, do
not include it in general builds. Basic storage activities can still be
completed with Android's built-in storage management:
1) Use the Downloads launcher
2) Settings > Storage (select volume) > Explore
Change-Id: Ic9c4eb2d0347332c4631d55c480b87cbc131116c
* remove aosp soundrecorder and cm screencast
* add only on full builds
Change-Id: I68f7c62d2f78ce3d34e3ecaa554544d11fd7cc92
Signed-off-by: Joey Rizzoli <joey@lineageos.it>
All usages of ro.com.android.dataroaming default to false.
The rest of the props are no longer used.
Change-Id: I2320e82a1859f8c13f3430a43aa8714186158ee0
(cherry picked from commit 76b66c1ab812e6e4749bec53e03bfc5084c38257)
- We plan on distributing an addon for our SU
- Developers that want SU by default can export
WITH_SU=true to their env
- This helps with application compatibility for
various services, while maintaining user flexibility
Change-Id: I6d52159676f805c3698ff59c896d943a3a4b25db
This property is already defaulted to 0 in the code.
The su_daemon is also disabled by default.
Thus, for all intents and purposes, root access is
already being disabled by default.
Change-Id: I1241689c0d3253aa2e44835c55839f24b3b74341
We no longer sync Launcher3. This entry never did anything anyway,
since we build Trebuchet instead, which overrides Launcher3.
Change-Id: Ia2c56c9f819025ba34cbff1daf8d3380a924a8a5
Trusted Face depends on libprotobuf-cpp-full.
Some devices already ship it (eg RIL needs it).
Include it here to build it for every device.
Link to OpenGapps issue:
https://github.com/opengapps/opengapps/issues/390
Change-Id: Iffee0aa6218dfef45f5cd728a999fa1114c0dd57
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
The servers do not have ImageMagick installed right now,
breaking the automated builds.
Revert this for now.
This reverts the following commits:
840e781408 bootanim: Use a for loop to make part# folders
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
6179d9494f cm: Build bootanimation.zip
67ddf37281 cm: Rework boot animation generation
Change-Id: I63fc43da9b1a6afea5f791e879f0bfc9a385d98d
* In init.rc, this prop will be used to set DOWNLOAD_CACHE
* If a device specifies having a dedicated /cache partition, by setting
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE, use it!
* Default to /data/cache per AOSP
Change-Id: I838672ca4638c9665333c1a67257fc435f33f388
This was used for the HCE implementation by SimplyTapp in CM 9 - 10.2.
Since then, Android has an HCE implementation and this is no longer used.
Change-Id: Icd9db39829c1863c4962aab53959ad527da28bcd
RomManager hasn't been properly updated in years.
Is this still even a reliable ROM updater anymore?
Change-Id: I3ea57ec0121e6d6f933dd80031bb53514a44e362
* Honestly, I have no idea why this works. Or, to put it more
precisely, why it works without this on _some_ devices and not
others. All of a sudden?
* Without this patch I'm getting:
/opt/out/14.1/build-cm_d2vzw-clobber.ninja is missing, regenerating...
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
make: *** [build/core/ninja.mk:167: /opt/out/14.1/build-cm_d2vzw-clobber.ninja] Aborted (core dumped)
#### make failed to build some targets (5 seconds) ####
Change-Id: I4bf43868bf7dfe13df57151ae3597246164cbebc
TeleService (com.android.phone), which is built on all devices,
also has dependencies on telephony-ext. As telephony-ext is
currently absent on non-telephony devices (most tablets),
FCs are rampant on these devices.
Build telephony-ext for all device configurations to fix
the dependencies.
Change-Id: I4094ace3764d9f41ed28fbb62067ad2b2228c3a7
In Nougat, CAF removed Helium as it is a duplicate of Hassium.
Switch back to choosing Hassium as the default alarm tone.
This essentially reverts commit 2b999181c8.
Change-Id: I62ff1565c76fddf2f744c26c44f30e940cf25b7b
Include the telephony-ext jar library in PRODUCT_PACKAGES
and in boot jar path.
The telephony-ext jar is needed for MSIM manual provisioning
and other telephony related functionalities to work.
Change-Id: I049ec39e88ec734e3770a9439d4c7ba8949b4357
* Move extra tools to common.mk. These are needed for CMFM, and should
be included for all.
* Move PhotoTable, LiveWallpapersPicker, SoundRecorder and Screencast
to common.mk. These apps are extremely small, and only takes up
less than 1 MB combined.
* Remove obsolete live wallpapers.
* Move sound property overrides to common.mk. There's no need
to have them spread across several files.
* Include CM audio files from common.mk
Change-Id: If308506cd9cd0a75014de988c242d700db5d16f3
* The maintenance version should not be set optionally
to its official value status, but only be used when needed
* Use the TARGET_VENDOR_SHOW_MAINTENANCE_VERSION := true
introduced in I77c924a13122c8e1d9af14501e46bc532f7aefbd
to show the value of the maintenance version in releases,
with an intermediary CM_VERSION_MAINTENANCE variable
Change-Id: I22b944a1d2d8586e5f3c75e19ca1c53aa3b22b59
* Moving this to open-source from CyanogenOS :)
* Thanks to Chao Chen, Ethan Chen, Pat Erley, Scott Mertz,
and Keith Mok for various contributions to this.
Change-Id: If79f9c279668d14ee0cde62889bb09e7185ef08c
CyanogenMod builds shouldn't show maintenance versions. Allow the
environment to override this behavior instead
Change-Id: I77c924a13122c8e1d9af14501e46bc532f7aefbd
As of f/b 9b8c6d2df35455ce9e67907edded1e4a2ecb9e28
we need to whitelist who can be backup services.
Change-Id: I52a004924e6d2651c5ecdec51a8c5a80bdd54a38
This allows projects to opt out for space limited devices.
Also create a common_mini.mk and populate it with common stuff from
the common_mini_*.mk files.
Change-Id: I7d7dee73b70f97a778353ca136434a6e36edaf7e
* backuptool.sh and its dependencies are to be used
on devices without the flags being checked, not with
Change-Id: Ia2e1e32c4878f52a0a781e64583a95b32f8d3611
Introduce the weather system feature, which will be used to
identify if the Weather Content Provider/Weather services are
available in the device.
Add SELinux entries for the cmweather service
Change-Id: Ibe862903095276f87f23c0d7dae54733eeeb5638
The priority order for overlays is PRODUCT > DEVICE > LOCAL
Having PRODUCT here was overriding all of the DEVICE_ specifics
mentioned in device repositories, which was not the intent.
vendor/cm is present as a set of sane defaults, but for the most
part these overlays are intended to be overridable by the device
if needed.
The logic is that PRODUCT_PACKAGE_OVERLAYS should be used by a
particular product while DEVICE_PACKAGE_OVERLAYS is used by
several products that share common device configs. Yeah, the naming
is counterintiuitive, but that's the implementation in
build/core/package_internal.mk
Partially addresses CYNGNOS-2229
Change-Id: Icfbc92593e37f3c00c3d26dd09e08d09267621ed
The default behavior is as if this setting is off. There's no need
to set it. Settings will now set it at boot if not configured.
This reverts commit e0e8c2772e.
OPO-490
Change-Id: I77963dfc9eea8ece25ed1b6b17bd2c6936ae69ee
These servers are being retired. Use C-Apps (Cyanogen Acct),
Android Device Manager, or one of the many other services
that are capable of performing these tasks.
Change-Id: Ifc20768f24d3a5f9a7510b98c5e7d563fc703382
* Lots of stuff in the wild actually uses wget, and Toybox doesn't
provide it. We already have Curl which does the same thing just
with some different arguments. This wrapper script can handle it.
Change-Id: Ic02da709fcd29808b96fabcd1ac4ddd9465f635f
Allow global disable of exFAT through environment variable
WITH_EXFAT. Maintain exFAT as enabled by default.
Change-Id: I85e8b14c51441fe52bd185be83880419ee831d5c
* Build new AOSP messaging app
* Remove no longer used WhisperPush/CMHome
* Messaging no longer depends on SoundRecorder
Change-Id: I202203449c97814972f1aad1af4d69afa1a61e7d