Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2608 commits
Select commit Hold shift + click to select a range
e39500f
core: Blacklist P21+ experience system feature from Photos spoof
joeyhuab Oct 17, 2022
65ff1cd
Make Udfps haptic feedback optional [1/2]
SagarMakhar Nov 6, 2021
ed2089c
UDFPS Haptics: remove dependencies from all screen touc vibration
SuperDroidBond Sep 20, 2022
acd281f
Udfps authentication / error vibration [1/2]
Aug 21, 2022
40b8a19
Comeback Data Usuage in qs
hungphan2001 Oct 18, 2022
acb5f43
SystemUI: Avoid NPE in QS footer data usage
adithya2306 Oct 10, 2022
c8dc642
colors_device_defaults: Add chroma to light surface highlight color
kdrag0n Oct 13, 2022
2522a57
config_progress_background_tint: Use accent color for progress bar ba…
kdrag0n Oct 13, 2022
49f73d8
Fix permission issues for network update service
nfuller Oct 12, 2022
6800868
Fix bluetooth tile show blank
Jul 12, 2022
24e7213
base: Smart Charging (1/4)
Lucchetto Mar 28, 2019
f8178c0
Add interface for battery stats reset
neobuddy89 Oct 12, 2022
631e0e7
Clean Old Style QS
hungphan2001 Oct 19, 2022
7712f14
SystemUI: More rounded corners
Lucchetto Aug 29, 2018
761ee06
Squashed QSPanel style and design changes
StarkDroid Jun 19, 2022
a688245
SystemUI: Add QS tile layout settings [1/2]
maxwen Dec 22, 2021
6241a3e
SystemUI: Fix qs tile vertical layout scrolling
minaripenguin Jun 19, 2022
a363f7c
SystemUI: Tune QS tile dimensions
minaripenguin Aug 7, 2022
1f33adf
SystemUI: Improve vertical QS tile layout & animation
timjosten Aug 21, 2022
1424e0f
SystemUI: Update and fix QS tile layout settings
neobuddy89 Aug 28, 2022
5be024f
SystemUI: Fix QS customizer corner radius
neobuddy89 Aug 29, 2022
ca798ee
QSTileViewImpl: Clean up init
neobuddy89 Aug 29, 2022
05b7d5d
SystemUI: Allow to change QS tile label text size [1/2]
neobuddy89 Aug 29, 2022
2eaa3c9
SystemUI: Stop using marquee on qs tiles label
minaripenguin Sep 20, 2022
dfc105e
SettingsLib: Fix the collapsing toolbar bg color
minaripenguin Sep 20, 2022
acea886
fwb: Link more elements to `config_dialogCornerRadius `
minaripenguin Jul 20, 2022
732b101
SystemUI: Link style elements to config_dialogCornerRadius
neobuddy89 Aug 29, 2022
2cab518
QS styles: Sync with overlay changes
minaripenguin Sep 20, 2022
0c722bb
Reland BrightnessSlider: move brightness slider icon to the left
minaripenguin Sep 21, 2022
111ee30
QS Styles: two tone: QS improvements
elluzion Sep 21, 2022
566eb7c
SystemUI: Improve QS styles
minaripenguin Oct 8, 2022
de0915e
Partially revert "SystemUI: Add LiveDisplay tile"
joeyhuab Oct 17, 2022
e69f942
SystemUI: Use proper Resolver background color
elluzion Dec 7, 2020
5ce277d
KeyguardIndication: Fix glitchy charging info on lockscreen
neobuddy89 Jan 30, 2022
fcf7bd5
Fix action bar font family on material themes
jhenrique09 Feb 6, 2019
dc03e75
Revert "SystemUI: Optimize system statusbar icons"
hungphan2001 Oct 21, 2022
916212f
SystemUI: Improve statusbar mobile type icons padding
adithya2306 Sep 18, 2022
6ec7967
SystemUI: add burnIn protection
arter97 Jan 14, 2017
26860de
SystemUI: Update statusbar burn-in protection shift base padding when…
EcrosoftXiao Aug 18, 2022
afbe6a4
Revert "Revert "base: Forward Port Volume Long Press Skip Tracks [1/2]""
hungphan2001 Oct 24, 2022
cfe313b
base: fixup!: Forward Port Volume Long Press Skip Tracks [1/2]
adithya2306 Oct 16, 2022
70ea32e
SystemUI: Fix the unlock sound played repeatedly
Dec 17, 2015
0d34086
base: tuner: add a hide config to left and right shortcut
maxwen Sep 22, 2017
ca2108e
Lockscreen bottom shortcuts fixes
ezio84 Sep 28, 2017
84fde73
SystemUI: Set proper margin and padding for lockscreen bottom shortcuts
00day0 Dec 8, 2019
55419cc
Fix custom lockscreen shortcut icons being white
ezio84 Dec 13, 2017
876b1e8
SystemUI: Hide lockscreen media art if nothing is playing
ezio84 Nov 19, 2020
896a157
Fix lockscreen wallpaper not being set if different from the Home one
ezio84 Dec 31, 2020
5e0280b
SystemUI: fix creation of custom lockscreen shortcuts
maxwen Feb 26, 2021
63dac42
SystemUI: custom lockscreen shortcut fixes
maxwen Feb 27, 2021
e6905d7
Redesign lockscreen bottom shortcuts
00day0 Dec 22, 2021
d8433e8
Pulse: Detach pulse view only when attached
neobuddy89 Oct 23, 2022
31db96b
core: Fix toast background color not changing with theme
SuperDroidBond Sep 11, 2022
773bc6b
libs: hwui: Build using ThinLTO
mydongistiny Sep 29, 2019
e04583e
core: Enable smart battery for everyone
mydongistiny Sep 12, 2018
7f92577
SystemUI: Stop building NotoSerif font.
imjyotiraditya Dec 13, 2020
59ababc
SystemUI: Add missing location permission
neobuddy89 Oct 19, 2022
fc337bb
base: Add Pixel Navigation Bar's Home icon
Clav12 Oct 24, 2022
53c6d6b
SystemUI: add missing initial call to updateResources in brightness m…
maxwen Dec 31, 2021
f7600d8
SystemUI: Don't show tuner warning
kdrag0n Jun 8, 2021
d47a0b3
Run LockscreenFragment external
ezio84 Sep 8, 2017
dcba372
SystemUI: Add charging icon to the charging animation
minaripenguin Oct 27, 2022
8562abd
base: Use wireless charging animation for wired charging too
SKULSHADY Oct 27, 2022
3491c33
SystemUI: Improve charging animation's color palette
minaripenguin Oct 8, 2022
1a1b1c9
Redesign lockscreen buttons
minaripenguin Sep 10, 2022
003ffbd
SystemUI: Redesign all lockscreen buttons
minaripenguin Oct 8, 2022
5d9a824
Always use dark colors for lockscreen bottom shorcuts
minaripenguin Oct 11, 2022
eaaa9f4
Keyguard: Follow light/dark settings with transparency
minaripenguin Oct 24, 2022
59d50b6
AutoBrightness: Add support for one shot auto-brightness [1/2]
bellegarde-c May 13, 2021
9dbae6b
base: Allow locking tasks to recents [1/2]
SagarMakhar Aug 28, 2021
c38b5ae
SystemUI: Tune QS tiles dimensions
minaripenguin Oct 29, 2022
4f3c861
Keyguard: update color light/dark settings
minaripenguin Oct 24, 2022
13460ab
Allow extended/"L" back swipe to trigger actions/app/activities [1/2]
ezio84 Oct 29, 2022
9b2fdbd
Extended swipe: show a double arrow when almost triggered
nicorg2515 Mar 10, 2020
607627f
Add switch last app to gesture actions [1/2]
DennySPB Apr 28, 2020
6ed02ae
Extended swipe: Remove assistant [1/2]
joeyhuab Jan 3, 2022
558b1a9
[SQUASH] Add more long gesture options
bigrushdog Oct 29, 2022
07ffe68
CherishUtils: Add an api to take screenshots
spkal01 Oct 29, 2022
147a120
Add api to get or kill foreground app
ezio84 Mar 1, 2020
8319d38
ActionUtils: Reverse actions for QS and notification panel
ezio84 Oct 30, 2022
b14d4fe
Camera: Expose aux camera if packagename is null
wbs306 Oct 27, 2022
a76f1de
Revert "Fix Wakelock issue"
minaripenguin Oct 29, 2022
f1da36a
Revert "SystemUI: Fix pulseOut fails before fully pulsing"
hungphan2001 Nov 1, 2022
5b08876
Revert '[SQUASH]: cleanup in preparation for r11 merge '
luk1337 Sep 18, 2022
fc8193d
Revert "QS: Add and use Bluetooth Panel instead of full Settings"
hungphan2001 Nov 1, 2022
99cf09e
SystemUI: Implement Bluetooth dialog
adithya2306 Oct 27, 2022
84dbb2b
AudioSystem: add missing native audio formats
Oct 28, 2022
038e9bb
AudioSystem: Add AUDIO_FORMAT_APTX_ADAPTIVE_{QLEA|R4}
Oct 28, 2022
fe9c8ee
Revert "Keyguard: update color light/dark settings"
hungphan2001 Nov 1, 2022
00c334a
SystemUI: Controllable squiggle animation [1/2]
ReallySnow Oct 26, 2022
bf7995a
SystemUI: Play all charging animator sets at the same time
Oct 26, 2022
9d09ba7
Revert "CameraManager: Make the workaround completely optional"
hungphan2001 Nov 1, 2022
68bfd66
Revert "CameraManager: HAX for depth sensor on ginkgo [1/2]"
hungphan2001 Nov 1, 2022
d74854b
Set callback before hal connection to avoid NPE on startup
chrmhoffmann Oct 28, 2022
d88b48a
Remove Safety Center tile from default tiles
mikeNG Sep 19, 2022
a60e0b0
Enable backup service by default for all users
Uldiniad Jun 30, 2022
c6e5de0
base: TtsEngines: fix yet another NPE
jhonboy121 Dec 2, 2021
dc86a78
core/jni/libandroid_runtime: Use ThinLTO
RealJohnGalt Oct 6, 2022
a3150f2
libandroid_defaults: Use ThinLTO
RealJohnGalt Oct 6, 2022
701fcd2
DNM Revert "Camera: Add support for readout timestamp"
vjspranav Oct 22, 2022
be0e2d8
Attach the background-panel to DisplayContent.
Oct 26, 2022
5c4a69e
Keep the order of visible tasks in the same order as the system when …
Oct 20, 2022
62f72fc
Make sure width and height are not zero before calling createBitmap
shawnlinboy Sep 13, 2022
0263cbc
Make sure view is laid out before calling createBitmap
shawnlinboy Sep 13, 2022
f0442be
AlertWindowNotification: Correctly load app label
hustler-not-chatty Nov 2, 2022
3512ef5
reTicker: Do not jump to app when clicked in games
cjh1249131356 Jun 19, 2022
bdd47e4
Toast: Fix the concurrency problem of mAuthenticator
hupeng3 Oct 24, 2022
d0126c1
Fix NPE when finishing remote animation
miaojian2 Oct 19, 2022
5a65fcf
wm: Migrate deprecated getColor to one with Theme
utzcoz Oct 5, 2022
5286181
Fix potential race condition problem
Oct 31, 2022
fc2fbb4
Allow screen unpinning on devices without navbar
Dec 28, 2017
d7061be
Fix screen unpinning text on devices that have gestures on fp sensor
jhenrique09 Oct 29, 2018
88474b0
Clock: Fix issues with hidden mode
neobuddy89 Mar 27, 2022
05ce6cd
Battery Styles: Introduce Battery Landscape [1/2]
703joko Jul 22, 2021
f082f8d
Battery Styles: Added 9 more battery styles [1/2]
R15Hi Nov 8, 2022
343ed7e
SystemUI: BatteryMeterView: Set white tint in darkmode
althafvly Nov 8, 2022
5b1312a
Battery bolt: Preserve unicode bolt color
StarkDroid Nov 8, 2022
b86d99c
Battery Style Improvements
StarkDroid Nov 8, 2022
d52cae1
Initial import of Face Unlock for T
jhenrique09 Feb 10, 2022
e2c33ae
Add idle lockout message for FaceUnlock
jhenrique09 Feb 11, 2022
90e2220
base: do not use new lockscreen layout for bypass
ethan-halsall Apr 9, 2020
d1f4943
KeyguardBouncer: Don't delay showing if face auth running
jhenrique09 Feb 12, 2022
4d54813
FaceUnlock: Adapt code for Android 13
vjspranav Nov 2, 2022
4606564
SystemUI: Tell user when face unlock detection is running
jhenrique09 Mar 22, 2022
b2b44b4
SystemUI: Allow listening for face only on pin/pass view
jhenrique09 Nov 3, 2022
fd7e336
[1/2] Allow changing face unlock method when locked
jhenrique09 Jun 18, 2021
cb7ed1d
WalletActivity: Don't explicitly request face auth
jhenrique09 Feb 21, 2022
ad93bb2
FaceUnlock: Fixup for 12L
xyyx Mar 11, 2022
274d325
Reset face auth on occluding app when authenticated
jhenrique09 Feb 20, 2022
d4890cc
fwb: Guard some functions against face unlock
jhenrique09 Mar 28, 2020
3f6d5cc
SystemUI: Face Unlock animation
Dil3mm4 Jan 26, 2021
cf82d4a
SystemUI: use simple check for isFaceDisabled
eyosen Jan 15, 2021
671c1c6
CustomFaceProvider: Add missing stuff
joeyhuab Nov 4, 2022
c543de0
Hide face recognizing message on bouncer when authenticated
jhenrique09 Nov 8, 2022
f7f53bc
Revert "[SQUASH] Switch to AttestationHooks"
hungphan2001 Nov 8, 2022
e8f087b
Introduce PixelPropsUtils for safety net spoof
jhenrique09 Nov 19, 2020
2d4ec9c
keystore: Block key attestation for SafetyNet
kdrag0n Oct 12, 2021
611f848
PixelPropsUtils: Do not change props for play store
neobuddy89 Jan 8, 2022
37c84e4
PixelPropsUtils: Consolidate google app checks
neobuddy89 Jan 10, 2022
4a83d19
PixelPropsUtils: Add GamesProps
rdxzv Dec 11, 2021
31778cd
PixelPropsUtils: Extend list of packages to keep
neobuddy89 Jan 11, 2022
7da02cd
PixelPropsUtils: Bail out early when required
neobuddy89 Jan 11, 2022
20597f4
PixelPropsUtils: Whitelist ARCore
joeyhuab Jan 27, 2022
fad7ae8
PixelPropsUtils: User toggle for unlimited photos storage [1/2]
spezi77 Jan 31, 2022
eae6c12
PixelPropsUtils: User toggle for GamesProp [1/2]
neobuddy89 Feb 12, 2022
31efe81
PixelPropsUtils: Refactor Pixel 2021 features availability
joeyhuab Feb 15, 2022
efc0c49
PixelPropsUtils: Whitelist YouTube apps
neobuddy89 Feb 27, 2022
535e07c
PixelPropsUtils: Only spoof GMS to Raven
gotenksIN Mar 4, 2022
ee652f7
PixelPropsUtils: Add game props for mobile legends
neobuddy89 Mar 26, 2022
8c56247
PixelPropsUtils: Remove spoofing for currently supported Pixel devices
anayw2001 Dec 10, 2021
7b7812a
PixelPropsUtils: Exclude recorder from pixel props
neobuddy89 May 29, 2022
61bb444
PixelPropsUtils: Limit SafetyNet workarounds to unstable GMS process
kdrag0n Nov 2, 2021
4321852
PixelPropsUtils: GameProps: Hide Apex Legends as Mi11
johnmart19 Jul 10, 2022
529b9a5
PixelPropsUtils: Use ro.build.incremental for settings intelligence
neobuddy89 Sep 10, 2022
ce32ddb
PixelPropsUtils: Update game props
joeyhuab Aug 15, 2022
fc06e6f
core: Pixel experience Blacklist For Google Photos for Android 13
markakash Aug 20, 2022
050c59f
core: Blacklist P22 experience system feature from Photos spoof
joeyhuab Oct 13, 2022
c2004fb
PixelPropsUtils: Spoof Nexus 6P for GMS unstable process
dereference23 Oct 14, 2022
eceac25
PixelPropsUtils: Switch from raven fp to cheetah
joeyhuab Oct 13, 2022
0e8012b
PixelPropsUtils: Apply key attestation workaround to Play Store as well
Dyneteve Aug 23, 2022
3701cef
PixelPropsUtils: Update pixel devices list
neobuddy89 Oct 15, 2022
9ad484b
PixelPropsUtils: Don't spoof euicc
EnesSastim Oct 25, 2022
553e96e
PixelPropsUtils: Get package name from context instead of app
jhenrique09 Nov 8, 2022
1970699
PixelPropsUtils: Update fingerprints to November 2022 release
joeyhuab Nov 7, 2022
b6cb232
Merge tag 'android-13.0.0_r14' of https://android.googlesource.com/pl…
hungphan2001 Nov 8, 2022
c57dd00
fixup! Do not dismiss keyguard after SIM PUK unlock
joeyhuab Nov 8, 2022
0f90ad3
FaceService: Allow our face unlock to be used on third-party apps
jhenrique09 Feb 14, 2022
2a5cbac
FaceService: Downgrade strength to STRENGTH_WEAK
jhenrique09 Mar 20, 2022
4d1b54f
face: Pass requestId on our authentication client
jhenrique09 Oct 27, 2022
9ad3ee3
Do not show camera indicator for Face Unlock service
libxzr Mar 6, 2022
cae9768
FaceUnlock: Reformat Code
jhenrique09 Nov 8, 2022
ac694ba
[BugFix] fix ViewConfiguration's ArrayIndexOutOfBoundsException
cwjzd6 Nov 7, 2022
512be98
Services: Boost gesture flings
minaripenguin Nov 8, 2022
93887cc
Delete all templates that do not match
May 20, 2022
97b5b5f
Fix a new recent task added with an empty one not removed
Nov 4, 2022
43fe685
AudioService: catch RuntimeException for IServiceManager.getService
devinmoore-goog Apr 20, 2022
e88475c
Fix binderDied of an app can not be triggered in some cases.
May 17, 2022
a96bb06
toString() of StringBuilder need to create a array copy with count, i…
May 5, 2022
68dfa17
CEC: Do not allow null callback
vavadhani Jun 27, 2022
02df813
base: Stop the spamming of background start not allowed
Kapp509840 Nov 1, 2022
fe369a1
Fix errorprone 2.15.0 errors
sbgoog Sep 19, 2022
3a81400
[quick panel] Fix problem that sub user`s active CustomTile can`t be …
Nov 2, 2022
c91c7f8
Reset PowerGroup.mIsSandmanSummoned while waking up.
jeraon Oct 31, 2022
949597d
Rely on Display#getRealSize when dumping XML hierarchy
dpeykov Oct 25, 2022
b0bc6ee
[DPC] Reduce Sreen Refresh Rate when Dim for DisplayPowerController
Oct 19, 2022
9270c82
Fix array-related errorprone warnings
Colecf Aug 15, 2022
7e1d238
Revert "Keep the order of visible tasks in the same order as the syst…
minaripenguin Nov 1, 2022
fda1c31
Sort running task by focus and visibility
Oct 20, 2022
2c8c1b0
Unhide Parcel.writeTypedList() with additional flag
May 27, 2022
aee77e8
[Power][Xiaomi][BugFix]fix hang up wechat voice does not enter dim di…
Nov 1, 2022
4a26ad3
Delay display DOZE on LS => AOD only if blanking is not needed
Aug 31, 2022
0bf64c8
Revert "Fix incorrect context classloader initialization in system_se…
minaripenguin Nov 10, 2022
cd90b84
Improve performance by resolving MediaCodec.BufferInfo members outsid…
Nov 1, 2022
c0b18ce
BrightnessController: update icon state for auto bg icon
yukiscape Apr 5, 2022
c674727
fixup! [1/2] Statusbar Clock background chip
StarkDroid Nov 12, 2022
ef6f5a1
[BugFix] Fix the NullPointerException in Android S Version:mServicesData
Feb 7, 2022
1542f4d
Samsung Dynamic Surface Scaling Solution: Resource system classes
Nov 8, 2021
4adf0cb
Samsung Dynamic Surface Scaling Solution: Display infor & Metrics cla…
Nov 8, 2021
562e5ef
Fix erroneous self deletion on SkImage creation failure
nscobie Oct 24, 2022
df047e3
SystemUI: NavigationHandle: Don't show on keyguard or doze
idoybh Nov 18, 2020
b48263b
TwilightService: Use temporary TwilightState when location is not ava…
ritujb Jul 25, 2020
788f2d1
TwilightService: Save and use last fetched location
idoybh Aug 21, 2021
f09ff65
Revert "Revert "CameraManager: HAX for depth sensor on ginkgo [1/2]""
hungphan2001 Nov 13, 2022
9328d5b
Revert "Revert "CameraManager: Make the workaround completely optional""
hungphan2001 Nov 13, 2022
2ada711
base: Introduce automated Sleep Mode [1/2]
SKULSHADY May 31, 2021
0b86592
base: Always turn on sensors when disabling sleep mode
cjh1249131356 Apr 16, 2022
13ca15d
SleepMode: Improve location mode logic
cjh1249131356 Apr 21, 2022
5f26269
base: Fix scheduled AOD/Sleep mode
cjh1249131356 May 20, 2022
9e5ba75
New ReTicker Style [1/2]
StarkDroid Sep 16, 2022
e723252
reTicker: Add OneUI style animation (1/2)
StarkDroid Sep 29, 2022
3bb6ffe
[SQUASH] base: Remove current IME space [1/2]
hungphan2001 Nov 13, 2022
148646f
base: Make IME space optional
minaripenguin Nov 1, 2022
e660119
base: Disable hide IME space feature by default
minaripenguin Nov 9, 2022
c7ae1b2
SystemUI: Disable clock auto hide feature for QS
luk1337 Nov 11, 2022
c087683
Fix for NullPointerException in SmsMessage
Oct 12, 2022
714fb4e
base: Make NavigationBar to use Hidden IME Space only on gesture bar
KrutosVIP Nov 10, 2022
e454d42
Fix freeform window resize not working on multiple displays
nift4 Aug 28, 2022
a0285d1
Add support for runtime toggle of navbar
bgcngm Nov 16, 2022
ed7624f
[Bugfix] Fix the problem that the home key can not work in some cases.
Nov 11, 2022
15eeae0
SystemUI: migrate statusbar manual brightness to float
jjpprrrr Mar 13, 2021
7621bfe
SystemUI: unify statusbar manual & auto brightness code
jjpprrrr Mar 22, 2021
8156e9e
SystemUI: BrightnessController: do not update slider from DisplayMana…
jhonboy121 Oct 7, 2022
d6ccd95
fw/b: Button backlight brightness
rmcc Nov 23, 2012
81b5d57
PowerManagerService: Allow to light up buttons only when pressed
Thecrazyskull Jun 3, 2017
1e7142f
PowerManager: Allow to distinguish different keypresses
github-cygwin Aug 12, 2017
20ca00e
fwb: Re-introduce keyboard backlight brightness control
bgcngm Oct 6, 2020
94922f3
TouchGestures: Add keyhandler overlays
jhenrique09 Jun 4, 2020
3cb9f89
SettingsProvider: Disable "Mobile data always Active" by default
minaripenguin Nov 15, 2022
18194dc
LS Clocks: Properly refresh time in all the views
StarkDroid Sep 29, 2022
eea74c3
Fix SparkCircleClock FC
StarkDroid Oct 5, 2022
46d87fd
[1/2] QS Weather
StarkDroid Jul 23, 2021
1816cd0
QS Weather Location [1/2]
minaripenguin Sep 10, 2022
da782f7
Add weather view to keyguard slice
minaripenguin Sep 10, 2022
d461a3a
SystemUI: Set lockscreen clock font dynamically
adithya2306 May 21, 2022
494c0c1
Improve LS Clock spacing
minaripenguin Sep 11, 2022
e54e156
SystemUI: Secondary color for lockscreen clock toggle [1/2]
minaripenguin Jul 26, 2022
f18108d
Dynamically handle font for sfunny clock
spkal01 Aug 10, 2022
0e56ece
Fine tune keyguard smartspace elements
minaripenguin Sep 11, 2022
29826e2
SystemUI: Open Weather settings on long click
minaripenguin Sep 19, 2022
9fbc254
SystemUI: Weather layout improvements
minaripenguin Sep 19, 2022
1ab999d
base: Split weather parts [1/3]
minaripenguin Oct 6, 2022
6a82a1e
weather: keyguard slice view improvements
minaripenguin Oct 7, 2022
34e2fee
Keyguard: Use Doubleline clock for small clock
minaripenguin Oct 8, 2022
d8fd6a5
Weather: Add condition option to keyguard weather status
minaripenguin Oct 7, 2022
a53b5a5
SystemUI: Rework Lockscreen Clock
minaripenguin Oct 24, 2022
7532558
base: Lockscreen Date Fonts [1/2]
varund7726 Oct 29, 2022
785ee54
SystemUI: Add Google Sans Clock in lockscreen font customizations [1/2]
ralph950412 Oct 30, 2022
d4b3f5c
SystemUI: fix lockscreen shortcuts background
Nov 2, 2022
bcf785f
SystemUI: Slice view fixes and improvements
Nov 4, 2022
e075bce
Merge branch 'CherishOS:tiramisu' into tiramisu
Clav12 Nov 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 12 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ java_library {
"com.android.sysprop.init",
"com.android.sysprop.localization",
"PlatformProperties",
"vendor.lineage.livedisplay-V2.0-java",
"vendor.lineage.livedisplay-V2.1-java",
"vendor.lineage.touch-V1.0-java",
],
sdk_version: "core_platform",
installable: false,
Expand Down Expand Up @@ -365,6 +368,15 @@ java_library {
name: "framework-minus-apex-intdefs",
defaults: ["framework-minus-apex-defaults"],
plugins: ["intdef-annotation-processor"],

// Errorprone and android lint will already run on framework-minus-apex, don't rerun them on
// the intdefs version in order to speed up the build.
errorprone: {
enabled: false,
},
lint: {
enabled: false,
},
}

