Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
369 commits
Select commit Hold shift + click to select a range
d97155a
Lockscreen: Add timeout and instant lock option to slide lock (2/2)
KhasMek Sep 18, 2017
73d13b3
SystemUI: disable statusbar time refresh when screen off
Jan 19, 2014
5f7c3bb
BluetoothAdapter: disable logspew
amartinz Jul 4, 2015
ccb794d
Add a xml for system wide pixel colors
Pranay-Narang Nov 12, 2017
9f7f1ff
Remove default wallpapers from here
Pranay-Narang Nov 19, 2017
5518e2b
Use Google Nexus Audio Files [2/2]
Beanstown Jan 14, 2015
c0d5adc
add googles new alarm sounds from android-n
Beanstown Aug 27, 2016
c5f6cac
Sounds: Cleanup duplicate ringtones/alarms
mdmower Dec 3, 2014
4f75996
Add all Pixel sounds
ezio84 Aug 28, 2017
993dd08
Copy only new Pixel sounds in the rom zip
ezio84 Aug 28, 2017
a6df317
Switch to Pixel2XL 8.1 sounds [1/2]
ezio84 Oct 30, 2017
6124fa2
Optimize IncallUI delay for voice calls
Mar 12, 2015
eed0f27
SystemUI: Recents Clear All Button Tweaks and Add FAB to Recents Panel
cristianomatos Sep 5, 2017
26b9d27
Recents fab button improvements
ezio84 Sep 5, 2017
4daef1a
SystemUI: Recents: Allow closing empty view via tapping
BadDaemon Sep 5, 2017
409521b
Fix FAB not disappearing in multiwindow
neobuddy89 Sep 5, 2017
5d1850e
Fix Recents FAB padding
nychitman1 Feb 27, 2017
dbcfc1c
incall vibration options [1/3]
Beanstown Sep 5, 2017
ae82555
SystemUI:Add LTE Tile
Decad3nce Sep 5, 2017
7fc59d9
LteTile: multisim compatibility
xyyx Oct 27, 2017
97b43da
PowerMenu: add a toggleable recovery/bootloader action
ezio84 Aug 28, 2017
7c6da50
SystemUI: Add Caffeine qs tile
Sep 6, 2017
235252d
SystemUI: Reboot/Recovery QS Tile
fusionjack Sep 6, 2017
6d45224
Ability to disable dashboards conditions (1/2)
xyyx Sep 7, 2017
f8ab9f5
Lockscreen Weather: OmniJaws version
xyyx Sep 7, 2017
c606873
fwb: Seperate statusbar from tuner and launch externally
mydongistiny Sep 8, 2017
e79de4d
Run NavBarTuner external
ezio84 Sep 8, 2017
e167340
Run LockscreenFragment external
ezio84 Sep 8, 2017
2147f80
QuickSettings: Laucnh Ashes on long click Settings icon
Beanstown Sep 8, 2017
f2fa7f5
Reenable sysui tuner for all build types
ezio84 Aug 28, 2017
37fe9b1
[1/2] base: allow to swap volume buttons rotation based
maxwen Sep 1, 2017
d40ca33
Option to use volume keys to control media volume anytime (2/2)
pawitp Nov 2, 2015
1d862e0
Return: Smart Pulldown [1/2]
kufikugel Dec 3, 2014
d022821
[1/2] base: volume key music control
maxwen Mar 18, 2016
394d7e5
Disable Lockscreen Media Art [1/2]
Beanstown Oct 24, 2015
e3b503b
Allow user to add/remove QS with one click
andrzejressel Aug 8, 2017
ec12a25
Allow to set QS panel columns and rows [1/2]
ezio84 Sep 8, 2017
1ad8102
QS tiles customizer: respect user tiles columns value
ezio84 Dec 2, 2017
3a32e17
LockscreenCharging: squashed (1/3)
xyyx Sep 9, 2017
23f2755
Framework: Volume key cursor control (1/2)
KonstaT Sep 9, 2017
430a7ad
Keyguard: Forward port lockscreen quick unlock (1/2)
mdmower Dec 31, 2014
937d27b
Add PiP tile
ezio84 Sep 9, 2017
d1ffc86
Add partial/full screenshot QS tile
ezio84 Sep 12, 2017
692216d
Adb over Network: add QS tile [2/3]
Danesh Sep 26, 2016
66dee1a
PiP tile: launch PiP settings with long press
ezio84 Sep 20, 2017
f5a5906
Add Sound tile to Quick Settings
Sep 18, 2016
d7924d7
SystemUI: Add heads up tile
mikeNG Apr 21, 2015
6aa5389
PiP tile: add toast if pip mode is not avail
darkobas Oct 13, 2017
2302a00
NfcTile: use Oreo style
xyyx Oct 28, 2017
23b13c0
QS: add Screenrecord tile
eyosen Dec 20, 2015
b8777bc
Added show volume panel tile to QS
swapsCAPS Sep 19, 2016
a453784
Battery tile: fix label when charging
Dec 14, 2017
ecb03ab
SoundTile: Change ZEN_MODE_NO_INTERRUPTIONS to ZEN_MODE_ALARMS
xyyx Sep 28, 2017
09e9302
Add Compass tile
romanbb Sep 27, 2017
3a32cb4
Add USB Tether QS Tile
BestPig Sep 28, 2017
299765f
Refresh USB tile
Nov 5, 2016
e2ff7c6
Add Music QS Tile
kufikugel Sep 28, 2017
1aca852
QS: Add Expanded Desktop QS Tile
Altaf-Mahdi Sep 26, 2016
d4d3866
Location tile: make it cycle modes
ezio84 Sep 9, 2017
0be8dfc
Ask pin when tapping Airplane tiles on secure lockscreen
ezio84 Sep 13, 2017
72b4ab3
SystemUI: Enable three icon switching within QS DND tile
Dec 4, 2015
20a9e90
CellularTile: don't show confirm dialog on disable
xyyx Dec 15, 2017
17d3eb7
SystemUI: Add Greenify tile
PMS22 Jan 3, 2018
6e22021
Allow to doubletap or longpress power to toggle flashlight [1/3]
ezio84 Sep 3, 2017
aa98c34
policy: readd volume button wake
maxwen Sep 9, 2017
31f99f0
Fix volume wake and volume music control at the same time
xyyx Sep 10, 2017
454de63
Dynamically tell the user which vendor image is needed
Beanstown Sep 10, 2017
f80f1f6
Add some static custom utilities
ezio84 Aug 31, 2017
4508fe8
Add api to take screenshots
bigrushdog Sep 12, 2017
3fd7af1
GreenifyTile: Update for Oreo
PMS22 Jan 7, 2018
e9defc0
Port: Wake on plug (1/2)
craftyjon Sep 12, 2017
9190f2c
Immersive Recents [1/2]
TheCrazyLex Sep 12, 2017
1723928
fwb: Add ability to permanently hide apps from recents [1/2]
Myself5 Sep 12, 2017
b9f61ea
Ringtone audio focus
ezio84 Feb 16, 2017
36706ad
framework: port IME selector notification toggle (2/2)
dasunsrule32 Sep 14, 2017
527532a
Frameworks: add ability to disable bar color in battery saver mode (1/2)
kufikugel Sep 14, 2017
19021e7
FWB: Add Volume Key Answer (1/2)
karon8 Sep 15, 2017
8603818
Status network traffic [1/2]
Haus1 Jan 4, 2017
79251fb
Enable notifications led light by default [1/2]
ezio84 Sep 13, 2017
b1b8a53
Allow to customize notification led light [2/2]
ezio84 Sep 16, 2017
288ea32
NetworkTraffic: Add paddings
xyyx Sep 24, 2017
4b6b741
Fingerprints: Increase MAX_FAILED_ATTEMPTS
xyyx Sep 26, 2017
1474d26
1/2] base: unlink notification volume is back -delete old
maxwen Sep 20, 2017
90116b3
[1/2] base: config to disable power menu on secure lock screen
maxwen Sep 23, 2017
6c98f42
Remove unnecessary videos
temasek Nov 29, 2014
cd8664d
[Squashed] Remove drawables we don't need
Cl3Kener Oct 22, 2015
a7dfa01
SystemUI: HeadsUp blacklists (1/2)
Decad3nce Sep 28, 2017
b2ab5d1
HeadsUp: add timeout option (1/2)
kufikugel Mar 27, 2016
1c05575
Base: HeadsUp snooze function [1/2]
Nick0703 Apr 9, 2016
2963e4d
SystemUI: enable NFC tile
Thecrazyskull Jan 17, 2017
13b47bf
display: Don't animate screen brightness when turning the screen on
kerneltoast May 29, 2017
bcc2bd8
base: add zen mode off hook to prevent problems with ringer mode
maxwen Mar 1, 2017
190f8c7
QS Tile: increase DEFAULT_MAX_BOUND to 6
Kasual Jun 16, 2017
a9dba17
Base: fix facelock crash when lock screen is disabled
Altaf-Mahdi Apr 21, 2015
a2ae0cb
Disable dashboard suggestions (1/2)
xyyx Oct 5, 2017
521223e
Recents: allow single tap on app icon to show app info overlay
ezio84 Oct 5, 2017
661153e
[1/2] base: allow disabling quick settings on secure lock screens
maxwen Mar 16, 2017
c7865d2
base: SystemUI: volumes in dialog should have same order as in settings
maxwen Oct 3, 2017
c2ad785
Enable Round App Icons
Nov 8, 2016
80a9c59
Fully enable system round icons
ezio84 Oct 5, 2017
a9c7c49
BatteryWarningColor: fix white statusbar icons when warning color is …
xyyx Oct 18, 2017
0572f66
Disable/Enable screenshot sound [1/2]
Nov 12, 2014
0afa7f6
ScreenshotSound: Fix playing screenshot's sound when camera's sounds …
xyyx Jan 12, 2017
a0dbe17
Allow faster app switching
Cl3Kener Oct 6, 2015
e059131
Telephony: Don't crash for too long baseband version
BadDaemon Dec 23, 2016
2243e8a
Support UnifiedNlp (microG)
Aug 11, 2017
83d8622
Add support for fake signatures, enabled per app by dynamic perms
mar-v-in Dec 21, 2015
31a0deb
Live Volume Steps [1/2]
Meticulus Mar 24, 2015
9206025
fingerprint: notify client when cancelling succeeded
kaluoshi Oct 25, 2016
0529f3a
BatteryService: add dash charging support
Jul 10, 2016
669809d
config: longer wifi scan interval
Nov 25, 2016
85e41ee
DUI: Initial checkin for Oreo [5/7]
bigrushdog Sep 21, 2017
71ac30f
Dui abc customization: remove no aosp libs and change fling logo
ezio84 Nov 23, 2017
fbc57ac
Buttons: Bring up DU hardware key action binding framework
bigrushdog Feb 14, 2016
af07957
frameworks/base: Don't report existing menu key if it was
xyyx Nov 25, 2017
45f97e9
Buttons: Hardware key disable support with M adaptations
bigrushdog Aug 7, 2016
0c38621
base: Introduce new navigation bar key event source
kaluoshi Dec 8, 2015
a21daa9
base: Introduce Accidental Touch
Thecrazyskull Sep 26, 2017
f1417db
Replace ugly DU's last app animations with old CM's
xyyx Nov 28, 2017
04c119a
Add back increasing ring feature (3/3)
maniac103 Jan 3, 2016
1d69b97
DUI smartbar double tap to sleep [1/3]
ezio84 Nov 30, 2017
a320b3d
DUI: don't initialize pulse and media arrows for some apps [1/2]
ezio84 Dec 4, 2017
826ae35
Fix stock nav icon size after DUI merge
camcory Dec 9, 2017
3e64391
base: bring back screenrecord
maxwen Dec 28, 2014
b8bb334
Save screenrecord in "Screenrecords" directory
amartinz Jan 19, 2016
801e58f
Add a timer to screen record
amartinz Mar 15, 2014
595272b
Persistent background app notification: disable by default
Sep 2, 2017
52db289
Powermenu: use new gradient dialog also for
maxwen Dec 10, 2017
591b06e
base: tuner: add a hide config to left and right shortcut
maxwen Sep 22, 2017
02043e5
Lockscreen bottom shortcuts fixes
ezio84 Sep 28, 2017
1cb0c43
DUI: Uncomment screenrecord
xyyx Dec 11, 2017
bbabcd8
Rework thumbnail handling
forfun414 Mar 1, 2013
e8662f8
MiniThumbFile: Fix image/bitmap retrieval
rmcc Oct 30, 2013
f8085a2
Pimp the power menu out [1/2]
Sep 19, 2017
7a2f148
Powermenu Torch option [1/2]
LorDClockaN Sep 19, 2017
a08beb4
PowerMenu: add delay to screenshot action
xyyx Sep 21, 2017
191789f
Add Screen Record to the Power Menu [1/2]
eyosen Dec 5, 2015
d786198
Fix airplane mode in new power menu
camcory Nov 6, 2017
02a3557
Fix silent mode icons in new power menu
camcory Dec 8, 2017
255eb78
Vectorized the power menu sound panel selector
daveyannihilation Oct 31, 2017
3e386ab
Fingerprint authentication vibration [1/2]
Beanstown Jan 14, 2016
4f54b65
fingerprint: Speed up wake-and-unlock scenario * Directly
kerneltoast Apr 16, 2017
5cc84e2
Display bluetooth battery status when available [1/2]
widewing Jul 16, 2016
889fb66
Statusbar bluetooth battery level: improve compatibility
ezio84 Dec 12, 2017
f98d2d7
Statusbar bluetooth battery level: add a device filter
ezio84 Dec 12, 2017
b5f9c4c
Fix custom lockscreen shortcut icons being white
ezio84 Dec 13, 2017
4017fb6
Fix doze for power torch
ezio84 Dec 14, 2017
29c186b
Add support to manually pause/resume downloads [1/2]
Dec 17, 2013
15103e6
Add VOLTE icon
xyyx Sep 16, 2017
1379d4b
base: SystemUI: add VPN to the icon blacklist in tuner
maxwen Dec 12, 2017
659b78e
Add roaming icon to statusbar blacklist
xyyx Dec 15, 2017
bffec6a
theme: eradicate blue-gray
darkobas Dec 12, 2017
0c1786b
Quick settings: Add Haptic Feedback to tiles [1/2]
amartinz Jan 1, 2015
6f3ecd2
Set Persisting Mobile Data connection off by default [2/2]
ezio84 Dec 18, 2017
56b9f76
Themes: Expose resolver hardcoded colors
Dec 9, 2016
f33a24c
SystemUI: Expose QS edit item decoration background color
ivaniskandar Sep 18, 2016
241279d
fwcore: Enable power save config of system apps
maxwen May 25, 2017
f7a138f
SystemSensorManager: sensor block per-package
Jul 9, 2017
813439c
Statusbar battery level device filter: add a few more ones
maxwen Dec 19, 2017
f0b84ee
Append app name to screenshot file
ezio84 Dec 19, 2017
fb609bc
Reset battery stats [1/2]
jruesga Jun 21, 2015
ba44e17
App name in screenshot file: replace all special chars with underscore
ezio84 Dec 24, 2017
df3bb42
FWB: Squashed commit for Expanded Desktop [1/2]
mik9 Dec 18, 2015
c89aca4
Force Expanded Notifications [1/2]
Jan 6, 2014
4e486f5
Fix Substratum themes making powermenu transparent in some cases
ezio84 Dec 28, 2017
2ffaf7d
base: Add three-fingers-swipe to screenshot [1/2]
ghbhaha Aug 8, 2015
ee34a36
SystemUI: remove unnecessary recent apps transition
xboxfanj Oct 14, 2016
140adca
SmoothSpinners: Makes the loading "spinner" animation smoother
sarcastillo Nov 18, 2012
c8b87ca
BatteryBar [1/2]
Oct 3, 2017
7a0419e
Have Battery bar controller obey Hide value
Oct 3, 2017
98299d6
Battery bar enhancements [1/2]
SpiritCroc Oct 3, 2017
e82388c
Hide Emergency Button on Lockscreen [1/2]
PMS22 Feb 28, 2017
486daf1
Play sound for charging events
Dec 7, 2017
808d58d
Vibrate on plug [1/2]
Sep 21, 2017
0d06243
SystemUI: Add membar to recents options [1/2]
AlmightyMegadeth00 Apr 4, 2015
9cb1e5c
base: Add Dynamic Navbar capability [1/2]
varund7726 Dec 14, 2016
6ec0d80
Statusbar notification ticker [1/2]
rogersb11 Oct 16, 2017
d6810c8
Allow using 4G icon instead LTE [1/2]
neobuddy89 Jul 19, 2017
4c9992f
Show icon of package associated with Toast
0xD34D Oct 11, 2017
49b2b14
Update toast icon to properly work with 8.1
SpiritCroc Dec 28, 2017
ab8e40f
FWB: Toast icon switch [1/2]
LorDClockaN Oct 11, 2017
cc48382
VolumeDialog: Force expanded volume panel [1/2]
PMS22 Jan 8, 2018
a1bef7b
MediaScanner behavior on boot (1/3)
corcoran Apr 17, 2013
5b5d3b0
AppOps: Add BOOT_COMPLETED operation
Sep 21, 2017
2d6d4e2
AppOpsManager: Fix wrong coarse location permission issue
Jun 14, 2016
d2f5250
Settings: Add string for Lineage Settings
PMS22 Jan 9, 2018
4d9c684
SysuiDarkThemeOverlay: Initial Dark UI changes
AgentFabulous Dec 17, 2017
6f29aba
base: overlays: Refactor sysui overlay to system [1/2]
AgentFabulous Dec 17, 2017
16ac3e3
overlays: Overlay Settings for Dark UI
AgentFabulous Dec 17, 2017
fa97f0c
DarkUI: Improvements
AgentFabulous Dec 17, 2017
3046985
[1/2] base: configure SystemUI theme
maxwen Dec 20, 2017
6746a65
Merge tag 'android-8.1.0_r4' into lineage-15.1
invisiblek Jan 3, 2018
8908ae1
SystemUI: Add visualizer feature
Aug 18, 2015
148a26c
Add PowerManager integration for button backlight.
maniac103 Aug 29, 2017
03251d3
PowerManagerService: Fix updating of mUserActivitySummary
nadlabak Aug 29, 2017
81962a6
services: button brightness should check proximity
Jun 9, 2015
0bc7931
PowerManagerService: add a config to light up buttons only when press…
Sep 11, 2017
dda6362
PowerManagerService: fix HW button illumination timeout
github-cygwin Sep 11, 2017
17d59a4
AppOps: Enable MODE_IGNORED for OP_WAKE_LOCK
sam3000 Nov 14, 2013
5a28ac7
Fix Hardware keys backlight not turning of with disabler
bigrushdog Aug 7, 2016
197b068
Flashlight toggle api improvements
ezio84 Jan 5, 2018
23caa87
base: fix double volume events on screen off
maxwen Jan 7, 2018
e32a29e
Fix volume rocker skip track on Ambient Display and Lift to Wake
ezio84 Jan 7, 2018
27a8020
BoostFramework to enhance performance during critical
Mar 29, 2016
34a402c
Perf: Adding hooks for IO prefetcher into framework
Mar 29, 2016
5d8eff5
frameworks: Add custom boost for scroll/fling
dilipgudlur Jan 27, 2016
def032f
Add synchronized protection in BoostFramework constructor
Mar 9, 2017
1ac3fc7
BoostFramework: Implement asynchronous processing of perflocks
TheCrazyLex Feb 4, 2017
08548bf
BoostFramework: Remove debug boost prop dependency
TheCrazyLex Apr 12, 2017
4040d94
Activity: Improve DragBoost logic
TheCrazyLex Apr 12, 2017
4c36c5a
SystemUI: force a clock update if the screen is turned back on
arter97 Jun 12, 2017
bb5fef2
QS tile titles visibility [1/2]
Nov 28, 2016
8f9bdbe
Hide tiles title: longpress will launch detail view
maxwen Sep 21, 2017
d7b42cf
Merge "SystemUI: Add visualizer feature" into o8.1
PMS22 Jan 13, 2018
bd479d6
Merge "Add PowerManager integration for button backlight. Allows sett…
PMS22 Jan 13, 2018
e26f79f
Merge "PowerManagerService: Fix updating of mUserActivitySummary I7f1…
PMS22 Jan 13, 2018
45094d5
Merge "services: button brightness should check proximity" into o8.1
PMS22 Jan 13, 2018
66cde0d
Merge "PowerManagerService: add a config to light up buttons only whe…
PMS22 Jan 13, 2018
dbd40e9
Merge "PowerManagerService: fix HW button illumination timeout Patch …
PMS22 Jan 13, 2018
3fb454d
Merge "AppOps: Enable MODE_IGNORED for OP_WAKE_LOCK" into o8.1
PMS22 Jan 13, 2018
a010436
Merge "Fix Hardware keys backlight not turning of with disabler" into…
PMS22 Jan 13, 2018
8bb1715
Merge "Flashlight toggle api improvements" into o8.1
PMS22 Jan 13, 2018
bfdc4e9
Merge "base: fix double volume events on screen off" into o8.1
PMS22 Jan 13, 2018
19e8bf2
Merge "Fix volume rocker skip track on Ambient Display and Lift to Wa…
PMS22 Jan 13, 2018
63274a9
Merge "BoostFramework to enhance performance during critical scenari…
PMS22 Jan 13, 2018
3f667c4
Merge "Perf: Adding hooks for IO prefetcher into framework" into o8.1
PMS22 Jan 13, 2018
a3e590e
Merge "frameworks: Add custom boost for scroll/fling" into o8.1
PMS22 Jan 13, 2018
87eea6b
Merge "Add synchronized protection in BoostFramework constructor" int…
PMS22 Jan 13, 2018
0adb1c4
Merge "BoostFramework: Implement asynchronous processing of perflocks…
PMS22 Jan 13, 2018
cfd9323
Merge "BoostFramework: Remove debug boost prop dependency" into o8.1
PMS22 Jan 13, 2018
2636ed5
Merge "Activity: Improve DragBoost logic" into o8.1
PMS22 Jan 13, 2018
f4fe40e
Merge "SystemUI: force a clock update if the screen is turned back on…
PMS22 Jan 13, 2018
16ea1de
Merge "QS tile titles visibility [1/2]" into o8.1
PMS22 Jan 13, 2018
73c2ae8
Merge "Hide tiles title: longpress will launch detail view" into o8.1
PMS22 Jan 13, 2018
bb7d7ab
KeyguardHostView: Dismiss keyguard automatically when face is recognized
jhenrique09 Dec 28, 2017
50ba2b6
Screenshot tile: persist screenshot type after reboot
maxwen Jan 8, 2018
0b32552
App screenshot filename: keep compatibility with Cyrillic
jumoog Jan 14, 2018
7a624d5
SystemUI: SIM PIN locked view can't pop up after removed one SIM
Dec 14, 2017
25db14e
TickerView: Fix SystemUI FC
neobuddy89 Jan 15, 2018
8cbeaec
Set scrollview on the power menu
Dec 30, 2017
004b012
Add default permissions for multiple gapps
TheCrazyLex Aug 29, 2016
2bfcc5c
Fix Google dialer FC due to missing permissions
Jan 19, 2018
4d0ab79
Add default permissions for Essentials
PMS22 Jan 21, 2018
94a3908
Allow adjusting screen density to smaller sizes.
maniac103 Sep 12, 2016
1ce1e3c
ATV: Don't install sounds that don't exist
webgeek1234 Jan 15, 2018
bc4a445
SystemUI: Kill old reboot to recovery
PMS22 Jan 26, 2018
e7ee855
frameworks: Power menu customizations
mikeNG Jan 20, 2018
336d7ba
DarkUI: Fix colors on some dialogs
AgentFabulous Jan 6, 2018
c46cefd
Automatic translation import
Pranay-Narang Jan 25, 2018
457d268
Statusbar clock and date customization (1/2)
Vachounet Jan 24, 2018
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ aidl_files := \
frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
frameworks/base/core/java/android/app/Notification.aidl \
frameworks/base/core/java/android/app/NotificationManager.aidl \
frameworks/base/core/java/android/app/NotificationGroup.aidl \
frameworks/base/core/java/android/app/WallpaperInfo.aidl \
frameworks/base/core/java/android/app/AppOpsManager.aidl \
frameworks/base/core/java/android/app/ActivityManager.aidl \
Expand Down
1 change: 1 addition & 0 deletions api/system-current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ package android {
field public static final java.lang.String REQUEST_DELETE_PACKAGES = "android.permission.REQUEST_DELETE_PACKAGES";
field public static final java.lang.String REQUEST_IGNORE_BATTERY_OPTIMIZATIONS = "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";
field public static final java.lang.String REQUEST_INSTALL_PACKAGES = "android.permission.REQUEST_INSTALL_PACKAGES";
field public static final java.lang.String RESET_BATTERY_STATS = "android.permission.RESET_BATTERY_STATS";
field public static final deprecated java.lang.String RESTART_PACKAGES = "android.permission.RESTART_PACKAGES";
field public static final java.lang.String RESTRICTED_VR_ACCESS = "android.permission.RESTRICTED_VR_ACCESS";
field public static final java.lang.String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT";
Expand Down
45 changes: 45 additions & 0 deletions core/java/android/app/Activity.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import android.util.BoostFramework;

/**
* An activity is a single, focused thing that the user can do. Almost all
Expand Down Expand Up @@ -696,6 +697,10 @@ public class Activity extends ContextThemeWrapper
Window.OnWindowDismissedCallback, WindowControllerCallback,
AutofillManager.AutofillClient {
private static final String TAG = "Activity";
private static BoostFramework mPerf = null;
private static int mDragBoostPossible = -1;
private static int mPerfLockDuration = -1;
private static int mAsParamVal[];
private static final boolean DEBUG_LIFECYCLE = false;

/** Standard activity result: operation canceled. */
Expand Down Expand Up @@ -3301,6 +3306,46 @@ public boolean dispatchKeyShortcutEvent(KeyEvent event) {
* @return boolean Return true if this event was consumed.
*/
public boolean dispatchTouchEvent(MotionEvent ev) {
if(mDragBoostPossible == -1) {
mDragBoostPossible = 0;
String currentActivity = getPackageName();
String[] activityList = getResources().getStringArray(
com.android.internal.R.array.boost_activityList);
if(activityList != null){
for (String match : activityList) {
if (currentActivity.indexOf(match) != -1){
mDragBoostPossible = 1;
break;
}
}
}
}

Context context = getApplicationContext();

if (mDragBoostPossible == 1) {
final boolean override = context.getResources().getBoolean(
com.android.internal.R.bool.config_debugBoost);
if (mPerf == null) {
mPerf = new BoostFramework();
}
if (!override) {
if (mPerfLockDuration == -1) {
mPerfLockDuration = getResources().getInteger(
com.android.internal.R.integer.ascrollboost_timeout);
mAsParamVal = getResources().getIntArray(
com.android.internal.R.array.ascrollboost_param_value);
}
if (mPerfLockDuration != 0 && mAsParamVal.length != 0) {
mPerf.perfLockAcquireTouch(ev,
getResources().getDisplayMetrics(),
mPerfLockDuration, mAsParamVal);
}
} else {
mPerf.enableDebugBoost(context, ev, getResources().getDisplayMetrics());
}
}

if (ev.getAction() == MotionEvent.ACTION_DOWN) {
onUserInteraction();
}
Expand Down
11 changes: 11 additions & 0 deletions core/java/android/app/AlarmManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,17 @@ public long getNextWakeFromIdleTime() {
}
}

/** @hide */
public String getSeenAlarms() {
try {
if (mService != null) {
return mService.getSeenAlarms();
}
} catch (RemoteException e) {
}
return null;
}

/**
* Gets information about the next alarm clock currently scheduled.
*
Expand Down
25 changes: 19 additions & 6 deletions core/java/android/app/AppOpsManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,10 @@ public class AppOpsManager {
public static final int OP_INSTANT_APP_START_FOREGROUND = 68;
/** @hide Answer incoming phone calls */
public static final int OP_ANSWER_PHONE_CALLS = 69;
/** @hide */
public static final int OP_BOOT_COMPLETED = 70;
/** @hide */
public static final int _NUM_OP = 70;
public static final int _NUM_OP = 71;

/** Access to coarse location information. */
public static final String OPSTR_COARSE_LOCATION = "android:coarse_location";
Expand Down Expand Up @@ -365,6 +367,9 @@ public class AppOpsManager {
/** Answer incoming phone calls */
public static final String OPSTR_ANSWER_PHONE_CALLS
= "android:answer_phone_calls";
/** Required for start at boot **/
private static final String OPSTR_BOOT_COMPLETED =
"android:boot_completed";

// Warning: If an permission is added here it also has to be added to
// com.android.packageinstaller.permission.utils.EventLogger
Expand Down Expand Up @@ -424,8 +429,8 @@ public class AppOpsManager {
*/
private static int[] sOpToSwitch = new int[] {
OP_COARSE_LOCATION,
OP_COARSE_LOCATION,
OP_COARSE_LOCATION,
OP_FINE_LOCATION,
OP_GPS,
OP_VIBRATE,
OP_READ_CONTACTS,
OP_WRITE_CONTACTS,
Expand Down Expand Up @@ -464,8 +469,8 @@ public class AppOpsManager {
OP_AUDIO_NOTIFICATION_VOLUME,
OP_AUDIO_BLUETOOTH_VOLUME,
OP_WAKE_LOCK,
OP_COARSE_LOCATION,
OP_COARSE_LOCATION,
OP_FINE_LOCATION,
OP_FINE_LOCATION,
OP_GET_USAGE_STATS,
OP_MUTE_MICROPHONE,
OP_TOAST_WINDOW,
Expand All @@ -492,7 +497,8 @@ public class AppOpsManager {
OP_REQUEST_INSTALL_PACKAGES,
OP_PICTURE_IN_PICTURE,
OP_INSTANT_APP_START_FOREGROUND,
OP_ANSWER_PHONE_CALLS
OP_ANSWER_PHONE_CALLS,
OP_BOOT_COMPLETED
};

/**
Expand Down Expand Up @@ -570,6 +576,7 @@ public class AppOpsManager {
OPSTR_PICTURE_IN_PICTURE,
OPSTR_INSTANT_APP_START_FOREGROUND,
OPSTR_ANSWER_PHONE_CALLS,
OPSTR_BOOT_COMPLETED,
};

/**
Expand Down Expand Up @@ -647,6 +654,7 @@ public class AppOpsManager {
"PICTURE_IN_PICTURE",
"INSTANT_APP_START_FOREGROUND",
"ANSWER_PHONE_CALLS",
"BOOT_COMPLETED",
};

/**
Expand Down Expand Up @@ -724,6 +732,7 @@ public class AppOpsManager {
null, // no permission for entering picture-in-picture on hide
Manifest.permission.INSTANT_APP_FOREGROUND_SERVICE,
Manifest.permission.ANSWER_PHONE_CALLS,
Manifest.permission.RECEIVE_BOOT_COMPLETED,
};

/**
Expand Down Expand Up @@ -802,6 +811,7 @@ public class AppOpsManager {
null, // ENTER_PICTURE_IN_PICTURE_ON_HIDE
null, // INSTANT_APP_START_FOREGROUND
null, // ANSWER_PHONE_CALLS
null, //BOOT_COMPLETED
};

/**
Expand Down Expand Up @@ -879,6 +889,7 @@ public class AppOpsManager {
false, // ENTER_PICTURE_IN_PICTURE_ON_HIDE
false, // INSTANT_APP_START_FOREGROUND
false, // ANSWER_PHONE_CALLS
false, // BOOT_COMPLETED
};

/**
Expand Down Expand Up @@ -955,6 +966,7 @@ public class AppOpsManager {
AppOpsManager.MODE_ALLOWED, // OP_PICTURE_IN_PICTURE
AppOpsManager.MODE_DEFAULT, // OP_INSTANT_APP_START_FOREGROUND
AppOpsManager.MODE_ALLOWED, // ANSWER_PHONE_CALLS
AppOpsManager.MODE_ALLOWED, // OP_BOOT_COMPLETED
};

/**
Expand Down Expand Up @@ -1035,6 +1047,7 @@ public class AppOpsManager {
false, // OP_PICTURE_IN_PICTURE
false,
false, // ANSWER_PHONE_CALLS
false, // OP_BOOT_COMPLETED
};

/**
Expand Down
40 changes: 40 additions & 0 deletions core/java/android/app/DownloadManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,13 @@ public class DownloadManager {
*/
public final static int PAUSED_UNKNOWN = 4;

/**
* Value of {@link #COLUMN_REASON} when the download is paused manually.
*
* @hide
*/
public final static int PAUSED_MANUAL = 5;

/**
* Broadcast intent action sent by the download manager when a download completes.
*/
Expand Down Expand Up @@ -930,6 +937,7 @@ Cursor runQuery(ContentResolver resolver, String[] projection, Uri baseUri) {
parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_TO_RETRY));
parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_FOR_NETWORK));
parts.add(statusClause("=", Downloads.Impl.STATUS_QUEUED_FOR_WIFI));
parts.add(statusClause("=", Downloads.Impl.STATUS_PAUSED_MANUAL));
}
if ((mStatusFlags & STATUS_SUCCESSFUL) != 0) {
parts.add(statusClause("=", Downloads.Impl.STATUS_SUCCESS));
Expand Down Expand Up @@ -1180,6 +1188,34 @@ public void forceDownload(long... ids) {
mResolver.update(mBaseUri, values, getWhereClauseForIds(ids), getWhereArgsForIds(ids));
}

/**
* Pause the given running download manually.
*
* @param id the ID of the download to be paused
* @return the number of downloads actually updated
* @hide
*/
public int pauseDownload(long id) {
ContentValues values = new ContentValues();
values.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_PAUSED_MANUAL);

return mResolver.update(ContentUris.withAppendedId(mBaseUri, id), values, null, null);
}

/**
* Resume the given paused download manually.
*
* @param id the ID of the download to be resumed
* @return the number of downloads actually updated
* @hide
*/
public int resumeDownload(long id) {
ContentValues values = new ContentValues();
values.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_RUNNING);

return mResolver.update(ContentUris.withAppendedId(mBaseUri, id), values, null, null);
}

/**
* Returns maximum size, in bytes, of downloads that may go over a mobile connection; or null if
* there's no limit
Expand Down Expand Up @@ -1564,6 +1600,9 @@ private long getPausedReason(int status) {
case Downloads.Impl.STATUS_QUEUED_FOR_WIFI:
return PAUSED_QUEUED_FOR_WIFI;

case Downloads.Impl.STATUS_PAUSED_MANUAL:
return PAUSED_MANUAL;

default:
return PAUSED_UNKNOWN;
}
Expand Down Expand Up @@ -1619,6 +1658,7 @@ private int translateStatus(int status) {
case Downloads.Impl.STATUS_WAITING_TO_RETRY:
case Downloads.Impl.STATUS_WAITING_FOR_NETWORK:
case Downloads.Impl.STATUS_QUEUED_FOR_WIFI:
case Downloads.Impl.STATUS_PAUSED_MANUAL:
return STATUS_PAUSED;

case Downloads.Impl.STATUS_SUCCESS:
Expand Down
4 changes: 4 additions & 0 deletions core/java/android/app/IAlarmManager.aidl
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ interface IAlarmManager {
void remove(in PendingIntent operation, in IAlarmListener listener);
long getNextWakeFromIdleTime();
AlarmManager.AlarmClockInfo getNextAlarmClock(int userId);
// blocked alarms support
String getSeenAlarms();
// update the uids being synchronized by network socket request manager
void updateBlockedUids(int uid, boolean isBlocked);
}
2 changes: 1 addition & 1 deletion core/java/android/app/LoadedApk.java
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ public Application makeApplication(boolean forceDefaultAppClass,
final int N = packageIdentifiers.size();
for (int i = 0; i < N; i++) {
final int id = packageIdentifiers.keyAt(i);
if (id == 0x01 || id == 0x7f) {
if (id == 0x01 || id == 0x7f || id == 0x3f) {
continue;
}

Expand Down
7 changes: 7 additions & 0 deletions core/java/android/app/Notification.java
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,13 @@ public String getSortKey() {
public static final int BADGE_ICON_LARGE = 2;
private int mBadgeIcon = BADGE_ICON_NONE;

/**
* Used by light picker in Settings to force
* notification lights on when screen is on
* @hide
*/
public static final String EXTRA_FORCE_SHOW_LIGHTS = "android.forceShowLights";

/**
* Structure to encapsulate a named action that can be shown as part of this notification.
* It must include an icon, a label, and a {@link PendingIntent} to be fired when the action is
Expand Down
Loading