Age | Commit message (Collapse) | Author |
|
Change-Id: I7b1f6cb9f690d5217c460203d514aa6043195159
|
|
This reverts commit 19a06005dd72c228f5c5f8e5294eef3d01df992f.
Change-Id: Iff9dd7f61b47a57076fad65b2816f6465a8dc98f
|
|
This adds the Fira Code, Inter, and Source Serif Pro fonts to replace
Cutive Mono/Droid Sans Mono, Roboto, and Noto Serif respectively. All of
their respective copyright notices and licenses have been added.
These fonts have been patched to use the same names as the fonts they
are replacing for maximum compatibility, as some apps (e.g. Firefox
Fenix) look for fonts by their TTF/OTF name rather than using Android's
fonts.xml definitions.
All of these fonts are licensed under the Open Font License (OFL).
Change-Id: I0c96d099ed4660a604fbc75392b489e54f221df6
|
|
Along with SimpleDeviceConfig and Settings updates, this allows users to
toggle location indiactors while still shipping it enabled by default.
Change-Id: Ibb5bb0abdd50198a85885123a54582cc3e43f6db
|
|
Change-Id: Iddefcfc2b7417eb64564ddec93c5b60926e81457
|
|
Change-Id: I117e0c9c94e4e5d26a982bde957229c6324f7621
|
|
Change-Id: I7aedf52b08548bd128ac424ef3a635e2b59bbbfe
|
|
Change-Id: Ifcb105e829924a8e7995ac78625e7c405d3f6221
|
|
Change-Id: I10ae572aeac855776a3ef1e735b4f42f021a48c2
|
|
Change-Id: I5ed5c55ec46c3bb5e91aeb88bd5f06bd4445c2f0
Signed-off-by: Jesse Chan <jc@lineageos.org>
|
|
Change-Id: I88540cb5bccb5ab91da41fd50219c46337ca9834
|
|
Created by the amazing Hampus Olsson.
Change-Id: I57bc86af62b7b798434b7c00ff75758fbc66453c
|
|
also squashed with the following changes:
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Sat Oct 9 15:49:50 2021 +0300
common: Remove unused updater policy
* Updater has its own SELinux domain
Change-Id: I9bfa8879e167ffe97a15839e8baa6407c4085232
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Fri Oct 8 17:47:20 2021 +0300
common: exported2_default_prop -> build_prop
Change-Id: I535b88b360d3bf6a4487086c15d90a2800667056
Author: Nolen Johnson <johnsonnolen@gmail.com>
Date: Fri Nov 13 16:28:58 2020 -0500
updater_app: Grant additional permissions
avc: denied { search } for name="recovery" dev="mmcblk0p53" ino=25601 scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:cache_recovery_file:s0 tclass=dir permissive=1 app=org.lineageos.updater
avc: denied { write } for name="recovery" dev="mmcblk0p53" ino=25601 scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:cache_recovery_file:s0 tclass=dir permissive=1 app=org.lineageos.updater
avc: denied { write open } for path="/cache/recovery/uncrypt_file" dev="mmcblk0p53" ino=25625 scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:cache_recovery_file:s0:c512,c768 tclass=file permissive=1 app=org.lineageos.updater
avc: denied { setattr } for name="uncrypt_file" dev="mmcblk0p53" ino=25625 scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:cache_recovery_file:s0:c512,c768 tclass=file permissive=1 app=org.lineageos.updater
avc: denied { find } for pid=18378 uid=10077 name=recovery scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:recovery_service:s0 tclass=service_manager permissive=1
avc: denied { search } for name="/" dev="mmcblk0p53" ino=2 scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:cache_file:s0 tclass=dir permissive=0 app=org.lineageos.updater
avc: denied { unlink } for name="uncrypt_file" dev="mmcblk0p53" ino=25625 scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:cache_recovery_file:s0 tclass=file permissive=1 app=org.lineageos.updater
avc: denied { create } for name="uncrypt_file" scontext=u:r:updater_app:s0:c512,c768 tcontext=u:object_r:cache_recovery_file:s0:c512,c768 tclass=file permissive=1 app=org.lineageos.updater
Change-Id: I55d9809be8d3782b33ec088f965ce1dd06401175
Author: Bruno Martins <bgcngm@gmail.com>
Date: Thu Nov 12 00:16:09 2020 +0000
Updater: Allow binder calls to gpu service
Change-Id: Id01a050c43b81b128dc262a542c4dd7b4b1c76f6
Author: Eamon Powell <eamonpowell@outlook.com>
Date: Wed Oct 7 00:18:42 2020 +1100
updater_app: Allow updater_app domain to access the network
When the Updater app was switched from the priv_app selinux domain
to its own domain it accidentally lost network permissions.
Change-Id: Ieafcf0ae8fb67b3eea6f652326fe232149e159d4
Author: LuK1337 <priv.luk@gmail.com>
Date: Tue Sep 29 12:49:21 2020 +0200
common: Switch Updater app to its own SELinux domain
Change-Id: If0ea1c3af9f75c312e02d63ce2c7d0ec051b4be3
Author: Dan Pasanen <dan.pasanen@gmail.com>
Date: Thu Feb 2 08:14:41 2017 -0600
sepolicy: add rules for updater and update_engine
* We need special exceptions for update_engine scripts because we
handle backuptool operations through it.
* priv_app needs to be able to make ota package dirs in order to
put the ota in the correct spot.
Change-Id: I42a421e4d84adde9514932a056c082d1cb3e09b4
Author: Dan Pasanen <dan.pasanen@gmail.com>
Date: Mon Feb 5 16:47:49 2018 -0600
common: add update_engine policies
Change-Id: I5d3a8b60b0f854d009af2b45d9ca23f484d5d2a1
Change-Id: If89f570a0d1277a980c02dd93917a73ac5a9b20c
|
|
Change-Id: Ieae8fc5080dc40d18f0f5953818fde424c54bf65
|
|
APEXs have quite a bit of overhead in updatable form: they are ext4
filesystems mounted using loopback block devices, stored on yet another
ext4 filesystem (system or vendor). They also increase boot time
substantially due to needing to set up and mount 27 images with AVB. On
a Pixel 2 XL, apexd-bootstrap took 485 ms during boot, and apexd took
471 ms for a total of 955 ms — nearly a second — spent on APEX setup,
which is quite significant for modern devices. At least 422 ms out of
that was spent blocking the rest of the system's initialization, but the
overall slowdown is likely greater due to increased system load.
Updatable APEXs likely also come with a non-negligible amount of memory
overhead due to setting up and mounting so many filesystem images, as
well as AVB and potential double-caching effects caused by having two
layers of filesystems in use.
Being able to update APEXs is useless for us anyway because we don't
use Google's prebuilt modules and we have no other way to deliver APEX
updates. Even if we were able to use Google's modules, we still want to
be able to modify many of the APEX modules, so we need to build them
from source.
Flattened APEXs have negligible overhead, since they're just stored as
directories in /<partition>/apex and bind-mounted to /apex/<pkg name>.
Change-Id: Ia42879d2643619da6706554cadde157668ff41c6
|
|
Change-Id: I864fc704ac6c40d0fd95880dea109be7976b3c9b
|
|
Google has provisioned this on the Pixel 5 (RQ1A.201205.010) to utilize
the 8 GB of RAM better, and I have also observed that a lightweight
selection of apps was hitting the cached app limit before exhausting RAM
on another device with 8 GB of RAM.
This shouldn't cause adverse effects on devices with less RAM (e.g. 4
GB) as the low memory killer should kick in long before this limit on
such devices.
Change-Id: I9bc91c6b381942751fa22f9154a7aab735bada9c
|
|
Extracted from the Pixel 2 XL's RP1A.200720.009 stock ROM.
Change-Id: Id5f7d48eb615fb578ef45587983718b4dedf41cf
|
|
Change-Id: I1a92035f67c7fec32d3d003679119d89a8c8406d
|
|
Change-Id: I01062754365758fd5713dd7bff93b19d227b7891
|
|
Use ThemePicker (incl. WallpaperPicker2), like everything else.
Change-Id: If2916489c78f190cdd532e5fc4f11d0e65cde355
|
|
With dynamic Monet themes, most of the UI has at least a small amount
of color (chroma), so pure white stands out as the sole outlier (e.g.
Settings search bar in light mode). Use the 99% lightness shade instead
to improve consistency.
Change-Id: I0e6a99e68891f5efef1c13d492d75497175e4d97
|
|
* It's not behaving properly and I don't feel like fixing it.
Change-Id: I634a9abe99299d66a94f9d1ff7d8011476646933
|
|
This matches the stock Pixel style and makes progress bars look more
integrated, since the active (foreground) part is using the accent
color.
Change-Id: Ia7f77c13d166c0b28c08ad71231d673195696460
|
|
This allows us to set a machine learning back gesture provider.
Change-Id: I5a4c5c7543ded11335f4b8bccfba0690187d744b
|
|
This is required for cards & passes integration in the power menu.
Change-Id: Ib2b4de79f23abdb9859c9f9c84f0e10f359030e3
|
|
This changes the signal calculation to be more stable
and in line with what users expect.
Change-Id: I7f6ec9505490130dd17f979110cb0a709988ebac
|
|
* The anti-falsing implementation from HumanInteractionClassifier
regularly prevents easy swipe to unlock or to pattern / pin
on the keyguard lockscreen, requiring multiple attempts
until accepted due to a hardcoded evaluation (5.0f)
while normal usage shows better results without it.
* Another solved situation is remote device access like
Vysor or TeamViewer where the device is almost impossible
to swipe properly from a computer client.
Change-Id: I1caf603bc6a3bf7794af724b8e48a9ebb96da971
|
|
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.
Change-Id: I56c0c7f7de06aef0db17ca57fac9247e42d54214
|
|
This fits better with Material You, especially when the default shadow
gets clipped at the edges.
Change-Id: If1f421692bcc737882f76fc7929b9f9dd0dd71f0
|
|
Now that we have a custom simple DeviceConfig provisioning service,
define some Device Personalization Services values to for it to set.
These settings are required for Live Captions to work
properly without GMS Phenotype provisioning on Pixels.
also squashed with the following changes:
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sun Nov 21 02:29:04 2021 -0800
device_config: Update Live Caption configs for Pixel 6
Extracted from Pixel 6 Pro stock (SD1A.210817.036.A8) on November 13, 2021.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Wed Nov 17 19:36:43 2021 -0800
device_config: Show setting to disable location indicators
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Oct 9 14:53:10 2021 -0700
device_config: Remove redundant freezer config
The cached app freezer is enabled by default on Android 12 (when
supported by the kernel).
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Oct 9 14:47:19 2021 -0700
device_config: Contribute app shortcuts to AppSearch index
This will make app shortcuts appear in AppSearch results if/when we
integrate it with the launcher.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Oct 9 14:45:43 2021 -0700
device_config: Save discrete app op history for more permissions
Android 12's privacy dashboard shows permission usage timelines for
location, camera, and microphone. However, there's no reason to limit it
to those specific permissions; all the infrastructure is in place for
other permissions.
To enable the usage timeline for more permissions, keep discrete app op
history for all permission groups shown in the privacy dashboard. The
list of permission group -> app op mappings was obtained from
AppOpsManager.RUNTIME_AND_APPOP_PERMISSION_OPS with a few additional ops
from PrivacyItemController, and each op was resolved to its respective
enum ordinal from frameworks/proto_logging/stats/enums/app/enums.proto.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Oct 9 14:43:09 2021 -0700
device_config: Keep up to 7 days of permission usage history
Keeping 7 days of discrete app op history allows us to show a 7-day
permission usage timeline in the privacy dashboard.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Oct 9 14:40:30 2021 -0700
device_config: Reduce threshold for back gesture ML model
Google has deployed this lower threshold on Pixel devices running
SPB5.210812.002.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Oct 9 10:15:21 2021 -0700
device_config: Use new privacy indicators for location
Android has had location indicators for a while, but let's use the new
privacy indicator infrastructure for displaying them. This makes them
integrate better with the new camera and microphone indicators.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Oct 9 05:29:59 2021 -0700
overlay: Remove obsolete Android 11 overlays
Author: Danny Lin <danny@kdrag0n.dev>
Date: Mon May 10 10:45:00 2021 -0700
device_config: Enable recents text selection for Pixel Launcher users
This isn't supported by Launcher3, but some users install Pixel Launcher and
expect the feature to work.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Tue Apr 6 18:58:10 2021 -0700
device_config: Enable maching learning back gesture
This enables machine learning-assisted back gestures when using gesture
navigation. It uses TensorFlow Lite for inference (via our custom
provider in SystemUI), similar to Google's Pixel implementation.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Mon Apr 5 23:12:34 2021 -0700
device_config: Disable deep press input classification
We've already disabled the touchscreen heatmap video interface used by
the TensorFlow input classifier in commit
ae860e9ff9188cf96fb040d8a1f4f90365385866 for performance and CPU usage
reasons. However, trying to run the input classifier without the video
interface causes log spam and 3% extra CPU usage when interacting with
the device:
04-05 23:26:35.617 16591 16591 W native : event_matcher.cc:44 Event queue exceeds maximum size; dropping oldest
04-05 23:26:36.023 16591 16591 I chatty : uid=9999(nobody) classifier@1.0- identical 73 lines
04-05 23:26:36.028 16591 16591 W native : event_matcher.cc:44 Event queue exceeds maximum size; dropping oldest
Logging is relatively expensive on Android, so this log spam is hurting
performance for no reason. Disable the input classifier service entirely
to fix the issue.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Tue Mar 2 09:07:51 2021 -0800
device_config: Enable cached app freezer on supported devices
I've been daily driving this on the Pixel 5 for months with no issues
(since qpr1), and qpr2 improved it more. This should be safe to enable
for all redbull users now.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Dec 12 01:50:04 2020 -0800
device_config: Overlay base configs for SimpleDeviceConfig
SimpleDeviceConfig reads configs from configs_base and configs_device
now.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Dec 12 01:34:00 2020 -0800
device_config: Compact cached app heaps in the background
Background ART heap compaction for cached apps has been recommended for
Android Go devices for a while, and Google has enabled it for the Pixel
5 on RQ1A.201205.010. This feature should help fit more cached apps in
memory.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sat Dec 12 01:29:45 2020 -0800
device_config: Specify AiAi feature requirements
Author: Danny Lin <danny@kdrag0n.dev>
Date: Fri Dec 11 17:50:51 2020 -0800
device_config: Reorganize AiAi configs
Author: Danny Lin <danny@kdrag0n.dev>
Date: Fri Dec 11 17:45:24 2020 -0800
device_config: Enable Adaptive Sound on Pixel 5
Author: Danny Lin <danny@kdrag0n.dev>
Date: Fri Dec 11 11:05:41 2020 -0800
device_config: Enable privacy indicators
These are now available in rvc-qpr1.
Author: Danny Lin <danny@kdrag0n.dev>
Date: Wed Nov 4 01:36:12 2020 -0800
device_config: Explicitly disable unused AiAi features
Change-Id: Ie2f05973fe1e8b4e82d6ccd19e658363a2dfe442
|
|
We need a simple service to provision DeviceConfig for setting various
config defaults, like enabling permission hub, without modifying the
AOSP source code directly. Build our custom service to do the
provisioning from resource overlay values instead.
Change-Id: Id2910d799b503c339f56e7f92a5e5f3ba93a5296
|
|
* We do not ship Google's wallpapers
Change-Id: I7203aaf2c3a426fcc303cd3b3fa13085a8a99b0c
|
|
Change-Id: I8e8175e4d86bcb5268c9f8e6c1ed9d68ef645eda
|
|
The framework disables aggressive power-save modes when appropriate,
such as when the device lacks a significant motion detector.
Thus, instead of enabling it in each device tree,
enable it by default for all devices.
Change-Id: I1999b04876f1ddce1574c050b6bc582e9a9a96da
|
|
The default AOSP ringtone, alarm, and notification sounds are quite
lackluster in comparison to the proprietary Pixel sounds. Replace them
with better ones that are licensed permissively:
- AOSP Material sounds from Android Pie
frameworks/base/data/sounds/AudioPackage14.mk
- Material Product Sounds [1], licensed under CC-BY 4.0
https://material.io/design/sound/sound-resources.html
Change-Id: I7f1540db9be828543cab61e6e8774b13f64245f1
|
|
This is a squash of the following:
Author: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Thu Mar 4 22:17:20 2021 +0530
vendor: charger: Improve pixel charger animation
* cycle the animation twice
* slow it down a bit
Change-Id: I0ab01c7ed5ec2e11af4ead946d1c496de9d2039a
Author: Anushek Prasal <anushekprasal@gmail.com>
Date: Sun Feb 2 16:22:35 2020 +0530
vendor: charger: Optimize Pixel charger animation
- Pixel charging animation seems laggy with stock animations
- Reducing animation frames help in well optimized charging animation
Change-Id: I0aec59a4518b19a06528a4f2ab01ee0eb16b1d14
Author: Arseniy Graur <argraur@gmail.com>
Date: Fri Jan 24 14:08:14 2020 +0000
vendor: Add Pixel charger animation
Signed-off-by: Arseniy Graur <argraur@gmail.com>
Change-Id: Ie0d25e37912fffd337731d4c5eb9e9ccf09a2696
Change-Id: Icd2af8bd61006d88af05b6cb419bebd622008b3e
|
|
* Provide our own hal_attribute macro but without neverallows
* Workaround silly issue when compiling system_ext public sepolicy
without any rules
Change-Id: Id7eb04bd049b13380e69a0367fb588f226a93980
|
|
Change-Id: Icb4322fee59663175e5e36371c30d8069355f36e
|
|
Squashed with the following commit:
commit ba7d528fcfedabe93bef115e8933664ed6a77837
Author: Arian <arian.kulmer@web.de>
Date: Sun, 3 Jan 2021 20:04:32 +0100
touch: Add keys swap interface
Change-Id: Iaff504e5a7e6eea5045d3ed8723ed7af9d4c8398
Change-Id: I67bada5557c7242ab0072dd374a63cd3cb681d6e
|
|
There's no point in showing a big header with the user's profile
information (account name and profile picture) in a settings page named
"About phone" that's specifically meant for showing information about
the device itself.
Change-Id: I49f8f6cb4cd916e1cafed2e3c22e2757245445f0
|
|
The system tracks memory usage for each app, so we might as well show it
to the user so that users can track down which apps are hogging their
memory. This shouldn't be a developer-only feature that was previously
only exposed in Developer Options.
Change-Id: Ib11966b61c1591383c13da081d56ab859a555787
|
|
Change-Id: I4472b1c835eae3889272eb620bcbd1eb6dd5c5ee
|
|
Extracted from the Pixel 2 XL's RP1A.200720.009 stock ROM.
Change-Id: I3028024279647dbaffd52c74e7b8ec0bff6db2d2
|
|
Change-Id: Id8ef6fb64553e43b220b2b649cc042ad438edd94
|
|
- Monet: using custom theme engine
- Conversations: enabled by default on Pixel
- Charging ripple: enabled by default on Pixel
Change-Id: I02b8d268cf750d13aa8b1864aa3bcf46bf820e18
|
|
Change-Id: I2b91c0d77dfa80484e7b081e14f6c5c1dc452db2
|
|
Settings use these values to _restore_ the default state for
power menu long press and volume key chord combo.
Sadly they assume default is power menu instead
of assistant and vib/mute toggle instead of global actions,
simply change them to restore a sane behaviour.
Change-Id: I0187bc4e1cd991c9516560e2d8ae24fc388dddd0
|
|
Change-Id: I8d0dafa9e9655576d3f42c9a9907f8bf89ff4203
|
|
Squashed with the following commits:
Author: Kevin Jeon <kevinjeon@google.com>
Date: Tue, 19 Jan 2021 22:57:07 +0000
Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.
Bug: 176197656
Test: adb shell dumpsys pinner
Change-Id: Icfc556d7b9dc02932036a22631e54ada7c17252a
Author: Vishalcj17 <vishalcj@aospa.co>
Date: Wed, 12 May 2021 20:27:44 +0700
overlay: Cleanup Pinner service properly.
Test: boots; adb shell dumpsys pinner
Change-Id: I149e63cdb01136511b2a797356b387e04844ba04
Change-Id: Ief469d2510b0aa5a0c57285120f3e0e6cf7e8526
|