// This "framework" module is NOT installed to the device. It's
Expand Down
1 change: 1 addition & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/libhwui.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libhwui.so)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/os/storage/*)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/content/IClipboard.P)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/pocket/*)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/android/internal/telephony/ITelephonyRegistry.P)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/api-stubs*)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private void deleteBlob(BlobHandle blobHandle) throws Exception {
runShellCommand(String.format(
"cmd blob_store delete-blob --algo %s --digest %s --label %s --expiry %d --tag %s",
blobHandle.algorithm,
Base64.getEncoder().encode(blobHandle.digest),
Base64.getEncoder().encodeToString(blobHandle.digest),
blobHandle.label,
blobHandle.expiryTimeMillis,
blobHandle.tag));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,13 @@ private void setImpl(@AlarmType int type, long triggerAtMillis, long windowMilli
long intervalMillis, int flags, PendingIntent operation, final OnAlarmListener listener,
String listenerTag, Executor targetExecutor, WorkSource workSource,
AlarmClockInfo alarmClock) {

if (mPackageName.equals("com.google.android.gms")) {
if (windowMillis == WINDOW_EXACT && !canScheduleExactAlarms()) {
windowMillis = WINDOW_HEURISTIC;
}
}

if (triggerAtMillis < 0) {
/* NOTYET
if (mAlwaysExact) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5727,7 +5727,7 @@ private void decrementAlarmCount(int uid, int decrement) {
}
}
if (oldCount < decrement) {
Slog.wtf(TAG, "Attempt to decrement existing alarm count " + oldCount + " by "
Slog.w(TAG, "Attempt to decrement existing alarm count " + oldCount + " by "
+ decrement + " for uid " + uid);
}
}
Expand Down
6 changes: 4 additions & 2 deletions cmds/app_process/app_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ class AppRuntime : public AndroidRuntime
AndroidRuntime* ar = AndroidRuntime::getRuntime();
ar->callMain(mClassName, mClass, mArgs);

IPCThreadState::self()->stopProcess();
hardware::IPCThreadState::self()->stopProcess();
if (mClassName != "com.android.internal.os.ExecInit") {
IPCThreadState::self()->stopProcess();
hardware::IPCThreadState::self()->stopProcess();
}
}

virtual void onZygoteInit()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ else if (arg.equals("--windows")) {
DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY);
int rotation = display.getRotation();
Point size = new Point();
display.getSize(size);
display.getRealSize(size);
AccessibilityNodeInfoDumper.dumpWindowToFile(info, dumpFile, rotation, size.x,
size.y);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static void dumpWindowsToFile(SparseArray<List<AccessibilityWindowInfo>>
serializer.attribute("", "id", Integer.toString(displayId));
int rotation = display.getRotation();
Point size = new Point();
display.getSize(size);
display.getRealSize(size);
for (int i = 0, n = windows.size(); i < n; ++i) {
dumpWindowRec(windows.get(i), serializer, i, size.x, size.y, rotation);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ public void dumpWindowHierarchy(String fileName) {
if(root != null) {
Display display = getAutomatorBridge().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
display.getRealSize(size);
AccessibilityNodeInfoDumper.dumpWindowToFile(root,
new File(new File(Environment.getDataDirectory(), "local/tmp"), fileName),
display.getRotation(), size.x, size.y);
Expand Down
2 changes: 2 additions & 0 deletions core/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20118,6 +20118,7 @@ package android.media {
method public void setRingerMode(int);
method @Deprecated public void setRouting(int, int, int);
method public void setSpeakerphoneOn(boolean);
method public void setStreamMaxVolume(int, int);
method @Deprecated public void setStreamMute(int, boolean);
method @Deprecated public void setStreamSolo(int, boolean);
method public void setStreamVolume(int, int, int);
Expand Down Expand Up @@ -31716,6 +31717,7 @@ package android.os {
method public <T extends android.os.Parcelable> void writeTypedArray(@Nullable T[], int);
method public <T extends android.os.Parcelable> void writeTypedArrayMap(@Nullable android.util.ArrayMap<java.lang.String,T>, int);
method public <T extends android.os.Parcelable> void writeTypedList(@Nullable java.util.List<T>);
method public <T extends android.os.Parcelable> void writeTypedList(@Nullable java.util.List<T>, int);
method public <T extends android.os.Parcelable> void writeTypedObject(@Nullable T, int);
method public <T extends android.os.Parcelable> void writeTypedSparseArray(@Nullable android.util.SparseArray<T>, int);
method public void writeValue(@Nullable Object);
Expand Down
7 changes: 0 additions & 7 deletions core/java/android/accounts/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

import com.android.internal.annotations.GuardedBy;

import java.util.Objects;
import java.util.Set;

/**
Expand Down Expand Up @@ -87,12 +86,6 @@ public Account(String name, String type, String accessId) {
if (TextUtils.isEmpty(type)) {
throw new IllegalArgumentException("the type must not be empty: " + type);
}
if (name.length() > 200) {
throw new IllegalArgumentException("account name is longer than 200 characters");
}
if (type.length() > 200) {
throw new IllegalArgumentException("account type is longer than 200 characters");
}
this.name = name;
this.type = type;
this.accessId = accessId;
Expand Down
58 changes: 44 additions & 14 deletions core/java/android/app/ActivityThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.HardwareRenderer;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.hardware.display.DisplayManagerGlobal;
import android.media.MediaFrameworkInitializer;
Expand Down Expand Up @@ -248,6 +249,8 @@
import java.util.concurrent.atomic.AtomicInteger;
import java.util.function.Consumer;

import android.content.res.ResourcesImpl;
import android.view.DisplayInfo;
/**
* This manages the execution of the main thread in an
* application process, scheduling and executing activities,
Expand Down Expand Up @@ -526,6 +529,8 @@ public int hashCode() {
/** A client side controller to handle process level configuration changes. */
private ConfigurationController mConfigurationController;

