Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
8c2d6b3
Merge 5bb53f5a254fcb633698d36197921bcbf91a7112 on remote branch
Apr 9, 2019
0050175
Merge 53a04aecff7078f2b3658359b4a71b6e4bbb7789 on remote branch
Apr 15, 2019
2382288
wm: Use a different execution context to register WFD rotation receiver
Apr 17, 2019
4c50fb2
Revert "display: Add support for multiple displays"
Apr 17, 2019
39b583a
idmap2: ignore idmap create failures in scan.
Apr 17, 2019
7c3c2a5
audio: Add support for audio extended codecs
Apr 17, 2019
527c762
Merge b8322d0cc1c74a90ad3af935f30d7ae1365a4899 on remote branch
Apr 26, 2019
1357902
Merge 2961d75e2b55bcdbc5e1c62fd47f0fb636d88b40 on remote branch
May 6, 2019
68cfe0b
Merge commit 'f859eb09e9aeba2eca03732373013e162bb14377' into HEAD
May 7, 2019
cd2fdfc
Merge 10221123d8f6ffc463cf68469c60402628884f45 on remote branch
May 16, 2019
51688c1
Merge 0d592aa100ab9778f0d6fa4b957e686ccc71eede on remote branch
May 30, 2019
38ab6b3
Merge 0cdf617f4141e3f01b68e23eccb709062aca04b6 on remote branch
Jun 10, 2019
71a84a7
Merge 479a2e3770dccabbc860cfc2731fb5854ed2dc43 on remote branch
Jun 16, 2019
772d9d6
Only updateBoundsSurface when surface size has changed.
May 29, 2019
9106bf4
Merge f735d60672a2378a67fdfe34d2d40ab5e18ec1ee on remote branch
Jun 30, 2019
2e5d476
Merge bf7c7e5c862ce628dcd124f0e35d90fdc60f6d7f on remote branch
Jul 6, 2019
64d3302
SystemUI: disable Lock Icon animation.
Jul 5, 2019
dfeda19
Merge 255b0c297d4a8c2c087f4cce83aacf1127044186 on remote branch
Jul 22, 2019
4b30156
Fix dequence buffer timeout issue
Jul 11, 2019
1c42b9f
perf: Remove Scroll Boosts and use GestureflingBoost
Jul 9, 2019
6c3d2ee
SystemUI: Update the media notification only when needed
Jul 22, 2019
0d54288
SystemUI: abnormal is observed after entering PIN1.
Jul 24, 2019
b1d671f
Reverted I5b2a2fabe6f6ecdfc7139ee6b91421c090ea86d6
Jul 23, 2019
4c286d5
Revert "Reverted I5b2a2fabe6f6ecdfc7139ee6b91421c090ea86d6"
Aug 21, 2019
b4bdb66
Merge commit '912a1df78d15a94f79b0bd2ae8b0ca465f2acf60' into HEAD
Aug 23, 2019
b7dea73
Merge 054264f8235ba31bcbd554ac80d85736017a779d on remote branch
Aug 31, 2019
6dc952e
NPE: check if hostingRecord Type is valid before comparing.
Sep 4, 2019
d908ffb
Merge d428688f8bf2e62c83ce74a5f24d7ca31cc06ddc on remote branch
Sep 21, 2019
736343e
Merge 6d449c02bd2aa1e9dc2ce126e12d1cf8cbba2ad6 on remote branch
Oct 9, 2019
9026500
Merge f0a5036512be94df7908ed3762f953b1a447983b on remote branch
Oct 16, 2019
59d67b0
Merge d9a9812e9badeef82a460c73f173182198418479 on remote branch
Oct 25, 2019
9c0188d
Merge 3b16c5c7af4bcadb78ca7cc35aa55a8a07f4c323 on remote branch
Nov 1, 2019
83b4ca9
Merge 1ba9907e8cdee9b723a2d1264ccaf330341fcaf0 on remote branch
Nov 16, 2019
be9153a
Merge 1f3d8684006a81a3571220f19294ce56c2364cb7 on remote branch
Nov 20, 2019
ad7b14e
Merge 91fb43551d6c3d0f0762e3cff064f2b8f1f948c1 on remote branch
Dec 9, 2019
855e766
[DO NOT MERGE] Split access-media-storage from read-external-storage
moltmann Sep 13, 2019
ccde27a
Merge a05b8db9798e837b1e1c25e68e52b4feb71fd0d1 on remote branch
Jan 8, 2020
4167720
Merge 92dde7dd57dc6ffa2f1d56a7e7e21f512d06741f on remote branch
Feb 4, 2020
6d97b76
Make Build.TYPE and Build.FINGERPRINT consistent for apps
maniac103 Nov 23, 2016
330cc76
SettingsProvider: Add missing INTERACT_ACROSS_USERS_FULL permission
AdrianDC Jan 1, 2016
23a937b
FATAL EXCEPTION IN SYSTEM PROCESS: android.ui
bqyang720 Mar 22, 2017
3db43b3
base: Add START_ACTIVITIES_FROM_BACKGROUND on phone priv-app whitelist
jhenrique09 Sep 9, 2019
2b79083
Disable notification channel warnings by default
bgcngm Nov 10, 2017
9d2a773
Check for null callerPackage in getStorageEncryptionStatus
intervigilium Oct 6, 2017
be0b35a
fw/b: Use ro.build.date to signal OTA upgrades
dhacker29 Nov 24, 2015
22433a0
base: Re-implement privacy chips interface
Sep 17, 2019
39f6b3d
PrivacyItemController: Enable permission hub by default
luca020400 Sep 4, 2019
6a7f13a
Revert "Drop Type clock face."
luca020400 Sep 4, 2019
05e8206
Revert "Drop final remnants of Type clock face"
luca020400 Sep 4, 2019
79226ff
Revert "Disable custom clock faces in SystemUI"
luca020400 Sep 6, 2019
56e7f9a
Revert "Disable ClockOptionsProvider so clocks don't appear in picker…
luca020400 Sep 6, 2019
89759cf
TypeClockController: Make it compile with new plugin API
luca020400 Sep 4, 2019
ddfaf77
Reapply Removing unnecessary R.java declaration for subpackages, to m…
xboxfanj Dec 5, 2019
b8c2805
PackageManager: allow build-time disabling of components
pawitp Sep 1, 2013
9780eb1
SystemUI: enable NFC tile on quick settings
Herna1994 Oct 1, 2017
e0a8696
SystemUI: Allow user to add/remove QS with one click
andrzejressel Aug 8, 2017
b29568c
SystemUI: Allow overlaying max notification icons
luk1337 Dec 9, 2018
139b21a
Support for device specific key handlers
bgcngm Sep 28, 2019
d4fbe5d
SystemUI: Show bluetooth battery level when available
luk1337 Oct 31, 2018
c7976ef
SystemUI: Improvements for bluetooth battery levels
ezio84 Nov 10, 2018
828992f
SystemUI: Add more bluetooth device filters
maxwen Dec 19, 2017
553e58c
SystemUI: update Bluetooth battery level assets.
Herna1994 Oct 1, 2019
c8144ab
Only show bluetooth icon when connected && enabled
Jan 29, 2018
e8aab33
perf: enable gesture fling boost by default
xboxfanj Oct 10, 2019
a325bdb
Improve scrolling cache
pawitp Nov 17, 2014
0360b6b
base: set scrolling friction to 0.006f
xboxfanj Oct 14, 2016
1e137a3
SystemUI: Tiny expanding improvement
kaluoshi Nov 13, 2014
7b086ad
ViewConfiguration: Set scroll friction to 0.012
TheCrazyLex Mar 16, 2017
3bc8a11
storage: Set all sdcards to visible
Oct 7, 2019
3f3ba2b
Reduce unnecessary NotificationListener binder transaction.
Sep 25, 2019
c6d6f1a
WindowOrientationListener: Check if proposed rotation is in range
luca020400 Jan 5, 2019
1d513bd
Fix: Recent Apps not closing
Oct 15, 2019
86b5fff
core: Add camera intents for camera state
TheScarastic Aug 30, 2019
38fc389
Add colors to assistant animation
suphon-t Sep 14, 2019
ecb2e16
SystemUI: assist: disable old Assistant animations
argraur May 12, 2019
1349cc3
Apply JNI optimizations to HwParcel
Oct 8, 2019
9bab85c
Always allow back gesture when there are transient bars showing
Oct 4, 2019
8094d85
Fix for, BT Carkit position issue when music app is killed
Jun 5, 2019
21afd21
Clean up class preloading
Aug 29, 2019
b3c3488
BatteryService: scheduleUpdate asynchronously
jacky8hyf Aug 16, 2019
5106db4
Resolve NumberPicker display abnormal issue.
Jul 24, 2019
b3c27a8
[Bugfix]audioservice:fix voice_call default volume
Dec 19, 2019
381f5f8
SystemUI: Make BrightlineFalsingManager depend on config
arco Oct 19, 2019
2d725a7
CarrierConfigManager: enable LTE+ icon by default
xboxfanj Oct 19, 2019
908e84e
SystemUI: Don't show build version in QS footer
33bca Sep 28, 2019
dfb21d6
SystemUI: hide Emergency button on bottom lockscreen for everyone.
Herna1994 Jul 27, 2019
636f758
SystemUI: actually set emergency button visibility to gone.
Herna1994 Nov 20, 2019
8497e9a
SystemUI: Remove GarbageMonitor tile
jhenrique09 Aug 13, 2018
1da67a4
storage: Do not notify for volumes on non-removable disks
tdmcyngn Nov 24, 2015
e9d2103
Revert "Apply front scrim to doze pulsing"
Lucchetto Dec 4, 2019
f1caff4
[BugFix]Fix enter deep doze when moving
Dec 5, 2019
6f64dba
base: Disable WiFi/Hotspot generation numbering
Herna1994 Nov 25, 2019
afbb492
base: wifi: return 0 on getSoftApWifiGeneration()
Herna1994 Dec 6, 2019
0622f45
PackageManager: Add configuration to specify vendor platform signatures
intervigilium Dec 6, 2017
e08d1d1
PackageInstaller: Show current and new version on APK installation
ezio84 Dec 25, 2019
9f7b351
Revert "Inform Servicetracker HAL about Service Lifecycle events"
xboxfanj Nov 18, 2019
dfac16d
aapt2: do not use compression
arter97 Jan 2, 2020
4257edf
aapt2: silence positional arguments warnings
arter97 Jan 6, 2020
8906317
NtpTrustedTime: Refresh NTP server from resources before requesting time
moetayuko Feb 8, 2018
f19369f
FingerprintManager: return "Try again" by default
arter97 Jan 4, 2020
c806988
fingerprint: handle PerformanceStats NULL pointers
GalaticStryder Jun 4, 2017
eac832f
Download: Add support to manually pause/resume download
Dec 17, 2013
e3e428c
SystemUI: re-enable Tuner
Aug 6, 2018
545318a
Tuner: Don't clear out prefs, it's not disabled
Aug 6, 2018
8ed53fe
base: Show SystemUI Tuner by default
Myself5 Aug 28, 2016
45ad84b
qs: Hide tuner icon
Aug 27, 2017
90b73d8
SystemUI: Revamp our tuner
RiteshSaxena Apr 26, 2019
8fb8d5c
SystemUI: Add List and Switch Preferences
eyosen Jul 1, 2018
b007985
base: Advanced reboot
maxwen Aug 28, 2017
9789028
tuner: Add tunables for advanced reboot
RiteshSaxena Oct 25, 2019
0765db2
SystemUI: Add double-tap status bar to sleep
ehardesty Dec 12, 2013
994c220
tuner: Add tunable for double tap to sleep on statusbar
RiteshSaxena Oct 27, 2019
fd6cf3a
SystemUI: Add double-tap lock screen to sleep
Altaf-Mahdi Feb 4, 2016
3b55032
tuner: Add tunable for double tap to sleep on lockscreen
RiteshSaxena Oct 27, 2019
5793d1d
SystemUI: Prevent dummy expansion of status bar
maxwen Jan 21, 2018
bf3f7b6
base: allow disable of screenshot shutter sound [1/2]
maxwen Mar 29, 2015
b9f69ec
tuner: Add intent to lockscreen clock customizatons
RiteshSaxena Oct 27, 2019
891e0c4
base: config to disable power menu on secure lock screen
maxwen Jun 19, 2017
5d27011
tuner: Add toggle to disable power menu on secure lock screen
RiteshSaxena Oct 27, 2019
862830a
base: Fingerprint authentication vibration
Beanstown Jan 14, 2016
283f0d3
tuner: Add tunables for fingerprint authentication vibration
RiteshSaxena Oct 27, 2019
d9533f1
base: tuner: remove unneeded statusbar tuner switches
maxwen Aug 22, 2018
468fe82
base: tuner: bring back tuner navbar editor from N
maxwen Jan 24, 2018
ed03c28
SystemUI: Add navbar layout inversion tuning
luk1337 Sep 20, 2019
0538877
base: tuner: fix navbar layout switch and remove old cruft
maxwen Oct 6, 2019
a98dd50
base: SystemUI: tuner: fix hiding of statusbar clock
maxwen Sep 13, 2018
54dd68f
core: Add support for MicroG
Sep 25, 2018
b36cadb
base: Add incall vibration options [1/3]
Beanstown Sep 5, 2017
5186270
Revert "Remove unused auto brightness drawables."
RiteshSaxena Oct 27, 2019
86c6a82
Add auto brightness toggle to Quick Settings
maxwen Jan 3, 2016
313f619
QS auto brightness toggle rework
maxwen Jan 3, 2016
d02a48d
Fix automatic brightness QS toggle icon
SpiritCroc Oct 31, 2016
b2e8565
Make brightness icon always visible
RiteshSaxena Apr 26, 2019
fe1e170
SystemUI: allow to switch back to pre P mobile type icon style
Vachounet Sep 13, 2018
5c3cb94
base: SystemUI: fix visibility of mobile type icon
maxwen Sep 16, 2018
93e7453
SystemUI: fix height of old data type icons
maxwen Sep 23, 2018
709d4ad
base: Fix old mobile signal icons
Mar 30, 2019
2af662a
tuner: Add tunables for using pre P mobile type icon style
RiteshSaxena Feb 19, 2020
12eea4f
base: Add QS pulldown with one finger
darkobas Oct 5, 2019
6db58d7
tuner: Add tunables for QS Quick Pulldown
RiteshSaxena Oct 27, 2019
e5d6c1e
base: allow disabling quick settings on secure lock screens
darkobas Oct 5, 2019
1bb7a65
base: fix disabling quick settings on secure lock screens
maxwen Oct 8, 2019
143c478
SystemUI: Fix disable QS pulldown on secure lockscreens
darkobas Oct 9, 2019
3c6f934
SystemUI: block open doors for disabled secure lock qs expand
maxwen Nov 9, 2019
fd1952d
tuner: Add tunables for disabling quick settings on secure lock screens
RiteshSaxena Oct 27, 2019
5b1f540
SystemUI: Remove data tile dialog
xyyx Aug 16, 2018
ee55233
Allow adjusting screen density to smaller sizes.
maniac103 Sep 12, 2016
9e7c456
base: Allow using 4G icon instead LTE
neobuddy89 Nov 22, 2018
6428343
base: Add VoLTE icon toggle
SagarMakhar Apr 6, 2019
ccec1bd
base: Fix VoLTE icon color on Light statusbar
Adarsh-MR Oct 19, 2018
f5667eb
base: SystemUI: new HD (VoLTE) icon
Adarsh-MR Oct 19, 2018
e6f14be
tuner: Add tunable for showing battery percentage
RiteshSaxena Oct 28, 2019
ef91b58
base: Improve dark theme [1/2]
RiteshSaxena Nov 12, 2019
659f113
DeviceInfoUtils: Prefer reloaded platform SPL
moetayuko Nov 17, 2019
a98c1bf
fwb: Add support for internal audio recording
jhenrique09 Aug 22, 2019
32edb98
base: Add performance profiles [1/3]
RiteshSaxena Jan 6, 2019
860207f
Camera: allow camera to use power key as shutter
Danesh Nov 30, 2012
231da54
NightLight: Allow lower temperatures
Aug 27, 2017
6f0e46c
base: add new Reloaded MetricsEvent
gtpitch Oct 14, 2017
9cfc8ce
SystemUI: Add Caffeine QS Tile
Nov 16, 2017
af68965
SystemUI: Add heads up tile
mikeNG Apr 21, 2015
9bca8ce
SystemUI: Add Sync tile
Altaf-Mahdi Jan 31, 2015
61015cc
Remove DUN requirement for tethering
nardholio Dec 15, 2013
6403b9a
SystemUI: FingerprintDialogView: Use accent color instead of teal
jhenrique09 Nov 25, 2019
47a7581
base: Add api to take screenshots
bigrushdog Sep 12, 2017
510ff4c
SystemUI: Add partial/full screenshot QS tile
ezio84 Oct 26, 2019
bbea615
ScreenshotTile: Use secondary label to indicate mode
SKULSHADY Oct 26, 2019
f2b84fe
ScreenshotTile: Make default state inactive
SKULSHADY Nov 15, 2019
8141523
SystemUI: implement better partial screenshot
Demon000 Jan 19, 2020
12d3e1a
ScreenshotHelper: ignore timeout when taking partial screenshots
Demon000 Jan 20, 2020
b00f3b8
base: Add three-fingers-swipe to screenshot [1/2]
ghbhaha Aug 8, 2015
44620bd
SystemUI: Add lockscreen charging info [1/2]
xyyx Aug 16, 2018
3d36bff
SystemUI: Show charging current in A
RiteshSaxena Feb 24, 2020
33fecee
tuner: Add tunables for lockscreen charging info
RiteshSaxena Feb 19, 2020
1eff132
base: navigation mode settings [1/2]
maxwen Sep 25, 2019
3f8b506
SystemUI: Remove annoying log caused by AOSP bug
mydongistiny Sep 6, 2018
3110e51
Merge 3a0bd0be344a525b4c4ac21554fbbb3acfbff9e4 on remote branch
Mar 4, 2020
3e708c8
RESTRICT AUTOMERGE
Oct 22, 2019
99b75ee
Revoke granted permission when the permission defining app is removed.
moltmann Oct 28, 2019
6c797ad
RESTRICT AUTOMERGE TextClassifier cross-user vulnerability in direct-…
toki-google Jul 1, 2019
9690e9e
Put userId at the end of parcel
tony-mak Dec 10, 2019
36d95ff
[DO NOT MERGE] Return correct offsets for getAttributeRange()
jinpark6 Nov 19, 2019
580b9c0
Handles null outInfo in deleteSystemPackageLI
patrickbaumann Aug 23, 2019
f6d7d74
DO NOT MERGE - Temporary fix to disable augmented autofill requests c…
Oct 25, 2019
5f4dec0
Fix PermissionMonitor issues
Nov 25, 2019
af37207
Merge tag 'LA.UM.8.1.r1-14500-sm8150.0' of https://source.codeaurora.…
RiteshSaxena Mar 28, 2020
213c17e
Merge 44861336b2eed9778eeecc84d92929ba620327b1 on remote branch
Apr 5, 2020
d7c12e9
Prevent sending early termination of appop use
Dec 18, 2019
d501fea
Fix potential double destroy of AssetManager
Jul 4, 2019
8ccd3bd
Fix serialization issue of ExternalVibration
Jan 7, 2020
683bb76
Merge tag 'LA.UM.8.1.r1-14700-sm8150.0' of https://source.codeaurora.…
RiteshSaxena Apr 13, 2020
aeac189
Merge tag 'LA.UM.8.12.r1-10400-sm8250.0' of https://source.codeaurora…
RiteshSaxena Apr 20, 2020
f14d07c
base: Add battery light switch
sam3000 Sep 4, 2017
4308798
tuner: Add preferences for notification and battery lights
RiteshSaxena Apr 21, 2020
b776738
base: Use ro.build.date to clear cache dirs on update
maxwen Nov 19, 2019
86cb053
base: Network Traffic
Haus1 Jan 4, 2017
80c99e8
Network Traffic: stop the handler if screen is off
ezio84 Apr 9, 2018
d060c67
Network traffic: Move to expanded statusbar header
ezio84 Dec 9, 2018
2648c7b
Network Traffic: Fix text color on light theme
ezio84 Dec 12, 2018
c28f215
Network Traffic: Fix indicator not hiding on lost connection
SpiritCroc Dec 24, 2018
267b440
Network Traffic: Bring back traffic indicator for all
Jan 13, 2019
e248bd6
Network Traffic: Move network indicator to the right
Miccia94 Dec 18, 2018
486acd1
Network Traffic: OOS style network traffic indicator
ganeshi4u Mar 12, 2019
f8f9e9a
Network Traffic: Refactor text formatting
ganeshi4u Feb 6, 2020
afee948
Network Traffic: Adjust size/text style for extended statusbar
Feb 6, 2020
565d55c
Network Traffic: Code cleanup and improvements
ezio84 Feb 9, 2020
5771291
Network Traffic: Use smaller and bold fonts in expanded statusbar
ezio84 Feb 9, 2020
4a52f2b
Network Traffic: Add properly to statusbar icons
SpiritCroc Feb 11, 2020
2e7ddee
Network Traffic: Hide in the keyguard
Feb 12, 2020
d4a50cd
Network Traffic: Don't show two instances in expanded statusbar
ezio84 Feb 12, 2020
2d9964d
Network Traffic: Prevent logspam caused by improperly calling request…
ezio84 Feb 14, 2020
f820dab
NetworkTraffic: Autohide on no activity
RiteshSaxena Jul 27, 2019
c5c6bfd
NetworkTraffic: Allow to switch between Statusbar or Expanded QS
RiteshSaxena Apr 21, 2020
9fbbe67
tuner: Add preference for Network indicator
RiteshSaxena Dec 14, 2018
c6d2a18
Merge tag 'LA.UM.8.12.r1-10600-sm8250.0' of https://source.codeaurora…
RiteshSaxena May 4, 2020
64c2705
DO NOT MERGE Ensure package names read from config are system packages.
zhanghai Dec 11, 2019
ffba156
Call getPackageInfo() with cleared calling identity in ensureSystemPa…
zhanghai Feb 4, 2020
aee21a3
RESTRICT AUTOMERGE Update keyguard locked state from TrustManagerService
Nov 5, 2019
8a21cad
Add SafetyNet logging for package names read from config.
zhanghai Feb 1, 2020
3de6613
RESTRICT AUTOMERGE Use consistent calling uid and package in navigate…
Mar 3, 2020
50bc056
DO NOT MERGE - Kill apps outright for API contract violations
Aug 19, 2019
3eb9cf9
RESTRICT AUTOMERGE Block TYPE_PRESENTATION windows on default display
Feb 4, 2020
9252e31
Update redaction upon profile changes
Jan 30, 2020
01854da
RESTRICT AUTOMERGE Revert submission 10383599-type-presentation-q
Mar 31, 2020
f31f8c3
Merge tag 'LA.UM.8.12.r1-11300-sm8250.0' of https://source.codeaurora…
RiteshSaxena May 21, 2020
1830543
Merge tag 'LA.UM.8.12.r1-11700-sm8250.0' of https://source.codeaurora…
RiteshSaxena Jun 1, 2020
36ca4ac
Require a more specific intent
Mar 25, 2020
0ad7b33
Verify all possible hosts that match web nav
Feb 26, 2020
ec13e76
Force update uid state when pending uid state is applied
moltmann Jan 25, 2020
b0ab58a
Notify all packages is uid-mode is changed
moltmann Jan 25, 2020
f2f3dbf
Fix order of uid/pid in LocationAccessPolicy
Apr 2, 2020
a2288cd
Create different KeyId for saved and suggestion network
Mar 3, 2020
ca07d42
Merge tag 'LA.UM.8.12.r1-11900-sm8250.0' of https://source.codeaurora…
RiteshSaxena Jun 23, 2020
7b6cf0b
Merge tag 'LA.UM.8.12.r1-12500-sm8250.0' of https://source.codeaurora…
RiteshSaxena Jun 26, 2020
7e5d4ac
Merge tag 'LA.UM.8.12.r1-13100-sm8250.0' of https://source.codeaurora…
RiteshSaxena Jul 11, 2020
d9c897c
RESTRICT AUTOMERGE Prevent accessing companion records from arbitrary…
Mar 28, 2019
8b4f12d
Revert "WifiDualSta: Depricating STA_SHARED and enableNetwork(staId,..)"
StyloGey Jun 24, 2020
3e89314
Tuner: Add icons for preferences
RiteshSaxena Jul 3, 2020
9c3d0ff
biometrics: Allow posting reset runnable for all clients
luk1337 Sep 10, 2019
2b9ef7b
FingerprintService: add overlay to prevent cleanup of unused fingerpr…
codeworkx Oct 1, 2018
4708651
Revert "fwb: Add support for internal audio recording"
RiteshSaxena Jul 15, 2020
b08d9fb
[1/2] base: Remove restrictions for system audio record
jhenrique09 Mar 24, 2020
7705222
SystemUI: Whitelist our recorder on CastController
jhenrique09 Sep 2, 2019
3b50845
GlobalActionsDialog: Disable screen recorder shorcut
jhenrique09 Mar 28, 2020
ddea33c
GlobalActionsDialog: Screenshot: Restore default long press action
jhenrique09 Apr 6, 2020
b1a5375
Initial import of SystemUIGoogleFactory
jhenrique09 Sep 12, 2019
275d807
SystemUI: Port code to improve pixel live wallpapers
jhenrique09 Sep 12, 2019
9605923
SystemUI: Implement Smart space
jhenrique09 Sep 13, 2019
0619324
SystemUI: Fix SystemUIGoogle after r16 merge
SKULSHADY Dec 4, 2019
9a44aa0
SystemUI: Lockscreen weather code fixes
ezio84 Feb 2, 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
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions core/java/android/app/DownloadManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,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 @@ -987,6 +994,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 @@ -1245,6 +1253,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 @@ -1682,6 +1718,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 @@ -1737,6 +1776,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
5 changes: 5 additions & 0 deletions core/java/android/app/IActivityManager.aidl
Original file line number Diff line number Diff line change
Expand Up @@ -593,4 +593,9 @@ interface IActivityManager {
* unlockProgressListener can be null if monitoring progress is not necessary.
*/
boolean startUserInForegroundWithListener(int userid, IProgressListener unlockProgressListener);

/**
* Should disable touch if three fingers to screen shot is active?
*/
boolean isSwipeToScreenshotGestureActive();
}
15 changes: 15 additions & 0 deletions core/java/android/content/Intent.java
Original file line number Diff line number Diff line change
Expand Up @@ -4424,6 +4424,21 @@ public static Intent createChooser(Intent target, CharSequence title, IntentSend
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_VIEW_LOCUS = "android.intent.action.VIEW_LOCUS";

/**
* Broadcast action: Camera satus Changed
* @hide
*/
public static final String ACTION_CAMERA_STATUS_CHANGED =
"android.intent.action.CAMERA_STATUS_CHANGED";

/**
* This field is part of the intent {@link #ACTION_CAMERA_STATUS_CHANGED}.
* Intent extra field for the state of changed camera state
* @hide
*/
public static final String EXTRA_CAMERA_STATE =
"android.intent.extra.CAMERA_STATE";

// ---------------------------------------------------------------------
// ---------------------------------------------------------------------
// Standard intent categories (see addCategory()).
Expand Down
6 changes: 1 addition & 5 deletions core/java/android/content/pm/PackageParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -3666,11 +3666,7 @@ private boolean parseBaseApplication(Package owner, Resources res,
ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_ALLOW_CLEAR_USER_DATA_ON_FAILED_RESTORE;
}

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

if (sa.getBoolean(
R.styleable.AndroidManifestApplication_requestLegacyExternalStorage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -927,13 +927,15 @@ private void cancelAuthentication(android.hardware.biometrics.CryptoObject crypt
* @hide
*/
public static String getErrorString(Context context, int errMsg, int vendorCode) {
final String retry = context.getString(
com.android.internal.R.string.fingerprint_error_unable_to_process);

switch (errMsg) {
case FINGERPRINT_ERROR_HW_UNAVAILABLE:
return context.getString(
com.android.internal.R.string.fingerprint_error_hw_not_available);
case FINGERPRINT_ERROR_UNABLE_TO_PROCESS:
return context.getString(
com.android.internal.R.string.fingerprint_error_unable_to_process);
return retry;
case FINGERPRINT_ERROR_TIMEOUT:
return context.getString(com.android.internal.R.string.fingerprint_error_timeout);
case FINGERPRINT_ERROR_NO_SPACE:
Expand Down Expand Up @@ -964,7 +966,7 @@ public static String getErrorString(Context context, int errMsg, int vendorCode)
}
}
Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode);
return null;
return retry;
}

/**
Expand Down
7 changes: 7 additions & 0 deletions core/java/android/os/BaseBundle.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,13 @@ private void initializeFromParcelLocked(@NonNull Parcel parcelledData, boolean r
} else {
throw e;
}
} catch (RuntimeException e) {
if (sShouldDefuse && (e.getCause() instanceof ClassNotFoundException)) {
Log.w(TAG, "Failed to parse Bundle, but defusing quietly", e);
map.erase();
} else {
throw e;
}
} finally {
mMap = map;
if (recycleParcel) {
Expand Down
48 changes: 48 additions & 0 deletions core/java/android/os/Build.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@

import dalvik.system.VMRuntime;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
* Information about the current build, extracted from system properties.
Expand All @@ -62,6 +67,12 @@ public class Build {
/** The name of the underlying board, like "goldfish". */
public static final String BOARD = getString("ro.product.board");

/**
* The build date
* @hide
*/
public static final String DATE = getString("ro.build.date");

/**
* The name of the instruction set (CPU type + ABI convention) of native code.
*
Expand Down Expand Up @@ -995,6 +1006,7 @@ public static class VERSION_CODES {

/** The type of build, like "user" or "eng". */
public static final String TYPE = getString("ro.build.type");
private static String TYPE_FOR_APPS = parseBuildTypeFromFingerprint();

/** Comma-separated tags describing the build, like "unsigned,debug". */
public static final String TAGS = getString("ro.build.tags");
Expand All @@ -1021,6 +1033,42 @@ private static String deriveFingerprint() {
return finger;
}

// Some apps like to compare the build type embedded in fingerprint
// to the actual build type. As the fingerprint in our case is almost
// always hardcoded to the stock ROM fingerprint, provide that instead
// of the actual one if possible.
private static String parseBuildTypeFromFingerprint() {
final String fingerprint = SystemProperties.get("ro.build.fingerprint");
if (TextUtils.isEmpty(fingerprint)) {
return null;
}
Pattern fingerprintPattern =
Pattern.compile("(.*)\\/(.*)\\/(.*):(.*)\\/(.*)\\/(.*):(.*)\\/(.*)");
Matcher matcher = fingerprintPattern.matcher(fingerprint);
return matcher.matches() ? matcher.group(7) : null;
}

/** @hide */
public static void adjustBuildTypeIfNeeded() {
if (Process.isApplicationUid(Process.myUid()) && !TextUtils.isEmpty(TYPE_FOR_APPS)) {
try {
// This is sick. TYPE is final (which can't be changed because it's an API
// guarantee), but we have to reassign it. Resort to reflection to unset the
// final modifier, change the value and restore the final modifier afterwards.
Field typeField = Build.class.getField("TYPE");
Field accessFlagsField = Field.class.getDeclaredField("accessFlags");
accessFlagsField.setAccessible(true);
int currentFlags = accessFlagsField.getInt(typeField);
accessFlagsField.setInt(typeField, currentFlags & ~Modifier.FINAL);
typeField.set(null, TYPE_FOR_APPS);
accessFlagsField.setInt(typeField, currentFlags);
accessFlagsField.setAccessible(false);
} catch (Exception e) {
// shouldn't happen, but we don't want to crash the app even if it does happen
}
}
}

/**
* Ensure that raw fingerprint system property is defined. If it was derived
* dynamically by {@link #deriveFingerprint()} this is where we push the
Expand Down
Loading