summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* perf: Send the process name and pid for launch boostsSteve Kondik2016-05-063-27/+31
| | | | Change-Id: I999a32ed1d8c779fa5118302a75abac88979a5b5
* SysUI: Make sure LLS focus is false when unlockingd34d2016-05-061-0/+1
| | | | | | | | | | Ensure mLlsHasFocus is set to false when device is unlocked. If not this can cause state issues where LiveLockScreenController thinks the LLS had focus when the backing service dies or disconnects, which causes the keyguard to be shown erroneously. Change-Id: I33cef3990461599a08a5441e88c883c0d0c7c589 TICKET: CYNGNOS-2739
* Add new options for call waiting response in InCallUIKamaljeet Maini2016-05-064-0/+47
| | | | | | | | | | | | | | | | When an incoming call is received while there is already an active call, the user will be given four choices for the response: 1) Left button: hold the current call and answer incoming call 2) Bottom button: end the current call and answer the incoming call 3) Right button: decline the incoming call 4) Top button: Send a text message to the incoming caller if texting is enabled The framework changes include new hidden API for sending additional information to Telecomm service, few constants, and a bug fix. Change-Id: I642b330d856613fafc0526eb79dd97fedba4ce6a
* fw: Provide system context to EnableAccessibilityController.Adnan Begovic2016-05-051-4/+19
| | | | | | | | | | | | | | | Every invocation audit wrapped by AppsOps will validate that the original context's uid matches what is being audited. Since we create a themed context from system ui, every attempt at flipping secure settings while in the GlobalActions scope would lead to SecurityExceptions. Mitigate by passing original context as well as the themed context and constructing the EnableAccessibilityController with the system context. Change-Id: I61d8c99c9da6c7387544c77250907ff4a2ae38d8 TICKET: FEIJ-316
* 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>
* SystemUI: LiveDisplay is not translatableMichael Bestas2016-05-061-1/+1
| | | | Change-Id: Idcdcba4851597642afd95b3c889773a908a38334
* Lockscreen : Bunch-o-fixesDanesh M2016-05-059-49/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Prevent edge gesture from conflicting with lockscreen shortcuts - Fix lockscreen shortcuts crash where animations were being run on detached view - Fix statusbar flicker when swiping keyguard in from the left - Fade scrim away when swiping lockscreen in and out - Fix back button not working when showing bouncer in external keyguard. - Ensure we collapse bottom area after up/cancel when in external keyguard - Fix issue where clock/notifications can get off-center when swiping to left. - Fix bottom flicker when swiping lockscreen to left - Only lock directional swiping when swipe helper acknowledges it. This allows for all the standard swipe behavior to function. - Ensure lockscreen shortcuts are not actionable when in SHADE - Only dismiss bottom area after lockscreen shortcuts animations have finished animating - Prevent swipe when album art showing CYNGNOS-2585 CYNGNOS-2488 CYNGNOS-2517 CYNGNOS-2390 CYNGNOS-2632 CYNGNOS-2634 Change-Id: I2fe767ed7e07b621075c755aae98121c8517b997
* server: modify network stat plugin frameworkBryse Flowers2016-05-054-7/+23
| | | | | | | | Add setUpstream function from Tethering to handle IPv6-only Tethering. TICKET: PAELLA-86 Change-Id: I38392d0678df027c54469564746ee5d9897f5829
* SystemUI: bail out of recents-to-home animation when losing focusRoman Birg2016-05-051-2/+28
| | | | | | | | | | | | | | | In the case when recents is animating out, and an application happens to immediately add a view to the window manager, the recents view would lose its focus, but the animations would continue to run, breaking the behavior in certain cases. Bail out of the recents activity and override the pending transition to be disabled to not distrubt the newly added window. Ref: CYNGNOS-1136 Change-Id: I5998a9dcf21b1369473f04ea4d867c5f2543d6df Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: implement properly saving tile locationsRoman Birg2016-05-048-78/+165
| | | | | | | | | | | | Use new persisted key which does not use the tiles' ID (which changes usually across reboots with every tile). When the Custom tile service comes up, it will update the placeholder tiles created with their real values and the order is preserved properly. Ticket: CYNGNOS-2530 Change-Id: I5e75c739553969f1d92c249f521a476259fe0cd6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Fix revert build breakageStephen Bird2016-05-041-0/+30
| | | | Change-Id: I090dd9a112f930967ec76bfa6e19c2ac52e50a9a
* systemui: Fix the TrustDrawable animation stateSteve Kondik2016-05-041-1/+2
| | | | | | | | | | | * The TrustDrawable animation is being mistakenly activated when the screen turns off, resulting in SystemUI obliterating SurfaceFlinger with vsync requests. This results in high power consumption. * Add a check for device interactive state when enabling the animation to prevent this. Change-Id: Iad9dd2a7c26fced4e412ac0b7dfb393aa58e6c02
* pms: Skip reinstall of prebundles correctly per user.Adnan Begovic2016-05-041-7/+11
| | | | | | | | | | | | | | | | | If you created a new user after uninstalling a few prebundled apps, switched to the said user, and rebooted, you would have your uninstalled prebundles reinstalled unconditionally. This is due to peekPackageLPr's implementation of checking for package settings not being per user, while the checks for wasPrebundledPackageInstalledLPr and shouldPrebundledPackageBeInstalled are. Now, key off of whether any package settings exist, is currently installed for the user, and if it was ever installed before before attempting the parsing process. TICKET: CYNGNOS-2709 Change-Id: Ie3e1420cfbaedb9951d55e2a3b868a6fdd5e54c2
* Partially revert "Merge tag 'android-6.0.1_r22' of ↵Michael Bestas2016-05-04444-559/+11977
| | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0" This reverts commit 0e1dbed9194839a90755670d8fdf9046a75b85f7, reversing changes made to 564f10b8f05ddf4d9ea2c0e64f1b113fe6dad4b8. Change-Id: Ife3a8c9c898034d5161fbf25a03eaf173ec66246
* SysUI: Show keyguard when LLS dies and had focusd34d2016-05-041-6/+9
| | | | | | | Make sure LLS had focus before showing keyguard. Change-Id: Ic5e8168f7b97cef92b57cac4d055b398ce8a9d0a TICKET: CYNGNOS-2671
* batteryservice: Add support for segmented power LEDsSteve Kondik2016-05-041-0/+11
| | | | | | | | | * A certain device has a segmented LED which is going to be repurposed as a battery level indicator. Add support for this by sending the battery level in the alpha component of the ARGB value sent to the HAL. Change-Id: I97a4459aa8069447ce7d153a0c03c743935b0937
* SystemUI: avoid lock screen shortcut picker crashRoman Birg2016-05-031-2/+4
| | | | | | | | | | Fixes crash when picking lock screen shortcut app, then rotating, then hitting the back button. Ticket: FEIJ-299 Change-Id: I728052878ca3fc87243878ef96acea2e052aed6d Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: remember deleted custom tilesRoman Birg2016-05-032-3/+84
| | | | | | | | | | | | | | | We previously had no mechanism of knowing which tiles the user had manually removed, leading to the tiles returning when the publishing application decided it was time to update. Now, when the user removes a custom tile; set a flag and hide it in the tile list. The removed tiles will be enumerated in the Add tile detail view if the user decides they want it back. Ticket: CYNGNOS-2530 Change-Id: Ia4fe74ef580af7139279a2fb78e240e872f8dbb0 Signed-off-by: Roman Birg <roman@cyngn.com>
* Merge tag 'android-6.0.1_r43' into HEADJessica Wagantall2016-05-031-0/+12
|\ | | | | | | | | | | | | Ticket: CYNGNOS-2373 Android 6.0.1 release 43 (MOB30J) Change-Id: I5620fc9e444f5b0997ca9c70100f685c1699bfe8
| * [DO NOT MERGE] Disallow guest user from changing Wifi settingsSamuel Tan2016-03-251-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Disallow existing and newly created guest users from changing Wifi settings. BUG: 27411179 TEST: Flashed device, switched to existing guest user, and verified that Wifi settings are disabled. TEST: Flashed device, created new guest user, and verified that Wifi settings are disabled. Change-Id: Ia1bf4cce0369017b62f69d317c7ab2e30e3949b3
* | 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>
* | Revert "Selectively show zen footer."Roman Birg2016-05-021-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | While playing music, if zen mode is on, the user must exit it via the quick settings tile or via the settings menu, even if they used the volume buttons to enter the state. We shouldn't have such a restriction. Ticket: CYNGNOS-2662 This reverts commit 97eff878a45f4e828812fa5a4745e3477209df1f. Change-Id: I305d94e5b187db6fa01e5453bcdadbd1687cf43f
* | Lockscreen shortcuts: don't allow specific activitiesRoman Birg2016-05-022-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The picker allowed users to pick specific activities from an app that it did not explicitly expose to the user. This is not good UX as many activities are not meant to be user facing and are expecting certain input. Users can pick apps themselves, or apps can opt-in to shortcuts and publish things themselves. Ticket: CYNGNOS-2684 Change-Id: I9199d442dbe9eaa4140a706166a6fde87bc8957c Signed-off-by: Roman Birg <roman@cyngn.com>
* | keyguard: Allow disabling fingerprint wake-and-unlockSteve Kondik2016-05-022-3/+16
| | | | | | | | | | | | | | | | * When the fingerprint sensor is embedded in the power key, wake-and-unlock is total chaos. Add an option to disable it. * The default behavior is unchanged. Change-Id: I50c0a857daba92c17470d8089aca94099c792956
* | nms: Only generate LED colors if the device has a multicolored LEDSteve Kondik2016-05-021-0/+8
| | | | | | | | | | | | * Check the overlay value before doing any of this stuff. Change-Id: Iedfceba6bfc86b2761d8af57ecab51026bfa4c19
* | Revert "SettingsLib: Add back accidentally removed translations"Michael Bestas2016-05-02156-10686/+0
| | | | | | | | | | | | This reverts commit 2c35c469fa343b499b55dddc37cd77d4ac0e26c5. Change-Id: I47daa01ed8f5a26ff5326750e6c55ff3bc4b93b3
* | SysUI: Animate notificaiton panel back into viewd34d2016-04-294-14/+76
| | | | | | | | | | | | | | | | Add an animation for when the user has swiped the left edge to bring the notificaiton panel back into view from the left side. Change-Id: Ie2ab3482a39d2d9c7b93a853f6ebae43a174e2c0 TICKET: CYNGNOS-2549
* | Keyguard: Register for the correct CMSW completed Urid34d2016-04-281-1/+1
| | | | | | | | | | Change-Id: Ia9adc5b1cc3fead1203422ef51af87084b9fd3dc TICKET: CYNGNOS-2673
* | Automatic translation importMichael Bestas2016-04-291-1/+1
| | | | | | | | Change-Id: I5f5db73cf5aeae58e719abadf9dfd6c4d072b614
* | SystemUI: Handle null keys on settings reload.Adnan Begovic2016-04-281-0/+6
| | | | | | | | | | | | | | | | | | | | During instrumentation or through manual command line invocation, null keys can be fetched from the listening uri's causing an IllegalArgumentException within the ContentProviderProxy of CMSettingsProvider's impl. Change-Id: I4a159e838f57e6b0c32b722c72d3bb6a898f6830 TICKET: CYNGNOS-2602
* | media: Remove effect session callbacks from the frameworkSteve Kondik2016-04-272-87/+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
* | SysUI: Don't call removeAllViews on AdapterViewd34d2016-04-261-1/+4
| | | | | | | | | | Change-Id: I957c87e499fb719d1d45671c968c625dac75ecc7 TICKET: OPO-649
* | Add Weather Content Provider [5/5]Luis Vidal2016-04-263-35/+38
| | | | | | | | | | | | | | | | | | | | | | Use the Weather Content Provider in the cmsdk to pull the weather data. However, SystemUI will rely on LockClock to force weather updates via the new Weather Service, which in turn will send a broadcast when new weather data is available. Change-Id: I3c65ea5f4cc297a7944fcdef33f496cdf2d68d0a
* | bootanimation: Switch to readaheadluca0204002016-04-251-13/+9
| | | | | | | | Change-Id: I287132e311e96c0437df67c76b86bb47b8f8380e
* | LLS: Update LLS slide offsets when focus changesd34d2016-04-251-0/+4
| | | | | | | | | | Change-Id: If5da6e9aff440c25f507aff4d9b54c7f9f51a18d TICKET: CYNGNOS-2557
* | Support for new properties to identify country based ecc #s added by RILDeepak Kundra2016-04-221-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the device is in a country where the ecclist list has been updated with the current country's ECC#s. For example if device is in INDIA and we are checking for (XYZ, am, 101, XYZ) it will return true since 101 will be found in ecclist but 101 is not valid ECC# for Armenia(am). There could be a case where this logic errors. For example 101 is valid ECC for INDIA and PAK and we are currently in INDIA and CTS passes (XYZ, pk, 101, XYZ). We should return true/valid ECC# but current logic will return false. This scenario fails even today, so there is no regression. Issue-id:CYNGNOS-2412 Change-Id: I6e19aed8a84bd57244a40e7f1e06d4625d26ec77
* | LLS: Show notification panel if LLS crashesd34d2016-04-221-0/+7
| | | | | | | | | | | | | | | | | | | | If a LLS crashes while it has focus, PhoneWindowManager will disable the left edge gesture detection. This patch makes sure we are showing the notification panel if the LLS crashes while it currently has focus. Change-Id: Ibc50246c2e426a0d40d0e7d498be27ada0b27c00 TICKET: CYNGNOS-2483
* | LLS: Fix screen off event firing when not interactived34d2016-04-221-4/+12
| | | | | | | | | | | | | | | | | | | | Track PowerManager's interactivity to accurately report screen off. While we did not get the screen on when in ambient display, the screen off event would still fire. Keep track of the interactivity and send screen off event accordingly. Change-Id: I633cacbf3a5d22b416e1bd6550d7b8d661c16c3d TICKET: CYNGNOS-2519
* | libhwui: Remove opaque check for everythingKetut Putu Kumajaya2016-04-221-12/+0
| | | | | | | | | | | | | | | | * Devices still exhibit issues here even when using an AOSP codebase. This problem exists upstream, so make this the default codepath for everything. Change-Id: I49e4e1ad3f294844a4e865d727776bc99f0df439
* | Keyguard: switch to cm-specific device provisioned flagRoman Birg2016-04-223-11/+17
| | | | | | | | | | | | | | Ticket: CYNGNOS-2431 Change-Id: I2f47031f9fb2cc40e61a5f57d49e985104b14024 Signed-off-by: Roman Birg <roman@cyngn.com>
* | SettingsProvider : load region-specific settingsRohit Yengisetty2016-04-211-4/+48
| | | | | | | | | | | | | | | | load region specific mobile data and data roaming for EU and LATAM region for feijao. Issue-id: FEIJ-23 Change-Id: Icd250f6d2fd3978d4c34a88405e53d09e479b207
* | Themes: Update icon mapping on bootd34d2016-04-211-0/+2
| | | | | | | | | | | | | | | | Ensure icon mappings are applied on boot, otherwise themed icons will not be picked up until a theme change occurs. Change-Id: Iacda02c11d946e6f779d20739a6b2b67f407d6ba TICKET: CYNGNOS-2434
* | Merge tag 'android-6.0.1_r30' into HEADJessica Wagantall2016-04-205-3/+48
|\ \ | |/ | | | | | | | | | | Ticket: RM-234 Android 6.0.1 release 30 Change-Id: I1bd7cf4081a12d28dc5da8b53b9124180afaa23d
| * Redact Account info from getCurrentSyncsMatthew Williams2016-02-263-5/+35
| | | | | | | | | | | | | | | | | | | | 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)
| * Conflict resolution CL to ag/868720 when cp'ing to mnc-mr1-releaseZach Jang2016-02-271-2/+8
| | | | | | | | Change-Id: I3efe5476ebd758fc567bfdb035583a01c45aea8b
| * 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 Bluetooth: Restrict gain for Absolute volume caseLiejun Tao2016-02-241-2/+23
| | | | | | | | | | | | | | | | | | | | For the lowest music volume steps 1 and 2, restrict the gain to 50% and 75%. This will avoid the lowest volume steps being too loud for some accessories. For music volume 0, set phone gain to 0 as some accessories won't mute on their end. Change-Id: I24e0fa7be8c8635b428a11c91ea153aad7cec55f Signed-off-by: Liejun Tao <baibai@motorola.com>
| * DO NOT MERGE ANYWHERE: Hack to get devices booting again.Jeff Sharkey2016-02-241-1/+13
| | | | | | | | | | | | | | | | | | If we try scheduling a pass before the system is ready, record a pending event and dispatch once we're actually ready. Bug: 26863668 Change-Id: I028285383c8bbe8b653aeaa7544eefe3d41277bc (cherry picked from commit 538c11cf2175d4e30337e8776401bfede85866be)