private float mDssScale = 1.0f;

/** Activity client record, used for bookkeeping for the real {@link Activity} instance. */
public static final class ActivityClientRecord {
@UnsupportedAppUsage
Expand Down Expand Up @@ -897,6 +902,8 @@ static final class AppBindData {

AutofillOptions autofillOptions;

float dssScale;

/**
* Content capture options for the application - when null, it means ContentCapture is not
* enabled for the package.
Expand Down Expand Up @@ -1126,6 +1133,7 @@ public final void bindApplication(String processName, ApplicationInfo appInfo,
boolean enableBinderTracking, boolean trackAllocation,
boolean isRestrictedBackupMode, boolean persistent, Configuration config,
CompatibilityInfo compatInfo, Map services, Bundle coreSettings,
float dssScale,
String buildSerial, AutofillOptions autofillOptions,
ContentCaptureOptions contentCaptureOptions, long[] disabledCompatChanges,
SharedMemory serializedSystemFontMap,
Expand Down Expand Up @@ -1178,6 +1186,7 @@ public final void bindApplication(String processName, ApplicationInfo appInfo,
data.initProfilerInfo = profilerInfo;
data.buildSerial = buildSerial;
data.autofillOptions = autofillOptions;
data.dssScale = dssScale;
data.contentCaptureOptions = contentCaptureOptions;
data.disabledCompatChanges = disabledCompatChanges;
data.mSerializedSystemFontMap = serializedSystemFontMap;
Expand Down Expand Up @@ -3835,7 +3844,7 @@ private void reportSizeConfigurations(ActivityClientRecord r) {
return;
}
Configuration[] configurations = r.activity.getResources().getSizeConfigurations();
if (configurations == null) {
if (configurations == null || r.activity.mFinished) {
return;
}
r.mSizeConfigurations = new SizeConfigurationBuckets(configurations);
Expand Down Expand Up @@ -4535,7 +4544,7 @@ private void handleBindService(BindServiceData data) {
Service s = mServices.get(data.token);
if (DEBUG_SERVICE)
Slog.v(TAG, "handleBindService s=" + s + " rebind=" + data.rebind);
if (s != null) {
if (s != null && createData != null) {
try {
data.intent.setExtrasClassLoader(s.getClassLoader());
data.intent.prepareToEnterProcess(isProtectedComponent(createData.info),
Expand Down Expand Up @@ -4566,7 +4575,7 @@ private void handleBindService(BindServiceData data) {
private void handleUnbindService(BindServiceData data) {
CreateServiceData createData = mServicesData.get(data.token);
Service s = mServices.get(data.token);
if (s != null) {
if (s != null && createData != null) {
try {
data.intent.setExtrasClassLoader(s.getClassLoader());
data.intent.prepareToEnterProcess(isProtectedComponent(createData.info),
Expand Down Expand Up @@ -4673,7 +4682,7 @@ private void handleDumpProvider(DumpComponentInfo info) {
private void handleServiceArgs(ServiceArgsData data) {
CreateServiceData createData = mServicesData.get(data.token);
Service s = mServices.get(data.token);
if (s != null) {
if (s != null && createData != null) {
try {
if (data.args != null) {
data.args.setExtrasClassLoader(s.getClassLoader());
Expand Down Expand Up @@ -4920,13 +4929,14 @@ public void handleResumeActivity(ActivityClientRecord r, boolean finalStateReque
l.softInputMode = (l.softInputMode
& (~WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION))
| forwardBit;
if (r.activity.mVisibleFromClient) {
ViewManager wm = a.getWindowManager();
View decor = r.window.getDecorView();
wm.updateViewLayout(decor, l);
}
}

if (r.activity.mVisibleFromClient) {
ViewManager wm = a.getWindowManager();
View decor = r.window.getDecorView();
wm.updateViewLayout(decor, l);
}

r.activity.mVisibleFromServer = true;
mNumVisibleActivities++;
if (r.activity.mVisibleFromClient) {
Expand Down Expand Up @@ -6488,6 +6498,8 @@ private void handleBindApplication(AppBindData data) {
Process.setStartTimes(SystemClock.elapsedRealtime(), SystemClock.uptimeMillis(),
data.startRequestedElapsedTime, data.startRequestedUptime);

mDssScale = data.dssScale;

AppCompatCallbacks.install(data.disabledCompatChanges);
// Let libcore handle any compat changes after installing the list of compat changes.
AppSpecializationHooks.handleCompatChangesBeforeBindingApplication();
Expand Down Expand Up @@ -7062,11 +7074,6 @@ public final IContentProvider acquireProvider(
}
}
if (holder == null) {
if (UserManager.get(c).isUserUnlocked(userId)) {
Slog.e(TAG, "Failed to find provider info for " + auth);
} else {
Slog.w(TAG, "Failed to find provider info for " + auth + " (user not unlocked)");
}
return null;
}

Expand Down Expand Up @@ -7988,4 +7995,27 @@ public boolean isInDensityCompatMode() {
// ------------------ Regular JNI ------------------------
private native void nPurgePendingResources();
private native void nInitZygoteChildHeapProfiling();

/**
* Gets scale value on appplication layer
*/
public float getDssScale() {
return mDssScale;
}

@UnsupportedAppUsage
public static boolean applyDssScaleIfNeeded(DisplayInfo info, Rect bounds) {
final ActivityThread thread = sCurrentActivityThread;
if (thread != null) {
final float dssScale = thread.mDssScale;
if (dssScale != 1.0f) {
final int width = (int) (bounds.width() * dssScale + .5f);
final int height = (int) (bounds.height() * dssScale + .5f);
info.logicalWidth = info.appWidth = width;
info.logicalHeight = info.appHeight = height;
return true;
}
}
return false;
}
}
19 changes: 19 additions & 0 deletions core/java/android/app/AppLockData.aidl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (C) 2022 FlamingoOS 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.
*/

package android.app;

parcelable AppLockData;
Loading