summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Automatic translation importinky@build012016-07-152-1/+22
| | | | | | | | | | | | | | | Change-Id: Iaf2d46f67d3b9ea9f8acf7293df7c98fb53156cf Ticket: -
| * | Automatic translation importclyde@build012016-07-112-2/+2
| | | | | | | | | | | | | | | Change-Id: Ia5826d42a5a84f3ef604545fb537ce2c5d791809 Ticket: -
| * | Merge remote-tracking branch 'remotes/android-6.0.1_r52' into HEADJessica Wagantall2016-07-072-1/+22
| |\ \ | | |/ | | | | | | | | | | | | Ticket: CYNGNOS-3020 Change-Id: Ia14b6d0120de0b458c7c249a11041ff121389cfa
| | * Backport ChooserTarget package source check from NAdam Powell2016-05-271-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug where a ChooserTargetService could supply a ChooserTarget pointing at a non-exported activity outside of its own package and have it launch. Bug 28384423 Change-Id: I3f5854f91c5695ad9253d71055ef58224df47008
| | * Don't pass URL path and username/password to PAC scriptsPaul Jensen2016-05-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | The URL path could contain credentials that apps don't want exposed to a potentially malicious PAC script. Bug: 27593919 Change-Id: I4bb0362fc91f70ad47c4c7453d77d6f9a1e8eeed
| * | Automatic translation importblinky@build012016-07-051-0/+5
| | | | | | | | | | | | Change-Id: Ia66a72254e86b00e1cd98e6a6d775fa76066e3b6
| * | BT: Set persiste Bluetooth State during enable timeout caseGurpreet Ghai2016-07-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use case: When enable timeout occurs during S&S testing and Bluetooth state is moved from Turning On to Off. Steps: Changes related to enable timeout case, to test the changes, S&S testing can be done. Failure: Changes done to handle Bluetooth enable timeout case when Bluetooth state changes from Turning On to Off. Root cause: Setting Bluetooth Persist state to handle the enable timeout case so that Bluetooth doesnot self enable after enable timeout case is handled. Fix: Setting the Bluetooth Persist State to Off when enable timeout occurs. Change-Id: I17b3b05020eb7469666e6d8c88c86df7764b4024 CRs-Fixed: 1006444
| * | Wifi: Make maximum selective channel scans and interval configurableNalla Kartheek2016-07-022-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | The change makes max initial scans on selective channels and initial saved channel scan interval configurable. Change-Id: I61a9c0b203dca879c1420886d06659a277a7ed99 CRs-Fixed: 909098
| * | WindowAnimator : Check KEYGUARD_PANEL when deciding to show/hide windowDanesh M2016-06-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, if blur is enabled we don't hide the window behind since we want the user to see it. This is not true for when a KEYGUARD_PANEL is active since we can't see anything behind it anyway. Only apply blur logic if KEYGUARD_PANEL is not added. CYNGNOS-2980 Change-Id: Icecae14455d6e68665bb688e3f6dc4ea9d74e88c
| * | wifi: Enable WiFi IpReachabilityMonitor by defaultZdrowy Gosciu2016-06-231-1/+1
| | | | | | | | | | | | | | | Change-Id: I7e604659a220b0fa26373dc8191053d7f9d5c8cb Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
| * | Automatic translation importinky@build012016-06-173-2/+123
| | | | | | | | | | | | Change-Id: Id9b2d5014436ab0eaf7ea0125d23e7caba75db8d
| * | Themes: Expose Power DialogsBryan Owens2016-06-142-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | This will give themes the ability to invert the three power dialogs without editing a main resource Change-Id: Ibeab94add8ce8c18955576dc49c441883feb18d6 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
| * | Framework: allow ResolverActivity to be specialized from other packageWilhelm Fitzpatrick2016-06-092-2/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PackageManager already has hooks to allow the Disambiguation Dialog aka ResolverActivity to be substituted at runtime by a custom activity named via system property. Since the internal ResolverActivity already has good extension points (for use by ChooserActivity), it is useful to allow a customized ResolverActivity, provided in a separate package to be able to extend the internal activity, thus preserving core behavior as much as possible, and making forward porting easier. This patch attempts to make as few changes to the core ResolverActivity as possible to make up stream patching easy, and isolates most of the needed code into a shim (ResolverProxy) which is mostly concerned with changing the access modifier of key methods from package-private to protected. This is necessary to allow overriding of those methods from a subclass originating from a different class loader. Change-Id: I17070964fca73f0d11b4fe8d809b2a775ba9e7e6
| * | Merge tag 'android-6.0.1_r46' into HEADJessica Wagantall2016-06-071-0/+15
| |\ \ | | |/ | | | | | | | | | | | | | | | Android 6.0.1 release 46 # gpg: Signature made Mon 06 Jun 2016 10:38:22 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| | * Add new, hidden MotionEvent flag for partially obscured windows.Michael Wright2016-04-211-0/+15
| | | | | | | | | | | | | | | Bug: 26677796 Change-Id: Ic4219b883bb760495e6172ef61e84e9725876ef6
| * | SystemUI: Add support for persistent usb drive notification.Adnan Begovic2016-06-062-0/+6
| | | | | | | | | | | | | | | | | | | | | This option can be enabled via config_persistUsbDriveNotification Change-Id: I331a759aeb914e46e3ef4842896d3465d894707a TICKET: PAELLA-225
| * | Frameworks: Add per app controls for LP keyguard notifications (1/2)Lars Greiss2016-06-013-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want to see from important apps the notifications on the lockscreen. This commit adds the ability to - enable/disable per app the keyguard notification at all - enable/disable per app ongoing notifications on the keyguard We handle this over the app policy conf file like the other per app notification options. CRACKLING-1127 Change-Id: Ib166db1b1673aeaea132c8eeb16c650d2f254a82
| * | fw: reintroduce PRIVATE_FLAG_PREVENT_POWER_KEYScott Mertz2016-05-312-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Switching the PREVENT_SYSTEM_KEYS forces the application to handle every system key. Some apps may not want to handle every single key, so allow them to just handle the power key. CYNGNOS-2958 Change-Id: I43fd65e67b909e6d52548f110ff9997b829b3e15
| * | Core: Fix OOBMichael W2016-05-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getExternal___Dir() relies on getExternal___Dirs to return an array of at least 1 element. Make sure there is at least one element returned. (Reference: BugDump 13-20160513-19 l#45 (FileManager) and L#104 (Gallery) BugDump 13-20160520-26 L#18 and more (26), just search for "getExternal" to find all cases of that OOB (>>100 users)) Change-Id: I56394db135c4c53c972e3bcc8f1df4ea1d4d39e7
| * | Automatic translation importJessica Wagantall2016-05-261-1/+1
| | | | | | | | | | | | | | | Change-Id: I3dba99296950c90cdb4e7cb80f6874332bfb96a1 Ticket: RM-214
| * | Add CM version to dropbox entriesScott Mertz2016-05-251-0/+1
| | | | | | | | | | | | Change-Id: Ie318f8b18294a5c7c26ba344a546de81564cc64d
| * | Only call uncrypt when we're encryptedPat Erley2016-05-231-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were always generating a block map for encrypted update, even when the device was not encrypted. This leads to a spectacular failure. Fix this by only calling uncrypt when we're encrypted. Additionally, only pass block.map as the update file in the case that the device was encrypted and requires it. NIGHTLIES-3012 Change-Id: Ia34eb5115ac4365605fd57f76179854a6042c5e4
| * | fw: Repurpose PREVENT_POWER_KEY for preventing multiple system keys.Adnan Begovic2016-05-233-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows applications like camera, and various testing applications, to intercept certain system keys to verify behavior or leverage it in creative ways. Limited to signature/privileged. Change-Id: Iacd8735af2aabafbf1fc062d8c565b7102dc6865 TICKET: FEIJ-522
| * | frameworks/base: Support for third party NFC featuresPuneet Mishra2016-05-234-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integration of below modifications are necessary to support third party NFC software: * a new interface in INfcAdapter.aidl allowing vendor specific extensions and features * a new size for MIFARE Classic tags * a modified constructor to distinguish MIFARE Classic tags from NfcA tags * allowing extensions to AidGroup and changing the protection of the instance variables to package protected Change-Id: Ic11dc68c4ea83262c705ec50b75b5808aa064f82 (integrated from commit 57a001b7851c97d41f042dda643f9a87aa6306e5)
| * | Themes: Fix theming of cmsdk assetsd34d2016-05-191-0/+2
| | | | | | | | | | | | | | | | | | | | | Missed the pkgid assignment bits in I4f64d53d82c9edafbe624c3b2eafcda7332587fb Change-Id: Ie442c8922f0d9eac3ed5bab70a99d3e065b719c4 TICKET: CYNGNOS-2723
| * | Fix isComponentProtected calls in package manager testsScott Mertz2016-05-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9304f9e9abe09a6bfeeaa00ae52d446170bd68a changed the method signatures. Update the tests to match. Fixes build issues when building using 'make' only. TICKET: PAELLA-216 FEIJ-160 FEIJ-177 Change-Id: Ice6bbcd9a953edf3806d80e2669232f627a249e7
| * | am: Handle unchecked activity starts for protected components.Adnan Begovic2016-05-193-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if you received a notification from a protected app, since AM would state that the calling package was also the target package, the protected apps implementation would allow you to launch into the application. Mitigate this by hooking into the unchecked activity start stack (pending intent launches) globally. Change-Id: I0371593ade9e4af2554962873d89a0f82a639b57 TICKET: PAELLA-216 FEIJ-160 FEIJ-177
| * | Automatic translation importAbhisek Devkota2016-05-172-4/+57
| | | | | | | | | | | | Change-Id: I3e905d33baa25bbbccffeb48dab1a53a22f6bc3a
| * | Automatic translation importAbhisek Devkota2016-05-142-1/+129
| | | | | | | | | | | | Change-Id: I3d1a3f5e5b488776048d0dbaac757ffb1e2f8e7b
| * | Update volume slider only if ringer mode changedLuis Vidal2016-05-131-1/+2
| | | | | | | | | | | | | | | | | | | | | Prevents unnecesary updates to volume slider. Change-Id: Ie8c19c2061dc9f418972b16ca1618a80f10f1325 TICKET: CYNGNOS-958
| * | SpamFilter : Hide option if notification cannot be filteredDanesh M2016-05-131-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hide option to filter notification if its a completely custom notification which did not invoke setContentTitle/Message...etc. NOTES-85 Change-Id: Ieec799dba589329b994f7add703babece13b6d14
| * | Automatic translation importAbhisek Devkota2016-05-101-0/+7
| | | | | | | | | | | | | | | Change-Id: I6cae41da852faffb9a82b0f5a92bcd179879d6ba Ticket: RM-232
| * | Automatic translation importMichael Bestas2016-05-104-0/+21
| | | | | | | | | | | | Change-Id: I1fc549efac54f6f67ac9384eaebbddf723f30192
| * | CmRes: Attach themed cmsdk resources to assetsd34d2016-05-101-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cmsdk is beginning to contain some themable assets, like the quick settings tiles for LiveDisplay and Themes so we need to attach themed resources for the cmsdk in order for those themed resources to be picked up. Change-Id: I4f64d53d82c9edafbe624c3b2eafcda7332587fb TICKET: CYNGNOS-2723
| * | Themes: Expose manifest styles for framework activitiesBryan Owens2016-05-052-8/+37
| | | | | | | | | | | | | | | | | | | | | | | | This patch creates separate themes for the various activities found in the framework allowing for different styles for each. Change-Id: I2035bdda83e00c04e67325e9ce855b014b2950ec Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
| * | Revert "Themes: Expose manifest styles for themes"Clark Scheff2016-05-052-45/+8
| | | | | | | | | | | | | | | | | | This reverts commit 62e6a40dde762251e1f26c43fff319673df54722. Change-Id: Ibd05eef61176fc64ad0732a9c929e1dfa7e11912
| * | Themes: Expose manifest styles for themesBryan Owens2016-05-052-8/+45
| | | | | | | | | | | | | | | Change-Id: I5c706654538a435738419f69d4909d205d26abb8 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
| * | Settings: defer DEV_FORCE_SHOW_NAVBAR query to CMSettingsRoman Birg2016-05-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some apps were using Settings.System.DEV_FORCE_SHOW_NAVBAR to determine whether the device was forcing a nav bar. It was then moved to Settings.Secure, and then to CMSettings.Secure. So some apps check against Settings.System, and some may check against Settings.Secure. The real value lives in CMSettings.Secure right now. We could not intercept the setting because MOVED_TO_SECURE would return the already-cached value from Settings.Secure, not allowing us to intercept the call in CMSettings. With this removal, we can handle the logic for this key in CMSettingsProvider. Ticket: CYNGNOS-2480 Change-Id: I7485c0d0acf90df365e5ed5ebdb42596d148de62 Signed-off-by: Roman Birg <roman@cyngn.com>
| * | media: Remove effect session callbacks from the frameworkSteve Kondik2016-04-271-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This API is moving to CMSDK. Revert "media: Add flags, channelMask, and UID to audio session callbacks" This reverts commit e0554d493e870ea5e323ed06f54becb93c19fa04. Revert "audiosystem: Add API for listening to effect session events" This reverts commit 9957394df71db6f01802091858216582c58eab67. Change-Id: I5f18fdb3390db25285a5b819dfe2136ae111c0b3
| * | Merge tag 'android-6.0.1_r30' into HEADJessica Wagantall2016-04-201-0/+12
| |\ \ | | |/ | | | | | | | | | | | | | | | Ticket: RM-234 Android 6.0.1 release 30 Change-Id: I1bd7cf4081a12d28dc5da8b53b9124180afaa23d
| | * Redact Account info from getCurrentSyncsMatthew Williams2016-02-261-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG:26094635 If the caller to ContentResolver#getCurrentSyncs does not hold the GET_ACCOUNTS permission, return a SyncInfo object that does not contain any Account information. Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314 (cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)
| | * DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)Andre Eisenbach2016-02-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interop database entries are stored in the system settings entry "BluetoothInteropDatabase". The format is a list of entries separated by ";". An entry consists of a BDA fragment, followed by a comma and an integer representing a feature from interop.h. Example: To disable LE secure connections for devices starting with BDA 11:22:33, use "11:22:33,0". Bug: 26548845 Change-Id: I6a9fd34f6af4d3bdfcaa0e051eafebdfbf2a4949 (cherry picked from commit 3bc623be8dd8b83d0a22c5cc5b5a8955001f6fc7)
| | * DO NOT MERGE ANYWHERE: Don't change screen on time on time changesAdam Lesinski2016-02-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Screen on time should be measured in elapsed realtime, not wallclock. Cause a checkIdleStates to occur when reloading stats (on rollover and on time change). When time changes occur in the negative direction, the new stats file we create can overlap the previous one with regards to its end timestamp. Use the begin timestamp to determine which of the latest stats to merge. (b/22716352) Bug: 26488100 Change-Id: If31b29bbbee9e98401205b5e26bce86e181286e7
| | * DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for ↵Adam Lesinski2016-02-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | app idle Ignores the old, re-appropriated key "idle_duration" which is now set to a high value in order to force disable app idle on devices with bug b/26355386 Bug:26355386 Change-Id: Iff9de843ad6e547d29c1583687fc7f7ce7e15090
| | * Exit getAllValidScorers early if not the primary.Jeremy Joslin2016-02-161-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the crash that occurs when getAllValidScorers() is invoked by a non-primary user when a scorer is active. BUG: 23040221 Change-Id: I42c9e18d74389be3191258ca5626f2c433ca7cc7 (cherry picked from commit 5b294b45d0d7afbed71fd2e59342c5ad7b8b7d76)
| * | Automatic translation importMichael Bestas2016-04-164-1/+1821
| | | | | | | | | | | | Change-Id: Ib87e41106982b159d249ebbe0653e569f9c7b454
| * | LockPatternUtils: Use the actual user id to set pattern sizeScott Mertz2016-04-141-10/+10
| | | | | | | | | | | | | | | Ticket: CYNGNOS-2462 Change-Id: Ia68e26ec2dfc23317135d933bc25204c1380bb02
| * | Themes: Restore original value if getValue failsd34d2016-04-131-25/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a catch all around the guts of IconCustomizer.getValue and restore the original outValue before returning if an exception does occur, with some log output for our own sanity. Change-Id: I021760cd5dc07d9cfbbced09c514b86fb997f7d0 TICKET: CYNGNOS-2432
| * | livedisplay: Moving LiveDisplay to CMSDKSteve Kondik2016-04-1398-801/+0
| | | | | | | | | | | | | | | | | | | | | * Remove all LiveDisplay-related code from the framework, and update the QS tile for the new API. Change-Id: I41c04a254afa91c0ed26c050362b63049d489fba
| * | media: Add flags, channelMask, and UID to audio session callbacksSteve Kondik2016-04-081-3/+4
| | | | | | | | | | | | | | | | | | | | | * This is to allow us to implement more sophisticated logic in the application on when to apply effects to a stream. Change-Id: I2931daa1546591e18d98acc91775c1fdafa3d453