Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
462 commits
Select commit Hold shift + click to select a range
6f19f78
base: SystemUI: add keyguard weather style (1/2)
eyosen Dec 22, 2018
3cdd5df
WeatherTile: Start Google Weather on LongClick
LorDClockaN Mar 6, 2017
13036b4
Weather tile longclick: alternative weather apps when google weather …
SpiritCroc Mar 8, 2017
ac9b49d
Weather tile: Use the alternate apps first
eldainosor Mar 22, 2018
379b513
base: SystemUI: make keyguard weather icon smaller
eyosen Dec 15, 2018
911b552
base: SystemUI: fix debug drawing lines for icon containers
maxwen Sep 5, 2018
51dc243
SystemUI: Show something usefull in the QS footer
33bca Sep 28, 2019
cae327e
base: Add a toggle for QS footer text [1/2]
idoybh Oct 17, 2019
f85e17b
SystemUI: Allow customizing footer text [1/2]
idoybh Nov 28, 2019
dce5fc7
Weather: Add switches to show city/temp on lockscreen [1/2]
mydongistiny Oct 8, 2018
af685eb
base: Correct top header
eldainosor Jan 16, 2020
266d0c2
base: make the custom tiles string clean
eldainosor Jan 16, 2020
7350bc4
qs footer: Tint build info as secondary text
eldainosor Jan 18, 2020
de6aa93
Powermenu: Give screen record it's own item [1/2]
ezio84 Dec 27, 2019
60a1325
WeatherTile: Send weather info to a Secondary Label
eldainosor Jan 18, 2020
65409ce
base: omnistyle: Stinky workaround for header shadow and tinted images
eldainosor Feb 3, 2019
91ca76b
base: Let's shrink file headers bigger than the device size
eldainosor Jan 19, 2020
b915c07
base: SystemUI: add QS rows and landscape rows config
maxwen Oct 15, 2019
489d2b9
Gesture nav Assistant handles: don't show them in lockscreen
ezio84 Jan 6, 2020
459cfdf
Allow using 4G icon instead LTE [1/2]
neobuddy89 Jul 19, 2017
aa635e3
SystemUI: bring back old style mobile data indicators
maxwen Nov 27, 2019
d2ad2ec
SystemUI: Add USE_OLD_MOBILETYPE to SettingsObserver
SKULSHADY Dec 3, 2019
aba4592
core: move OmniJaws client to its new home
eyosen May 23, 2019
ffb56b2
base: Enable haptic feedback even on Swipe gestures
eldainosor Feb 8, 2020
a9d0564
base: overlays: Hide pill in full gestural nav mode [1/2]
ganeshi4u Dec 27, 2019
599e2c5
LockscreenCharging: squashed (1/3)
tribual Aug 16, 2018
e1c4334
utils: Introduce FileUtils class
mikeNG Jun 13, 2016
af058f2
base: navigation mode settings [1/2]
maxwen Sep 25, 2019
bc8a86d
telephony: Conditionally ignore RSSNR signal level
Sep 11, 2019
e461454
CarrierConfigManager: enable LTE+ icon by default
xboxfanj Oct 19, 2019
d49ca9f
Disable/Enable screenshot sound
Jan 3, 2016
e16be49
policy: Add support for device alert sliders
Thecrazyskull Feb 23, 2020
b4321c0
SystemUI: Introduce user interface for Alert Sliders
Feb 24, 2020
a6b3606
base: SystemUI: hide ringer button if alert slider is present.
Herna1994 Feb 24, 2020
48951c4
base: add settings for device features
maxwen Nov 8, 2016
f073a43
fwb: Implement alternative device key handler
maxwen Aug 15, 2018
c13896e
Reenable home button wake.
Oct 15, 2018
fa42441
Fix current formating on lockscreen for devices, that report directly in
Oct 31, 2018
157dad4
ScreenshotSound: Fix playing screenshot's sound when camera's sounds …
xyyx Jan 12, 2017
a034be0
ScreenshotSound: Fix path for the file
SKULSHADY Oct 17, 2019
2c5a9c7
ScreenshotHelper: ignore timeout when taking partial screenshots
Demon000 Jan 20, 2020
782242a
SystemUI: Pass correct NetworkTemplate to CellularTile detail view
luk1337 Feb 2, 2020
61e4229
Updates to various icons:
dsandler Sep 13, 2019
4bcc9bf
SystemUI: Only add GarbageMonitor tile to default tiles on ENG builds
arco Feb 1, 2020
bfd24d5
Context-aware Bluetooth airplane mode
Oct 16, 2019
602d25c
Add upgrade step to fix system sounds issue
Chippa-a Jan 27, 2020
19876d2
RingtoneManager: Don't crash if the ringtone doesn't have a numerical ID
Tortel Jan 31, 2020
7f85a9c
Enlarge EPSILON to 0.01 for android.display.cts.DisplayTest#testModeS…
Jan 13, 2020
2f40a69
Allow zero stride
Jan 8, 2020
223ec89
SystemUI: Show charging status in addition to trust granted/transient…
Tortel Jan 21, 2020
87c2e25
Start BiometricService even if no hardware is present
aleasto Feb 24, 2020
c6ff61c
Pad ime_switcher same as navbar buttons
codingKerensa Feb 25, 2020
f09be3b
LockSettingsService : Restrict access to getpassword API
Nov 19, 2019
12efb63
SystemUI: Disable heads up debugging on non eng builds
aviraxp Mar 8, 2020
51f3086
Send battery low intent when battery warning boundary changed
Mar 7, 2020
21112c0
Sanitize Bluetooth device names without regex
dsandler Dec 3, 2019
bdb9665
MediaCodec: Release lock before calling onFrameRendered()
Nov 1, 2019
17c7be6
AlarmManagerService: Fix FWR before boot completed
May 11, 2018
f9f90b4
Revert "Fix enumerate corner case"
luk1337 Sep 10, 2019
d981f9a
Battery light: Add customization [1/2]
rabih May 19, 2019
ff59982
Battery light: Add api to force show led lights
ezio84 Feb 1, 2018
3149392
Notification light: Allow to customize notification led light [2/2]
ezio84 Sep 16, 2017
d7eef45
Notification light: Fix default color
ezio84 Sep 21, 2017
2f9b4e3
Notification light: Remove transparency from default color
dmd79 Oct 19, 2019
21788a8
Notification light: Fix white color [3/3]
dmd79 Oct 26, 2019
663d4b0
Notification light: Add an overlay for RGB led [2/2]
dmd79 Oct 27, 2019
34eeeb8
battery light: Use config_multicolorled overlay to set battery led color
dmd79 Apr 29, 2018
b4bf023
bugfix for noteResetVideoLocked
Mar 17, 2020
b914e3f
SystemUI: add optional back gesture vibration tick [1/2]
DennySPB Feb 20, 2020
5ba7e27
Always allow back gesture when there are transient bars showing
Oct 4, 2019
6679ff2
Allow to hide arrow for back gesture [1/2]
Nico60 Nov 18, 2019
604b880
SystemUI: Add new configuration for displaying Volte icon
Jun 29, 2018
0e67580
SystemUI: Fix volte icon doesn't update in real time
Aug 28, 2018
f989018
SystemUI: Refactor the feature of volte icon
Sep 11, 2018
1cb405b
Adapt to IMS registration changes.
bpeckham64 Nov 2, 2018
3772a53
SystemUI: Fix HD icon missing
Oct 17, 2018
a1d33d2
SystemUI: Query IMS state after CapabilityCallback is regisered
Dec 14, 2018
323ea0c
SystemUI: Enhancement for volte icon
Apr 25, 2019
bb86e81
base: Fix padding for VoLTE icon
xlxfoxxlx Dec 16, 2018
f11bb9d
VoLTE: Add New Minimal Icon
SuperDroidBond Oct 9, 2019
787ab7d
Fix VOLTE icon color on Light statusbar
Adarsh-MR Oct 19, 2018
4659da9
Add VOLTE icon toggle [1/2]
SagarMakhar Nov 18, 2018
fdf3e81
Status bar clock/date customizations [1/2]
kufikugel Sep 14, 2016
e34bda7
Revert "base: Enable haptic feedback even on Swipe gestures"
dinosnore1 Mar 21, 2020
71f097f
DozeUi: do not prepare for gentle wakeup
Demon000 Jan 7, 2020
7eb36f1
Fix AoD front scrim being opaque at DOZE_PULSING.
Feb 3, 2020
0a4715a
DO NOT MERGE Revert all scrim related changes in qpr
Oct 26, 2019
06a5414
base: Grant storage permission to Lawnchair
SuperDroidBond Feb 8, 2020
2fc8980
base: Smart Charging (1/4)
Lucchetto Mar 28, 2019
17754c5
Smart Charging: rework for using more common sysfs node [1/2]
DennySPB May 17, 2019
0c7e295
Smart Charging: allow using device overlays
DennySPB Sep 17, 2019
771e6ce
SmartCharging: allow user set resume level [1/2]
DennySPB Jun 18, 2019
ebe453e
SmartCharging: Change default overlays
Jackeagle Mar 1, 2020
8981939
Add battery styles and customizations for Android 10 [1/2]
neobuddy89 Oct 27, 2019
815d18b
base: Add Circle battery style from PA [1/2]
TheStrix Sep 1, 2019
91501eb
Text battery style: show a bolt ⚡ when charging
ezio84 Feb 13, 2018
82a9040
SystemUI: Bringup tuner statusbar changes
Rashed97 Oct 19, 2017
e33063c
TrafficSB: fix the icon overlap on notched devices
Bauuuuu Oct 10, 2019
fac8445
TraficSB: Refactor text formatting
ganeshi4u Oct 11, 2019
87ba7c1
NetworkTraffic: Fix static color usage
SpiritCroc Dec 12, 2018
bcf4193
NPE: Avoid casting network traffic to StatusBarIconView to prevent crash
SpiritCroc Nov 20, 2018
adeae99
base: Option to Display Data Disabled Indicator Icon [1/2]
varund7726 Sep 16, 2018
eb1ff24
Make roaming indicator optional [1/2]
neobuddy89 Mar 15, 2017
7b167c6
Merge tag 'android-10.0.0_r33' of https://android.googlesource.com/pl…
dinosnore1 Apr 8, 2020
ce0c23b
Permissions: Grant Google Markup perms
DennySPB Aug 26, 2019
7285451
Remove unnecessary battery meter view impl in keyguard statusbar
neobuddy89 Mar 9, 2020
d28a375
fwb: Port long screenshot implementation from Asus
jhenrique09 Aug 13, 2019
397aa5d
[3/4] Port face unlock feature
jhenrique09 Mar 26, 2020
327988b
UninstallAlertDialogFragment: Catch IllegalArgumentException
jhenrique09 Apr 5, 2020
77bfe9b
Revert "Add option to disable auto brightness icon in brightness slid…
dinosnore1 Apr 10, 2020
4e9dad5
Revert "Add auto brightness toggle to Quick Settings"
dinosnore1 Apr 10, 2020
2bffead
Revert "Revert "Remove unused auto brightness drawables.""
dinosnore1 Apr 10, 2020
b5c3280
Revert "QuickSettings: Option to disable brightness slider (1/2)"
dinosnore1 Apr 10, 2020
f37c52c
base: SystemUI: add prefs for qs brightness slider position (1/2)
maxwen Apr 3, 2018
83bafbf
base: SystemUI: fix brightness slider animation on qs expand
maxwen Sep 6, 2018
ca8033b
base: SystemUI: fix moving of qs brightness slider
maxwen Sep 20, 2019
c7dd2d4
Add auto brightness toggle to Quick Settings
maxwen Jan 3, 2016
8c5d4a0
Add option to disable auto brightness icon in brightness slider [1/2]
varund7726 Jan 7, 2016
15d6d91
SystemUI: QS: Hide the placeholder if brightness slider is on bottom
idoybh Dec 8, 2019
88bb63b
BrightnessDialog: dismiss on focus lost
Jertlok Feb 15, 2019
f38a52f
fwb: Conditionally set scaled brightness
TheScarastic Sep 21, 2019
85ca632
Fix automatic brightness QS toggle icon
SpiritCroc Oct 31, 2016
e7f3382
Fix brightness icon not showing
SpiritCroc Aug 11, 2017
a75d601
Rework auto brightness implementation
JBCDroid2 Nov 1, 2017
e6bbc6c
Make use of the brightness slider buttons
Nov 6, 2017
b682da1
Brightness slider: fix FC and code cleanup
ezio84 Nov 8, 2017
666f73f
Brightness slider buttons: make them dynamic (auto and manual)
ezio84 Nov 8, 2017
1627476
Brightness buttons: make touch area more reliable
ezio84 Nov 8, 2017
3e4aada
Brightness Buttons: Improve touch area
PMS22 May 13, 2018
227bb91
Brightness slider: Vibrate after a long press
PMS22 Apr 22, 2018
ee74da9
Brightness slider: fixes and improvements
ezio84 Nov 12, 2018
2f26b50
Adapt custom brightness actions to BrightnessDialog
Jertlok Nov 14, 2018
6aa4a26
Refresh QS brightness icon and improve its touch area and padding
ezio84 Nov 20, 2018
67acc56
Brightness slider + - buttons: use more granular values
ezio84 Nov 22, 2018
c8c1776
Brightness slider: Visual improvements
SKULSHADY Dec 12, 2019
73e14f8
base: SystemUI: enhance calendar link
maxwen Aug 20, 2018
1aace07
base: SystemUI: reduce padding between clock and notification area
maxwen Sep 5, 2018
3370903
SystemUI: Decrease battery icon size
SKULSHADY Sep 22, 2019
afa5a0c
base: SystemUI: enable qs DUAL_TARGET_ALLOWED = true
maxwen Aug 20, 2018
e375990
KeyguardClockPositionAlgorithm: Allow forcing default clockY positioning
Myself5 Jan 6, 2020
cbfe2e8
base: Order the clocks
eldainosor Apr 7, 2020
3d413db
Lockscreen Clock Widget Font Style [1/2]
Sep 12, 2018
34d79ff
lockfonts: add our fonts back
eldainosor Apr 18, 2020
3e5c0a3
lockfonts: Set GoBold back to default
eldainosor Apr 18, 2020
736ba45
base: Lockscreen Date Fonts [1/2]
varund7726 Oct 22, 2019
24bb471
lockdate: Add our fonts back
eldainosor Apr 18, 2020
1e98f75
clock: Implement custom date font support on custom clocks
eldainosor Apr 18, 2020
dbdf96a
Introduce bold digital and Samsung like lockscreen clocks
Myself5 Jan 7, 2020
98b8aef
Add device introduction initializers
Nov 17, 2018
9685224
base: Add Divided Lines Clock
eldainosor Apr 2, 2020
ee43358
SystemUI: implement better partial screenshot
Demon000 Jan 19, 2020
7cd0e9a
Partial screenshot: block gestures and heads up when running
ezio84 Dec 1, 2019
427c047
Partial screenshot: Layout improvements
Jan 28, 2020
fec659f
GlobalScreenshot: do not capture multiple screenshots simultaneously
Demon000 Feb 1, 2020
288174a
Partial screenshot block gestures/headsup: code improvements
Demon000 Feb 3, 2020
bb3af9c
Screenrecord: Start delayed
ezio84 Nov 29, 2019
6903ec7
ScreenRec: show MediaProjection permission warning only once
ezio84 Oct 27, 2019
e16d702
Screenrecord: Change save location and make sure dirs exist
Surge1223 Oct 11, 2019
9f2a0bc
Screenrec: allow to show a blinking red stop dot
ezio84 Oct 27, 2019
890142f
Unlink screenrecord toggle from featureflags and enable it
ezio84 Oct 27, 2019
c3b819c
Screenrec: use HEVC H.265 codec, add low quality option, fixes
ezio84 Oct 30, 2019
a7be11d
SystemUI: ScreenRec: Redesign the dialog
SKULSHADY Nov 11, 2019
be31da4
Screenrecord: fix possible SystemUI FC when stopping
ezio84 Nov 12, 2019
2d929e0
Screenrecord: fix FC when using custom dpi values
ezio84 Nov 14, 2019
f1cc15e
Screenrecord: remember last recording options
ezio84 Nov 29, 2019
c8a0182
Screenrecord: exclude dialog from Recents
ezio84 Nov 29, 2019
73bc4a1
Screenrecorder: don't show heads up notification
ezio84 Jan 3, 2020
ce66059
Add a new screenrecord icon for statusbar
Jan 4, 2020
0745e4b
Screenrecord dialog: Make it less ugly
Jan 27, 2020
5aca9a7
Screenrecord: Android R dev preview style dialog
Mar 19, 2020
52cb39f
base: Bring back the original Screen Recording PM item behavior
eldainosor Apr 5, 2020
3a4667a
ScreenRec: Put the recording icon in the recordie palette
eldainosor Apr 5, 2020
344c17a
Screenrec: Switch to low quality switch to a bitrate selector
eldainosor Apr 5, 2020
32a375e
Screen rec: Add support for AudioPlaybackCapture
eldainosor Apr 6, 2020
38059d6
base: Set a better screenrec notification icon
eldainosor Apr 8, 2020
a65fd8e
screenrec: Layout improvements and summary cleanup
SKULSHADY Apr 15, 2020
2c0a8d7
base: Implement square styled text clock
eldainosor Apr 5, 2020
65751b3
Revert "base: Implement square styled text clock"
eldainosor Apr 17, 2020
1fe810c
base: Add SFUNY clock
eldainosor Apr 6, 2020
4d58cd4
clock: Add Oroño clock
eldainosor Apr 7, 2020
d9352a1
clock: add Sammy highlight clock
eldainosor Apr 7, 2020
617eeda
TypeClock: Properly calculate the height
eldainosor Apr 17, 2020
d64d110
base: Allow switching to drawable for qs icons
simrat39 Mar 16, 2020
ac4ee4e
ImageUtilities: an utility that it's able to take screenshots via scr…
Dil3mm4 Feb 21, 2019
4be3f35
Blur behind quick settings
00day0 Jan 7, 2020
be3166c
update qs blur keyguard check
00day0 Jan 8, 2020
2ed3848
QSPanel blur: improve logic
Lucchetto Mar 11, 2020
84975b6
QSPanel blur: remove blur bitmap's tint
Lucchetto Mar 11, 2020
a635afe
QSPanel blur: refactor screenshot routine
Lucchetto Mar 11, 2020
7d01457
QSPanel blur: redraw blur on rotation
Lucchetto Mar 11, 2020
3dec519
QSPanel: remove navbar scrim
Lucchetto Mar 11, 2020
1354c41
QSPanel blur: increase bitmap scaling
Lucchetto Mar 11, 2020
69ae306
ImageUtilities: optimise blur performance
Lucchetto Mar 13, 2020
6c37dbd
QSPanel blur: fix crash with protected layers
Lucchetto Mar 13, 2020
910cefa
Make QS blur togglable [1/2]
00day0 Apr 5, 2020
95efd32
[1/2] Configurable QS Blur Radius
simrat39 Apr 14, 2020
0b62fe3
clocks: Introduce MNML clocks
eldainosor Apr 14, 2020
cceb5b8
TypeClock: bring back O’minute
skittles9823 Feb 4, 2020
61f51dd
Squash the Battery Bar [1/2]
bigrushdog Mar 21, 2020
c450067
pocket: introduce pocket judge
kaluoshi Oct 29, 2019
8740a25
policy: introduce pocket lock
kaluoshi Oct 29, 2019
e2b70ee
pocket: Add hardware acceleration and properly maintain SYSTEM_UI flags
Sep 26, 2017
8d8d9a7
PocketService: Adjust light sensor rate to 400ms
TheCrazyLex Aug 15, 2017
31ae55a
pocket: introduce pocket bridge
Oct 29, 2019
e01e9ba
pocket: Adjust sleep timeout for pocket lock view to 10 secs
TheStrix Mar 6, 2019
a0f2940
pocket: Fix pocket lock view for display cutouts
TheStrix Mar 6, 2019
f309075
Pocket lock improvements
jhenrique09 Oct 29, 2019
4bdbeff
pocket: Use MD2 lock drawable
SKULSHADY May 11, 2019
170b393
PocketLock: Remove animations
jhenrique09 Jul 6, 2019
d49ac9d
pocket: Reduce sleep timeout for pocket lock
RadixQube Jun 2, 2019
2b39477
Fonts: Wire up default fonts with font engine
neobuddy89 Dec 29, 2019
3f744b8
FODCircleView: place above other UI elements
Demon000 Dec 29, 2019
4c927bb
FODCircleView: rewrite and simplify implementation
Demon000 Dec 29, 2019
01253de
KeyguardView: report transiting bouncer as shown
Demon000 Dec 29, 2019
12d3628
FODCircleView: Add partial wakelock on aod
TheScarastic Dec 16, 2019
acd5f79
FODCircleView: Patch screen flickering
TheScarastic Jan 13, 2020
ef68b24
FODCircleView: Add MIUI FP icon
TheScarastic Jan 17, 2020
953f49e
FODCircleView: fix incorrect position on keyguard
00day0 Jan 20, 2020
f4d50dc
SystemUI: FOD icon picker [1/2]
00day0 Dec 16, 2019
4ce67e6
SystemUI: Add more FOD icons [1/2]
joeyhuab Jan 3, 2020
764e86c
FODCircleView: FOD pressed state [1/2]
joeyhuab Jan 15, 2020
efbb11b
FODCircleView: Dont change alpha of fod on AOD
00day0 Jan 10, 2020
55ce811
FODCircleView: Don't show circle if already Authenticated
Hikari-no-Tenshi Feb 7, 2020
30ab380
FODCircleView: only move in Y direction
00day0 Jan 27, 2020
3c3d009
FODCircleView: disable touch detection on screen off
Demon000 Feb 3, 2020
0c0bb26
FODCircleView: Recognizing fingerprint animation [1/2]
00day0 Jan 27, 2020
898c5ae
SystemUI: Recognizing FP animation effects [1/2]
joeyhuab Feb 8, 2020
7071652
SystemUI: Add OP Recognizing FP animations [1/2]
joeyhuab Feb 9, 2020
8a81721
SystemUI: Add PureView recognizing FP animations [1/2]
joeyhuab Feb 9, 2020
838e69e
FODCircleView: cleanup FOD customization techniques
nullxception Feb 10, 2020
4bd81cd
SystemUI: Add BlueFirework recognizing FP animation [1/2]
Starfelll Feb 13, 2020
7e2180d
FODCircleView: Fix position if cutout is hidden
jhenrique09 Jul 21, 2019
9c47b5d
FODCircleView: Fix position on keyguard if cutout is hidden
Hikari-no-Tenshi Feb 13, 2020
d0f2ca6
Settings: Add FOD icon picker settings values to backup
idoybh Feb 16, 2020
854f4ff
SystemUI: Add ColorOS7 recognizing FP animations [1/2]
Starfelll Feb 21, 2020
5aa9e41
SystemUI: Separate FODAnimation into it's own class
TheScarastic Feb 22, 2020
89ce5f3
SystemUI: Add new FOD pressed state icons [1/2]
joeyhuab Feb 23, 2020
b4c1b73
SystemUI: Nuke ColorOS7 recognizing FP animations NR1 [1/2]
tribual Apr 20, 2020
42a8356
SystemUI: Nuke Cosmos recognizing FP animations [1/2]
tribual Apr 20, 2020
d64d199
SystemUI: Nuke McLaren recognizing FP animations [1/2]
tribual Apr 20, 2020
2d8141c
SystemUI: Nuke OpWave recognizing FP animations [1/2]
tribual Apr 20, 2020
f73c8fc
SystemUI: Nuke DNA recognizing FP animations [1/2]
tribual Apr 20, 2020
f128ced
SystemUI: Nuke HALO Ring recognizing FP animations [1/2]
tribual Apr 20, 2020
41b06d4
SystemUI: Nuke AOD recognizing FP animations [1/2]
tribual Apr 21, 2020
666e77e
SystemUI: Nuke MIUI recognizing FP animations [1/2]
tribual Apr 21, 2020
c8d9c6c
SystemUI: Nuke POP recognizing FP animations [1/2]
tribual Apr 21, 2020
bcebc40
SystemUI: Nuke Pulse/Pulse White recognizing FP animations [1/2]
tribual Apr 21, 2020
7d04e69
SystemUI: Nuke Rythem recognizing FP animations [1/2]
tribual Apr 21, 2020
5ee74dd
SystemUI: Nuke some FOD icons and bootleg new FOD icons [1/2]
tribual Apr 21, 2020
ab79f60
FODAnimation: Allow to set vertical position offset
Hikari-no-Tenshi Mar 4, 2020
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ java_defaults {
"core/java/android/os/storage/IStorageShutdownObserver.aidl",
"core/java/android/os/storage/IObbActionListener.aidl",
"core/java/android/permission/IPermissionController.aidl",
"core/java/android/pocket/IPocketService.aidl",
"core/java/android/pocket/IPocketCallback.aidl",
":keystore_aidl",
"core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
"core/java/android/service/appprediction/IPredictionService.aidl",
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
10 changes: 10 additions & 0 deletions core/java/android/app/IActivityManager.aidl
Original file line number Diff line number Diff line change
Expand Up @@ -592,4 +592,14 @@ interface IActivityManager {
* unlockProgressListener can be null if monitoring progress is not necessary.
*/
boolean startUserInForegroundWithListener(int userid, IProgressListener unlockProgressListener);

/**
* Force full screen for devices with cutout
*/
boolean shouldForceCutoutFullscreen(in String packageName);

/**
* Should disable touch if three fingers to screen shot is active?
*/
boolean isSwipeToScreenshotGestureActive();
}
3 changes: 3 additions & 0 deletions core/java/android/app/INotificationManager.aidl
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,7 @@ interface INotificationManager
boolean getPrivateNotificationsAllowed();

long pullStats(long startNs, int report, boolean doAgg, out List<ParcelFileDescriptor> stats);

void forceShowLedLight(int color);
void forcePulseLedLight(int color, int onTime, int offTime);
}
72 changes: 70 additions & 2 deletions core/java/android/app/NotificationChannel.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public final class NotificationChannel implements Parcelable {
private static final String ATT_IMPORTANCE = "importance";
private static final String ATT_LIGHTS = "lights";
private static final String ATT_LIGHT_COLOR = "light_color";
private static final String ATT_ON_TIME = "light_on_time";
private static final String ATT_OFF_TIME = "light_off_time";
private static final String ATT_VIBRATION = "vibration";
private static final String ATT_VIBRATION_ENABLED = "vibration_enabled";
private static final String ATT_SOUND = "sound";
Expand Down Expand Up @@ -137,7 +139,9 @@ public final class NotificationChannel implements Parcelable {
USER_LOCKED_ALLOW_BUBBLE
};

private static final int DEFAULT_LIGHT_COLOR = 0;
private static final int DEFAULT_LIGHT_COLOR = 0xFFFFFFFF;
private static final int DEFAULT_ON_TIME = 0;
private static final int DEFAULT_OFF_TIME = 0;
private static final int DEFAULT_VISIBILITY =
NotificationManager.VISIBILITY_NO_OVERRIDE;
private static final int DEFAULT_IMPORTANCE =
Expand All @@ -156,6 +160,8 @@ public final class NotificationChannel implements Parcelable {
private Uri mSound = Settings.System.DEFAULT_NOTIFICATION_URI;
private boolean mLights;
private int mLightColor = DEFAULT_LIGHT_COLOR;
private int mLightOnTime = DEFAULT_ON_TIME;
private int mLightOffTime = DEFAULT_OFF_TIME;
private long[] mVibration;
// Bitwise representation of fields that have been changed by the user, preventing the app from
// making changes to these fields.
Expand Down Expand Up @@ -231,6 +237,8 @@ protected NotificationChannel(Parcel in) {
}
mAudioAttributes = in.readInt() > 0 ? AudioAttributes.CREATOR.createFromParcel(in) : null;
mLightColor = in.readInt();
mLightOnTime = in.readInt();
mLightOffTime = in.readInt();
mBlockableSystem = in.readBoolean();
mAllowBubbles = in.readBoolean();
mImportanceLockedByOEM = in.readBoolean();
Expand Down Expand Up @@ -285,6 +293,8 @@ public void writeToParcel(Parcel dest, int flags) {
dest.writeInt(0);
}
dest.writeInt(mLightColor);
dest.writeInt(mLightOnTime);
dest.writeInt(mLightOffTime);
dest.writeBoolean(mBlockableSystem);
dest.writeBoolean(mAllowBubbles);
dest.writeBoolean(mImportanceLockedByOEM);
Expand Down Expand Up @@ -420,6 +430,28 @@ public void setLightColor(int argb) {
this.mLightColor = argb;
}

/**
* Sets the notification light ON time for notifications posted to this channel, if lights are
* {@link #enableLights(boolean) enabled} on this channel and the device supports that feature.
*
* Only modifiable before the channel is submitted to
* {@link NotificationManager#notify(String, int, Notification)}.
*/
public void setLightOnTime(int time) {
this.mLightOnTime = time;
}

/**
* Sets the notification light OFF time for notifications posted to this channel, if lights are
* {@link #enableLights(boolean) enabled} on this channel and the device supports that feature.
*
* Only modifiable before the channel is submitted to
* {@link NotificationManager#notify(String, int, Notification)}.
*/
public void setLightOffTime(int time) {
this.mLightOffTime = time;
}

/**
* Sets whether notification posted to this channel should vibrate. The vibration pattern can
* be set with {@link #setVibrationPattern(long[])}.
Expand Down Expand Up @@ -565,6 +597,22 @@ public int getLightColor() {
return mLightColor;
}

/**
* Returns the notification light ON time for notifications posted to this channel. Irrelevant
* unless {@link #shouldShowLights()}.
*/
public int getLightOnTime() {
return mLightOnTime;
}

/**
* Returns the notification light OFF time for notifications posted to this channel. Irrelevant
* unless {@link #shouldShowLights()}.
*/
public int getLightOffTime() {
return mLightOffTime;
}

/**
* Returns whether notifications posted to this channel always vibrate.
*/
Expand Down Expand Up @@ -720,6 +768,8 @@ private void populateFromXml(XmlPullParser parser, boolean forRestore,

enableLights(safeBool(parser, ATT_LIGHTS, false));
setLightColor(safeInt(parser, ATT_LIGHT_COLOR, DEFAULT_LIGHT_COLOR));
setLightOnTime(safeInt(parser, ATT_ON_TIME, DEFAULT_ON_TIME));
setLightOffTime(safeInt(parser, ATT_OFF_TIME, DEFAULT_OFF_TIME));
setVibrationPattern(safeLongArray(parser, ATT_VIBRATION, null));
enableVibration(safeBool(parser, ATT_VIBRATION_ENABLED, false));
setShowBadge(safeBool(parser, ATT_SHOW_BADGE, false));
Expand Down Expand Up @@ -823,6 +873,12 @@ private void writeXml(XmlSerializer out, boolean forBackup, @Nullable Context co
if (getLightColor() != DEFAULT_LIGHT_COLOR) {
out.attribute(null, ATT_LIGHT_COLOR, Integer.toString(getLightColor()));
}
if (getLightOnTime() != DEFAULT_ON_TIME) {
out.attribute(null, ATT_ON_TIME, Integer.toString(getLightOnTime()));
}
if (getLightOffTime() != DEFAULT_OFF_TIME) {
out.attribute(null, ATT_OFF_TIME, Integer.toString(getLightOffTime()));
}
if (shouldVibrate()) {
out.attribute(null, ATT_VIBRATION_ENABLED, Boolean.toString(shouldVibrate()));
}
Expand Down Expand Up @@ -887,6 +943,8 @@ public JSONObject toJson() throws JSONException {
}
record.put(ATT_LIGHTS, Boolean.toString(shouldShowLights()));
record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor()));
record.put(ATT_ON_TIME, Integer.toString(getLightOnTime()));
record.put(ATT_OFF_TIME, Integer.toString(getLightOffTime()));
record.put(ATT_VIBRATION_ENABLED, Boolean.toString(shouldVibrate()));
record.put(ATT_USER_LOCKED, Integer.toString(getUserLockedFields()));
record.put(ATT_FG_SERVICE_SHOWN, Boolean.toString(isFgServiceShown()));
Expand Down Expand Up @@ -990,6 +1048,8 @@ public boolean equals(Object o) {
&& getLockscreenVisibility() == that.getLockscreenVisibility()
&& mLights == that.mLights
&& getLightColor() == that.getLightColor()
&& getLightOnTime() == that.getLightOnTime()
&& getLightOffTime() == that.getLightOffTime()
&& getUserLockedFields() == that.getUserLockedFields()
&& isFgServiceShown() == that.isFgServiceShown()
&& mVibrationEnabled == that.mVibrationEnabled
Expand All @@ -1011,11 +1071,15 @@ && isBlockableSystem() == that.isBlockableSystem()
@Override
public int hashCode() {
int result = Objects.hash(getId(), getName(), mDesc, getImportance(), mBypassDnd,
getLockscreenVisibility(), getSound(), mLights, getLightColor(),
getLockscreenVisibility(), getSound(), mLights,
getUserLockedFields(),
isFgServiceShown(), mVibrationEnabled, mShowBadge, isDeleted(), getGroup(),
getAudioAttributes(), isBlockableSystem(), mAllowBubbles,
mImportanceLockedByOEM, mImportanceLockedDefaultApp);

result = 31 * result + getLightColor();
result = 31 * result + getLightOnTime();
result = 31 * result + getLightOffTime();
result = 31 * result + Arrays.hashCode(mVibration);
return result;
}
Expand All @@ -1033,6 +1097,8 @@ public void dump(PrintWriter pw, String prefix, boolean redacted) {
+ ", mSound=" + mSound
+ ", mLights=" + mLights
+ ", mLightColor=" + mLightColor
+ ", mLightOnTime=" + mLightOnTime
+ ", mLightOffTime=" + mLightOffTime
+ ", mVibration=" + Arrays.toString(mVibration)
+ ", mUserLockedFields=" + Integer.toHexString(mUserLockedFields)
+ ", mFgServiceShown=" + mFgServiceShown
Expand Down Expand Up @@ -1061,6 +1127,8 @@ public String toString() {
+ ", mSound=" + mSound
+ ", mLights=" + mLights
+ ", mLightColor=" + mLightColor
+ ", mLightOnTime=" + mLightOnTime
+ ", mLightOffTime=" + mLightOffTime
+ ", mVibration=" + Arrays.toString(mVibration)
+ ", mUserLockedFields=" + Integer.toHexString(mUserLockedFields)
+ ", mFgServiceShown=" + mFgServiceShown
Expand Down
20 changes: 20 additions & 0 deletions core/java/android/app/NotificationManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -2084,4 +2084,24 @@ public static int zenModeFromInterruptionFilter(int interruptionFilter, int defV
default: return defValue;
}
}

/** @hide */
public void forceShowLedLight(int color) {
final INotificationManager service = getService();
try {
service.forceShowLedLight(color);
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}

/** @hide */
public void forcePulseLedLight(int color, int onTime, int offTime) {
final INotificationManager service = getService();
try {
service.forcePulseLedLight(color, onTime, offTime);
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}
}
27 changes: 16 additions & 11 deletions core/java/android/app/SystemServiceRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@
import android.os.storage.StorageManager;
import android.permission.PermissionControllerManager;
import android.permission.PermissionManager;
import android.pocket.IPocketService;
import android.pocket.PocketManager;
import android.print.IPrintManager;
import android.print.PrintManager;
import android.service.oemlock.IOemLockService;
Expand Down Expand Up @@ -944,20 +946,23 @@ public IrisManager createService(ContextImpl ctx)
@Override
public BiometricManager createService(ContextImpl ctx)
throws ServiceNotFoundException {
if (BiometricManager.hasBiometrics(ctx)) {
final IBinder binder =
ServiceManager.getServiceOrThrow(Context.BIOMETRIC_SERVICE);
final IBiometricService service =
IBiometricService.Stub.asInterface(binder);
return new BiometricManager(ctx.getOuterContext(), service);
} else {
// Allow access to the manager when service is null. This saves memory
// on devices without biometric hardware.
return new BiometricManager(ctx.getOuterContext(), null);
}
final IBinder binder =
ServiceManager.getServiceOrThrow(Context.BIOMETRIC_SERVICE);
final IBiometricService service =
IBiometricService.Stub.asInterface(binder);
return new BiometricManager(ctx.getOuterContext(), service);
}
});

registerService(Context.POCKET_SERVICE, PocketManager.class,
new CachedServiceFetcher<PocketManager>() {
@Override
public PocketManager createService(ContextImpl ctx) {
IBinder binder = ServiceManager.getService(Context.POCKET_SERVICE);
IPocketService service = IPocketService.Stub.asInterface(binder);
return new PocketManager(ctx.getOuterContext(), service);
}});

registerService(Context.TV_INPUT_SERVICE, TvInputManager.class,
new CachedServiceFetcher<TvInputManager>() {
@Override
Expand Down
6 changes: 5 additions & 1 deletion core/java/android/bluetooth/BluetoothDevice.java
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,11 @@ public String getName() {
try {
String name = service.getRemoteName(this);
if (name != null) {
return name.replaceAll("[\\t\\n\\r]+", " ");
// remove whitespace characters from the name
return name
.replace('\t', ' ')
.replace('\n', ' ')
.replace('\r', ' ');
}
return null;
} catch (RemoteException e) {
Expand Down
10 changes: 10 additions & 0 deletions core/java/android/content/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -4685,6 +4685,16 @@ public abstract boolean startInstrumentation(@NonNull ComponentName className,
*/
public static final String DYNAMIC_SYSTEM_SERVICE = "dynamic_system";

/**
* Use with {@link #getSystemService} to retrieve a
* {@link android.os.PocketManager} for accessing and listening to device pocket state.
*
* @hide
* @see #getSystemService
* @see android.os.PocketManager
*/
public static final String POCKET_SERVICE = "pocket";

/**
* Determine whether the given permission is allowed for a particular
* process and user ID running in the system.
Expand Down
2 changes: 1 addition & 1 deletion core/java/android/content/pm/PackageParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -3668,7 +3668,7 @@ private boolean parseBaseApplication(Package owner, Resources res,

if (sa.getBoolean(
R.styleable.AndroidManifestApplication_allowAudioPlaybackCapture,
owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.Q)) {
owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1)) {
ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_ALLOW_AUDIO_PLAYBACK_CAPTURE;
}

Expand Down
7 changes: 5 additions & 2 deletions core/java/android/content/res/AssetManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1157,8 +1157,11 @@ protected void finalize() throws Throwable {
}
}

if (mObject != 0) {
nativeDestroy(mObject);
synchronized (this) {
if (mObject != 0) {
nativeDestroy(mObject);
mObject = 0;
}
}
}

Expand Down
Loading