Skip to content

Test DC fix #28

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

Open
wants to merge 1,468 commits into
base: 13.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1468 commits
Select commit Hold shift + click to select a range
155c57c
base: Use font configs instead hardcoded fonts
neobuddy89 Jun 4, 2022
0064597
Fix Wakelock issue
ponces Feb 2, 2021
9b6c422
Keyguard: Allow disabling fingerprint wake-and-unlock
May 2, 2016
50d8358
Keyguard: Allow user configurable fingerprint wake-and-unlock
althafvly Jun 29, 2022
f6362bd
KeyguardUpdateMonitor: Destroy our settings observer when necessary
jhenrique09 Aug 10, 2022
edf915c
FingerprintManager: Fix NPE due to sensorProps
alibei Jan 25, 2022
eaa2f59
base: Allow disabling ripple effect on unlock [1/2]
r1shwn Jan 10, 2022
10057c9
SystemUI: Fix method for disabling unlock ripple animation
nullxception Jan 19, 2022
1dde852
SystemUI: Allow overlaying max notification icons
luk1337 Aug 24, 2018
b3672a2
sysUI: remove dup perm
USA-RedDragon Oct 30, 2021
29a1568
fwb: webview: Add appropriate logging
USA-RedDragon Dec 24, 2021
41846f4
Biometrics: Allow disabling of fingerprint cleanups
phhusson Nov 26, 2021
3698c75
BiometricScheduler: Cancel operation if not idle
SagarMakhar Dec 29, 2021
f1ec7e3
fwb: Only enable some features on eng build
1582130940 Aug 10, 2021
b7a6ef9
fwb: Disable some debug/log/trace
1582130940 Aug 9, 2021
991ae3b
SystemUI: Enable production-ready feature flags
kdrag0n Mar 14, 2022
61297e9
SystemUI: Remove nav bar background in QS customizer
kdrag0n Oct 12, 2021
9a4bd66
SystemUI: Fix QS status font weight mismatch in dark mode
kdrag0n Oct 6, 2021
03daa24
SystemUI: Use geometric 6 and 9 glyphs in PIN entry keypad
kdrag0n Oct 25, 2021
cbaa544
SystemUI: use google sans font for lockscreen clock
djchittoor Dec 8, 2021
21ac179
styles: Use user fonts for Material UI themes
kdrag0n Jul 8, 2021
b5717a8
graphics: Override system fonts with user-selected overlays
kdrag0n Jul 8, 2021
c8f8639
AlarmManager: Handle all gms exact alarm denials
kdrag0n Oct 20, 2021
19d2889
fonts: Use fallback variant of Roboto
kdrag0n Jun 8, 2021
84d9918
SystemUI: Use AVCProfileMain for screen recorder
arco Nov 5, 2020
6b683f5
SystemUI: allow to limit the max framerate of built-in screen recorder
nullbytepl Feb 6, 2021
9a6b2f9
screenrec: Save recordings in ScreenRecords
eldainosor Oct 1, 2020
036fc06
Screenrecord: Allow to select AVC codec profile level
iusmac Aug 9, 2022
3d457cc
Fonts: Add regular / light font config
neobuddy89 Jan 5, 2020
41975e8
WallpaperService: Fix half black wallpaper after rotating quickly
Sep 17, 2018
09664d8
PackageManager: Allow disabling components per-device
BadDaemon Oct 28, 2019
b279e1b
KeyguardIndication: Fix glitchy charging info on lockscreen
neobuddy89 Jan 30, 2022
fc01813
NetworkPolicyManagerService: turn this into just a warning
xdevs23 Feb 20, 2021
ab0e32d
StatusBarIconController: Guard yet another function from cast exception
idoybh Nov 11, 2020
88b896a
Catch IllegalArgumentException for invalid phone id
Jul 9, 2021
a456577
frameworks: Fix null pointer Issue
Jun 4, 2017
82822b9
SystemUI: Tiny expanding improvement
kaluoshi Nov 13, 2014
951fbcd
aapt: Speed up the style pruning
crpalmer Jan 4, 2016
4a4ceb1
aapt: Use a std::map instead of a SortedVector
crpalmer Jan 5, 2016
6350e46
Crash occured due to null pointer exception.
Oct 6, 2017
8ad7fc5
Cache KeyStoreService
nyancrimew Jun 5, 2018
b320f1b
(Point) Only calculate sin and cos once
nyancrimew Aug 24, 2018
99b1aab
Cache pin algorithms in PinSet
nyancrimew Jun 4, 2018
44da2c8
core: PinSet: fixup and improve code
jhonboy121 Oct 29, 2021
b2b2694
Fix action bar font family on material themes
jhenrique09 Feb 6, 2019
76b8a98
SystemUI: Use max Display.Mode in AuthController as well
luk1337 Sep 18, 2022
284ef3e
Reland "Don't enable jdwp by default on userdebug builds""
Sep 15, 2022
55bd26f
SettingsLib: Use framework resource for headline font
adithya2306 Aug 19, 2022
eaa57eb
SystemUI: Re-inflate keyguard statusbar on theme change
adithya2306 May 26, 2022
cccc500
Fixes crash (race cond) when destroyActivity.
Mar 12, 2019
989271b
improve PendingIntent security check compatibility
thestinger Mar 18, 2022
64c14cb
Avoid Settings app NPE on broken packages
Jul 30, 2022
7933845
exec spawning: don't close the binder connection when the app crashes
muhomorr Aug 8, 2022
8e26612
SystemUI: Name Cellular Tile based on carrier
Jun 7, 2018
d4a0e3a
SQLiteDatabase: Catch corrupt exception during transaction
Nov 7, 2013
678760f
SQLite: Do integrity_check only once
yongiljangLG Mar 4, 2014
8ba1efd
ParcelFileDescriptor: Stop the panic
Nov 22, 2016
dca98a3
AutoFillUI: Don't show a "null" toast
idoybh Oct 23, 2020
3eacb03
SystemUI: Enable smart replies for apps that target APIs lower than 28
lzlrd Aug 12, 2020
cce96cf
base: Set ic_avatar_user and ic_avatar_guest_user to follow system ac…
elpaablo Jul 21, 2021
6583cc4
services: fonts: use a simple sha512 hash based file verification system
jhonboy121 Dec 9, 2021
9e632e1
ThemedResourceCache: Replace ArrayMap with HashMap for performance
kdrag0n Mar 25, 2021
7acd14d
LocalServices: Replace ArrayMap with HashMap for performance
kdrag0n Apr 6, 2021
9b45a64
SystemServiceRegistry: Replace ArrayMap with HashMap for performance
kdrag0n Apr 6, 2021
6e08ffa
LayoutInflater: Opportunistically create views directly for performance
kdrag0n Apr 6, 2021
530976d
InsetsStateController: Replace ArrayMap with HashMap for performance
kdrag0n Oct 6, 2021
4b1102e
SystemUI: Reduce scrim color animation duration to 375 ms
kdrag0n Oct 6, 2021
3b2cacc
base: Black theme [1/3]
SagarMakhar Jan 12, 2022
7217a0f
Fixes and improvements for Black Theme
neobuddy89 Apr 16, 2022
09e1f34
Set navbar color for device default settings theme
neobuddy89 Aug 9, 2022
d151c79
Don't skip theme application if it's already current
mikeNG Aug 24, 2022
ce02f77
SystemUI: add edge light customizations [1/2]
jhonboy121 Jan 9, 2022
5aa7ad3
Add Flashlight blink on incoming calls [1/3]
PMS22 Dec 16, 2019
a2162b6
Phone ringtone setting for Multi SIM device [1/3]
Dec 22, 2020
a2c680c
Squashed patches for UDFPS customizations
SagarMakhar Dec 21, 2021
0788596
base: Allow to flash on call only when entirely silent [1/3]
idoybh Jun 10, 2020
513a41d
base: Add DND & Rate settings to flash on call [1/3]
idoybh Jun 13, 2020
dd00378
Add back increasing ring feature (1/3)
maniac103 Sep 18, 2019
4f2045c
BatteryService: Add Warp charging support
SKULSHADY Dec 5, 2019
578a93d
BatteryService: Add support for oem fast charger detection
neobuddy89 Jun 26, 2021
7f1a1c7
SystemUI: Introduce DataSwitchTile
Myself5 Nov 26, 2019
8fa9931
DataSwitchTile: collapse notification panel onClick
DennySPB Dec 5, 2019
6e65d0e
DataSwitchTile: dont show toast on click
micky387 Mar 11, 2020
969073f
SystemUI: Show carrier name of opposite slot in DataSwitch tile label
DennySPB Nov 17, 2020
d9d036e
SystemUI: Port brightness slider changes
Alberto97 Oct 14, 2017
7ad6e3a
Allow tuning position for brightness slider
maxwen Apr 3, 2018
c90b71f
Revert "Remove QQS brightness controller"
marshmello61 Aug 31, 2022
e719952
Bring back QQS brightness slider
neobuddy89 Mar 27, 2022
963c0d4
Brightness slider: Fix issues with media mode
neobuddy89 Mar 31, 2022
1ceb9a4
SystemUI: Refactor brightness slider paddings
minaripenguin May 30, 2022
881b239
SystemUI: Clean up and fix QQS Brightness slider padding
timjosten Jul 1, 2022
dc63e98
EdgeBackGesture: Remove assistant action
DennySPB Feb 18, 2022
b952842
Advanced gestures: reorder actions [1/2]
DennySPB Apr 26, 2022
8484a30
AdvancedGestures: Use Syberia utils for screenshot action
DennySPB Sep 29, 2022
00bac22
Display actual charge tech in battery settings [1/2]
SKULSHADY Dec 14, 2019
c1f6f4f
base: Introduce PropImitationHooks
gotenksIN Sep 1, 2022
8f06f05
PIHooks: Alter model name to avoid SafetyNet HW attestation
kdrag0n Oct 12, 2021
a917cb0
PIHooks: Spoof device as Pixel for some Google apps
adithya2306 Sep 18, 2022
a3b5445
PIHooks: Use Nexus 6P fingerprint for CTS/Integrity
Dyneteve Aug 23, 2022
9b3f36d
Revert "Pre-emptively take a snapshot when finishing an activity befo…
kdrag0n Apr 6, 2021
910308e
SystemUI: Enable session-based media actions for all apps
adithya2306 Aug 20, 2022
21c4725
CtsWindowManagerDeviceTestCases android.server.wm.KeyguardTests#testR…
Sep 19, 2022
63265a5
Fix crash when trying to dismiss dialog
shawnlinboy Sep 23, 2022
794602a
NativeMessageQueue: ensure nativeDestroy success
Sep 8, 2022
bbacad5
DeviceIdleJobsController: don't ignore whitelisted system apps
muhomorr Jul 7, 2022
721d927
input: introduce new navigation bar key event source
kaluoshi Dec 8, 2015
30147f0
Navbar: Switch gesture navbar to new navigation bar key event source
Feb 22, 2020
0895d32
Fix black screen issue due to wallpaper decoding exceptions
Dec 9, 2020
baadb97
SystemUI: Calculate paged QS tiles height properly
adithya2306 May 29, 2022
f3fc1e9
SystemUI: Only apply tuning changes when the fragment is attached
libxzr Mar 5, 2022
a7ed178
Use alphaoptimized layout for icons on left
neobuddy89 Sep 30, 2018
baaf15b
Properly apply dark theming to clock
neobuddy89 Dec 11, 2021
c2baebd
Use `timeout -i` to distinguish cases where logcat is making progress.
enh-google Aug 8, 2022
59c0f00
SystemUI: Fix pulseOut fails before fully pulsing
libxzr Aug 16, 2021
690ba51
base: introduce app lock [1/4]
jhonboy121 Feb 1, 2022
8681dd0
base: applock: refactor
jhonboy121 Sep 16, 2022
32355cd
services: applock: allow background authentication
jhonboy121 Sep 28, 2022
c7be5eb
Update RU translation
DennySPB Sep 30, 2022
3f0534e
Merge changes for launching wifidisplay from system settings
Mar 23, 2018
ec9f200
WifiDisplayController: handle preexisting p2p connection status
Jul 19, 2018
139fe3a
UpdateEngine: Add perf mode binder interface
luca020400 Jul 10, 2018
ace672e
Fix dupe string in RU translation
DennySPB Sep 30, 2022
cca1205
pre-grant POST_NOTIFICATIONS to the clock app
muhomorr Aug 22, 2022
0236115
graphics: Add ZCAM implementation with sRGB interface
kdrag0n Oct 7, 2021
6198d70
ColorStateList: Switch to ZCAM for lightness modulation
kdrag0n Oct 6, 2021
46562dd
WallpaperColors: Use CIELAB for light/dark wallpaper detection
kdrag0n Oct 5, 2021
612eb25
graphics: Blend ARGB colors using Oklab
kdrag0n Oct 5, 2021
01932df
ColorUtils: Prevent crash if alpha component is translucent
neobuddy89 Jan 10, 2022
eca49cf
ColorUtils: Fix out-of-gamut Oklab blending
kdrag0n Feb 8, 2022
34feaec
IllustrationPreference: Hide illustration when we fail to play anim
luk1337 Jun 9, 2022
3db3475
Remove wtf if no display nits mapping exists
adelva1984 Jun 27, 2022
eaf2931
Fix unqualified-std-cast-call compiler warning
DonghongWeng Aug 16, 2022
d7932ff
SystemUI: Allow UdfpsAnimations to work with multiple resolutions
AnierinBliss Sep 24, 2022
f8d9389
Fix NPE with void android.view.VelocityTracker.clear()
Nov 16, 2018
417388a
SystemUI: fix MediaProjection cast crash
pawitp Dec 20, 2014
9a0ad71
Add a new file for the boot image.
Jul 11, 2022
4185343
Do not preload ThreadLocalRandom class.
Yqwed Jun 9, 2022
174b338
SystemUI: More rounded corners
Lucchetto Aug 29, 2018
4405a31
core: Fix menu popup ripple
timjosten Jun 27, 2022
69dac40
AlertSlider: Allow UI to work with multiple resolutions
AnierinBliss Sep 18, 2022
3a2e362
SystemUI: Export RecordingService for External Usage
cjybyjk Jul 7, 2021
9d77c8f
SystemUI: Add support for GameSpace
nullxception Dec 27, 2021
05bf83d
SystemUI: Update gamespace for A13
Genkzsz11 Aug 28, 2022
52cfa7e
GameSpaceManager: restrict broadcast to MANAGE_GAME_MODE holders only
nullxception Aug 28, 2022
1f09e6c
GameSpaceManager: Update TaskStack listener usage
nullxception Aug 28, 2022
43429c3
base: add API for disabling gestural navigation
ezio84 Dec 3, 2021
ec37fe6
Feature: reticker [1/2]
Dil3mm4 Nov 12, 2020
ab8e0f4
reTicker: Do not show when content/icon is null
cjh1249131356 May 17, 2022
fe836d4
Properly update view for reTicker
neobuddy89 Apr 5, 2022
c91fdaf
Use Tuner API for reTicker settings
neobuddy89 Apr 5, 2022
e0953ab
reTicker: Cleanup
cjh1249131356 May 21, 2022
c4c7327
Merge tag 'android-13.0.0_r7' of https://android.googlesource.com/pla…
DennySPB Oct 4, 2022
530c471
PixelProps: Update raven fingerprint to October 2022 release
joeyhuab Oct 3, 2022
7d914f8
SystemUI: Add QS tile layout settings [1/2]
maxwen Dec 22, 2021
4bdefc6
SystemUI: Fix qs tile vertical layout scrolling
minaripenguin Jun 19, 2022
041576a
SystemUI: Tune QS tile dimensions
minaripenguin Aug 7, 2022
a99a57a
SystemUI: Improve vertical QS tile layout & animation
timjosten Aug 21, 2022
2619750
SystemUI: Update and fix QS tile layout settings
neobuddy89 Aug 28, 2022
71e1421
[SQUASH] Revert GLES v2 implementation
RealJohnGalt Sep 22, 2022
a187862
Remove calls to client while holding lock
Sep 6, 2022
0816a93
Do not crash when duplication found in merged imsi list
Aug 29, 2022
26f966c
Allow dreams to redraw when device is rotated.
truongvi Aug 16, 2022
5b86693
Fix double wallpaper attachment (race) when it is gone
Sep 29, 2022
94819b6
SystemUI: Make QS panel change on UI mode changes
kdrag0n Oct 7, 2021
57b8166
Revert "Do not re-inflate QS and SB when CONFIG_UI_MODE"
kdrag0n Oct 7, 2021
dc79b25
SystemUI: Follow light/dark theme in quick settings
kdrag0n Oct 12, 2021
bf191a3
SystemUI: Initialize QS tiles in inactive state
kdrag0n Oct 12, 2021
57f7a0a
SystemUI: Add dual-tone light and dark themes for QS
kdrag0n Oct 12, 2021
746f2c1
SystemUI: Fix QS clock overlapping on UI mode change
adithya2306 May 26, 2022
1768e5c
SystemUI: Follow light/dark theme in power menu
kdrag0n Mar 9, 2022
d35e1e3
SystemUI: QSCustomizer: Fix QS tile reset text color
althafvly Sep 28, 2022
3a5b8e9
SystemUI: Fix QS header clock color
maniac103 Jul 20, 2022
dd750d6
Allow to suppress notifications sound/vibration if screen is ON [1/2]
ezio84 Jan 4, 2018
c4eab60
SystemUI: Add Sound tile to Quick Settings
Oct 16, 2021
8e45aab
SystemUI: Update SoundTile
eyosen Feb 26, 2019
c33bc4b
SystemUI: QS: SoundTile: Don't toggle DND
agxpro Oct 8, 2019
2ff5dcc
Do not brighten when dim state or low power mode.
Sep 6, 2022
2a65c61
NfcA: Fix an NPE in constructor
guchito9 Jan 6, 2021
1ccbb3f
SystemUI: Reset to textColorPrimaryInverse for light theme
XayahSuSuSu Aug 19, 2022
b7998dd
SystemUI: Add caffeine QS tile
Nov 10, 2020
4054c74
core: Fix toast background color not changing with theme
SuperDroidBond Sep 11, 2022
15ad939
ServiceRegistry: Don't throw an exception if OEM_LOCK is missing
Tortel Jan 27, 2019
f1300c8
Fix MtpDatabase multithreading NullPointerException
Jul 5, 2018
d76808b
Fix incorrect context classloader initialization in system_server
Apr 6, 2017
6b72e7c
InputWrapper: Opt out early if session == null
kufikugel Jul 18, 2014
cdd908e
wm: Passing a new ArraySet instance to avoid crash
Sep 28, 2017
1d6ee4f
SystemUI: UdfpsAnimation: Don't run scaleFactor on mAnimationSize
AnierinBliss Oct 6, 2022
7360d31
SystemUI: BatteryMeterView: Set white tint in darkmode
althafvly Oct 5, 2022
22cfd83
ProcessList: Silence lmkd retries logspam
minaripenguin Aug 19, 2022
eaa8510
config: Allow gms to access persistent data partition
Demon000 Aug 10, 2017
59f1fe7
fix error com.google.android.gms.persistent
IronSharpensIron2717 Nov 13, 2019
e78bdd8
view: add null check for dispatch touch view
Oct 9, 2018
5fa16ff
SystemUI: Fix SystemUI Crash
Jul 7, 2017
457ce84
biometrics: Fix udfps races
xNombre Sep 25, 2022
7ec81ec
Allow using 4G icon instead LTE [1/2]
neobuddy89 Jul 19, 2017
2405e1d
Make LoadClass collect garbage as promised
hboehm Jul 11, 2022
05e4c70
Fix stack-use-after-scope for a `std::string`
stephenhines Oct 6, 2022
9d1032b
Add null checks
Colecf Sep 26, 2022
b02c70c
Toast: Fix ActivityRecord does not attached to process
hupeng3 Sep 23, 2022
a817e39
Unpin staledataclass-annotation-processor from Java 8
sbgoog Sep 27, 2022
d7f6cd3
Add ABS_MT_SLOT config to virtual touch screen.
Sep 27, 2022
59632b1
Add null pointer check to avoid system crash.
HJessie May 10, 2022
e9f5ede
Explicitly discard released proto strings.
tweenk Sep 25, 2022
011b711
Replace usages of Context.getUserId() by Context.getUser()
Sep 27, 2022
556d20d
Run additional compat checks for checkapi
Sep 21, 2022
8fbd76a
fix: isMultiUserSupported in TestDevice does not reflect real value
annathedroid Sep 16, 2022
25aa7c8
Fix SuspendPackageHelperTest after Kotlin 1.7.20
wangchaohui Oct 6, 2022
15d2b7e
Add FULL_ACCESS_CELL_BROADCAST_HISTORY permission to shell for CellBr…
hyeinforgit Sep 26, 2022
6ebbb0d
Allow passing in a category override to aapt2
Sep 30, 2022
b6104ee
Fix IndexOutOfBoundsException in onAnimationFinished of RemoteAnimati…
Jul 9, 2022
4db49a3
Switch to source build of JavaPoet.
tweenk Sep 14, 2022
85db064
Prefer valueOf() to boxed primitive constructors
ohodson Sep 14, 2022
61d142c
make sure mSurfaceLock.unlock can be executed in unlockCanvasAndPost
Sep 5, 2022
1291632
Telephony: Fix the record output
Aug 23, 2022
ad5c92e
app_process: Fix className check
Aug 24, 2022
fcce290
Move SkiaCanvas::Clip above SkiaCanvas::SkiaCanvas
rprichard Aug 27, 2022
5de2252
Prevent FGS notification from exceeding allowed
Aug 25, 2022
3260ef9
Fix sticky firstEventAfterDiscontinuity setting
bduddie Sep 9, 2022
f097a2d
Fix exception caused by system app setting wallpaper
Sep 8, 2022
341d8ac
Fix the problem that system apps cannot drag
Sep 8, 2022
9da73be
profcollect: Fix possible NPE in ProfcollectBGJobService
kongy Sep 14, 2022
6f1e0d0
Prefer `Boolean.valueOf()` to `new Boolean()`
ohodson Sep 13, 2022
7f8e140
LayoutInflater: remove less frequently used apps
xdevs23 Jun 30, 2022
1755f64
BatteryMeterView: Fix NPE that occurs when onDensityOrFontScaleChange…
spezi77 Jan 7, 2022
64c6a40
development: Address NPE when removing preferences out of developer o…
Sep 23, 2018
a340806
SystemUI: Remove alarm from statusbar icon blocklist
adithya2306 Aug 19, 2022
3501c87
Paint: Enable subpixel text positioning by default
kdrag0n Oct 6, 2021
69e000a
Sharesheet: Display two rows of max ranked targets
luk1337 Oct 28, 2020
bc5e9e6
Dark Theme "TURN ON UNTIL SUNRISE" is not retained after reboot
Jul 20, 2021
8de26e2
SystemUI: Apply surface color to brightness icons
hpnightowl Nov 12, 2021
b0bfa69
SystemUI/statusbar icons: Remove dupe alarm item
DennySPB Oct 11, 2022
16ef732
base: fix list style alert dialog to use system font
maxwen Jan 16, 2020
079161b
Link dialog radius to config_dialogCornerRadius
Lucchetto Aug 30, 2018
f92a93a
monet: Fix overly low chroma for tones below 90
kdrag0n Mar 19, 2022
30356c3
SystemUI: Use colorkt-based dynamic theme engine for Monet
kdrag0n Oct 6, 2021
000acda
Update RU translation
DennySPB Oct 12, 2022
48c28a3
SystemUI: Add colors to assistant animation
suphon-t Sep 14, 2019
07ddc49
display: Don't spam log when display state changes
adithya2306 Apr 14, 2021
c311faa
Power Menu animations [1/2]
Nov 17, 2018
8225879
Base: Add 7 more power menu animations [1/2]
westcripp Nov 18, 2018
ba95722
Add animations to quick settings tiles [1/2]
Nico60 May 16, 2016
6061910
Remove resource overlay check in FP wake and unlock
DennySPB Oct 13, 2022
e7572c5
Add interpolators to qs tiles animation [1/2]
Nico60 May 29, 2016
f02d6b7
fixup! CollapsedStatusbar: Fix phantom spaces in status bar
neobuddy89 Oct 13, 2022
d2eceaa
SystemUI: Set launcher activity name
adithya2306 Jul 27, 2022
bc008ea
[fixup] base: SystemUI: Allow user to add/remove QS with one click
andrzejressel Aug 8, 2017
0c00f58
PixelCopy: align with legacy GLConsumer::computeTransformMatrix
Jul 3, 2022
5f56113
add fsync when copy native libs
llping2010 Jan 21, 2022
0998f8c
Fix crash when init QrCamera to start preview
shawnlinboy Oct 17, 2022
4add9b8
Test DC fix
tetsuo55 Nov 7, 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.
10 changes: 10 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ java_library {
"com.android.sysprop.init",
"com.android.sysprop.localization",
"PlatformProperties",
"vendor.lineage.livedisplay-V2.0-java",
"vendor.lineage.livedisplay-V2.1-java",
],
sdk_version: "core_platform",
installable: false,
Expand Down Expand Up @@ -288,6 +290,14 @@ java_defaults {
"staledataclass-annotation-processor",
"error_prone_android_framework",
],
// Exports needed for staledataclass-annotation-processor, see b/139342589.
javacflags: [
"-J--add-modules=jdk.compiler",
"-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
"-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED",
"-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
"-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
],
required: [
// TODO(b/120066492): remove default_television.xml when the build system
// propagates "required" properly.
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
1 change: 1 addition & 0 deletions apct-tests/perftests/core/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<application>
<uses-library android:name="android.test.runner" />
<profileable android:shell="true" />
<activity android:name="android.perftests.utils.PerfTestActivity"
android:exported="true">
<intent-filter>
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 @@ -73,7 +73,7 @@ void addPowerSaveTempWhitelistAppDirect(int uid, long duration,

boolean isAppOnWhitelist(int appid);

int[] getPowerSaveWhitelistUserAppIds();
int[] getPowerSaveWhitelistAppIds();

int[] getPowerSaveTempWhitelistAppIds();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2089,14 +2089,14 @@ public boolean isAppOnWhitelist(int appid) {
}

/**
* Returns the array of app ids whitelisted by user. Take care not to
* Returns the array of whitelisted app ids. Take care not to
* modify this, as it is a reference to the original copy. But the reference
* can change when the list changes, so it needs to be re-acquired when
* {@link PowerManager#ACTION_POWER_SAVE_WHITELIST_CHANGED} is sent.
*/
@Override
public int[] getPowerSaveWhitelistUserAppIds() {
return DeviceIdleController.this.getPowerSaveWhitelistUserAppIds();
public int[] getPowerSaveWhitelistAppIds() {
return DeviceIdleController.this.getAppIdWhitelistInternal();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
import android.text.format.DateFormat;
import android.util.ArrayMap;
import android.util.ArraySet;
import android.util.EventLog;
import android.util.IndentingPrintWriter;
import android.util.Log;
import android.util.LongArrayQueue;
Expand Down Expand Up @@ -2299,7 +2300,11 @@ void setImpl(int type, long triggerAtTime, long windowLength, long interval,
+ " reached for uid: " + UserHandle.formatUid(callingUid)
+ ", callingPackage: " + callingPackage;
Slog.w(TAG, errorMsg);
throw new IllegalStateException(errorMsg);
if (callingUid != Process.SYSTEM_UID) {
throw new IllegalStateException(errorMsg);
} else {
EventLog.writeEvent(0x534e4554, "234441463", -1, errorMsg);
}
}
setImplLocked(type, triggerAtTime, triggerElapsed, windowLength, interval, operation,
directReceiver, listenerTag, flags, workSource, alarmClock, callingUid,
Expand Down Expand Up @@ -5722,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
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void onReceive(Context context, Intent intent) {
case PowerManager.ACTION_POWER_SAVE_WHITELIST_CHANGED:
synchronized (mLock) {
mDeviceIdleWhitelistAppIds =
mLocalDeviceIdleController.getPowerSaveWhitelistUserAppIds();
mLocalDeviceIdleController.getPowerSaveWhitelistAppIds();
if (DEBUG) {
Slog.d(TAG, "Got whitelist "
+ Arrays.toString(mDeviceIdleWhitelistAppIds));
Expand Down Expand Up @@ -132,7 +132,7 @@ public DeviceIdleJobsController(JobSchedulerService service) {
mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
mLocalDeviceIdleController =
LocalServices.getService(DeviceIdleInternal.class);
mDeviceIdleWhitelistAppIds = mLocalDeviceIdleController.getPowerSaveWhitelistUserAppIds();
mDeviceIdleWhitelistAppIds = mLocalDeviceIdleController.getPowerSaveWhitelistAppIds();
mPowerSaveTempWhitelistAppIds =
mLocalDeviceIdleController.getPowerSaveTempWhitelistAppIds();
mDeviceIdleUpdateFunctor = new DeviceIdleUpdateFunctor();
Expand Down Expand Up @@ -191,7 +191,7 @@ public void setUidActiveLocked(int uid, boolean active) {
}

/**
* Checks if the given job's scheduling app id exists in the device idle user whitelist.
* Checks if the given job's scheduling app id exists in the device idle whitelist.
*/
boolean isWhitelistedLocked(JobStatus job) {
return Arrays.binarySearch(mDeviceIdleWhitelistAppIds,
Expand Down
2 changes: 2 additions & 0 deletions api/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.PHONY: checkapi
checkapi: frameworks-base-api-current-compat frameworks-base-api-system-current-compat frameworks-base-api-module-lib-current-compat
8 changes: 5 additions & 3 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 Expand Up @@ -334,7 +336,7 @@ int main(int argc, char* const argv[])

if (zygote) {
runtime.start("com.android.internal.os.ZygoteInit", args, zygote);
} else if (className) {
} else if (!className.isEmpty()) {
runtime.start("com.android.internal.os.RuntimeInit", args, zygote);
} else {
fprintf(stderr, "Error: no class name or --zygote supplied.\n");
Expand Down
2 changes: 1 addition & 1 deletion cmds/bootanimation/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ cc_library_shared {
"libui",
"libjnigraphics",
"libEGL",
"libGLESv2",
"libGLESv1_CM",
"libgui",
],
}
Loading