summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Visualizer: Let visualizer fill the entire available screenDan Pasanen2016-06-031-8/+0
| | | | | | * This will allow it to be more dynamic (landscape lock screen for instance) Change-Id: I2ffd6b0ca8832812faaa4cc0ec4cdd6071fbec8c
* SystemUI: fix toggling lockscreen rotation [1/3]Dan Pasanen2016-06-031-5/+20
| | | | Change-Id: I28fea0124c91b8efc206a940761e77fa61d1fefc
* fw: Fix power key interception for PRIVATE_FLAG_PREVENT_POWER_KEYSultanxda2016-06-021-3/+3
| | | | | TICKET: CYNGNOS-2958 Change-Id: I67a7469257a1617b1c999f5533c5863014595dcc
* SystemUI: Fix mCanDismissKeyguard state issueEthan Chen2016-06-011-1/+3
| | | | | | | | | * Setting it to keyguardShowing causes issues when notifications are expanded from the lockscreen if a fingerprint is used to unlock the device. REF: CYNGNOS-2400, NIGHTLIES-2767 Change-Id: Id973c2cc011e56f516a34b69df0851ee3307af24
* Automatic translation importinky@build012016-06-013-0/+9
| | | | Change-Id: I863da8b2434e535fd980256a08addac7cb515cfa
* SystemUI : Ensure we unset focus when showKeyguard is calledDanesh M2016-06-011-0/+1
| | | | | | | | | | | | | Repro steps : 1) Swipe left to enter INTERACTIVE live lockscreen 2) Turn screen off 3) Turn screen on 4) Notice left swipe does not work CYNGNOS-2950 Change-Id: I1af24e2bc3377afc9e8236a35afc208ab676bcc0
* Don't lookup application keyguard notification visibility unnecessarilySam Mortimer2016-06-011-2/+4
| | | | | TICKET: CRACKLING-1127 Change-Id: I7a70f2c9d9e813c71544f2446c9bc6502f061c4f
* Frameworks: Add per app controls for LP keyguard notifications (1/2)Lars Greiss2016-06-017-8/+94
| | | | | | | | | | | | | | | 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-313-3/+13
| | | | | | | | | 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
* services: Kick off to CMSystemServer for external service init.Adnan Begovic2016-05-311-9/+21
| | | | Change-Id: I2dfe51a4cadfe02f0295be36fb30a304219047ff
* am: clear state for every protected app invocation.Adnan Begovic2016-05-311-0/+3
| | | | | Change-Id: I7766e050b8bedb46ff9293a5d61451e6c998fb0b TICKET: CYNGNOS-2962
* 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
* appops: Respect screen interactivity before creating dialogs.Adnan Begovic2016-05-273-4/+60
| | | | | | | | | | | | | If the device's screen is currently off, do not queue ask runnables who cannot be interacted with. Since these events are gating mechanisms for closing an IPC loop, they need to happen when the user is interacting with the device. Likewise, on screen off, clear the queue of every op as they become unnecessary. Change-Id: Ie930d200839c9408e882510c6bc3ede37ea889ef TICKET: CYNGNOS-2869
* appops: Implement concept of delayedcount.Adnan Begovic2016-05-272-3/+46
| | | | | | | | | | | | | | | | High frequency request ops will be delayed until their ignore count ceiling is met. This is to mitigate the overloading the main activity manager service handler and having watchdog kill our service. Google play services likes to share its uid with numerous packages to avoid having to grant permissions from the users perspective and thus is the worst example of overloading this queue -- so, to not encourage bad behavior, we move them to the back of the line. NOTE: these values are magic, and may need tuning. Ideally we'd want a ringbuffer or token bucket here to do proper rate limiting. Change-Id: I5c3e88807abc80f9700dd68dcecd87dac4626de7 TICKET: CYNGNOS-2869
* Automatic translation importJessica Wagantall2016-05-261-1/+1
| | | | | Change-Id: I3dba99296950c90cdb4e7cb80f6874332bfb96a1 Ticket: RM-214
* Add CM version to dropbox entriesScott Mertz2016-05-252-0/+3
| | | | Change-Id: Ie318f8b18294a5c7c26ba344a546de81564cc64d
* SystemUI: fix qs pulldown on certain themesRoman Birg2016-05-251-1/+1
| | | | | | | | | | Some themes define the peek height as 0, we should respect that and allow the QS pulldown to still work. Ticket: CYNGNOS-2756 Change-Id: I0404974a23ef41f4689c38ab86e3f09c4bb150ab Signed-off-by: Roman Birg <roman@cyngn.com>
* pm: Use sourcerecord if available for protected app validation.Adnan Begovic2016-05-252-6/+6
| | | | | | | | | | | A source record serves as a beneficial historical record to see if an activity start has been redirected numerous times. This fixes issues where applications that redirect implicitly and are protected would constantly spam to be authed. Change-Id: Ibeb9eae4279a0cdd65635392316eabb485adfa27 TICKET: PAELLA-216 FEIJ-160 FEIJ-177
* SystemUI: improve keyguard with SIM PIN interactionsRoman Birg2016-05-252-9/+14
| | | | | | | | | | | | - Dismiss heads up popups when PIN is required, it would block input as the new PUK screen would pop up - Also dismiss the PUK screen when the SIM is removed Ticket: CYNGNOS-2843 Change-Id: Id42626faaa563215b128d7c830793d9908e5282d Signed-off-by: Roman Birg <roman@cyngn.com>
* StatusBar: Do not just define vars...Michael W2016-05-241-3/+2
| | | | | | ... also use them! Change-Id: I4582cc949694fe7dc7ae13866357e26ed7957df2
* fw: Move HOME key interception logic to interceptKeyBeforeDispatchingjtang2016-05-241-7/+6
| | | | | TICKET: FEIJ-522 Change-Id: I290016413c6cad6f5c35f3ef2ee01779991eece8
* SystemUI: improve layout of qs detail panelRoman Birg2016-05-246-50/+69
| | | | | | | | | | | | | | | Don't try to fit the detail views, but allow the user to scroll freely while detail view is showing and we are in landscape. The user can still fling up and down and the velocity flings are respected in the detail scroll lock mode. Hitting done will always return the user to the QS panel, or they can close the detail view manually. Ticket: FEIJ-201 Change-Id: Id8b16a682ba5cebdc57c0455d81aa38fd5e90cbd Signed-off-by: Roman Birg <roman@cyngn.com>
* Only call uncrypt when we're encryptedPat Erley2016-05-232-16/+24
| | | | | | | | | | | | 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
* SysUI: Use linear interpolator for battery leveld34d2016-05-233-0/+3
| | | | | | | | | | By default, ObjectAnimator uses the AccelerateDecelerate interpolator which causes the battery meter to show the incorrect level. Explicitly setting the interpolator to linear fixes this issue. Change-Id: I06e2c743aaa6e0560f0fe8fe27377427becb11c7 TICKET: NIGHTLIES-2985
* SysUI: Fix coloring of frame and boltd34d2016-05-234-7/+21
| | | | | | | | | This patch should address issues with the frame and bolt being incorrectly colored in dark/light scenarios. We also keep track of the darkness intensity level so that it can be set when changing meter modes. Change-Id: Iaec8b88d39bbb7f6dbcbbf078c91d20b54ab29c8
* SysUI: Allow styling of battery text/charge blend moded34d2016-05-233-9/+67
| | | | | | | | | | | Not all battery meter modes are created equally and sometimes you need to draw the text or charge indicator using a different blend mode than XOR. This patch adds a new attribute to the battery meter style which allows the blend mode to be defined per battery style. Change-Id: I3d2eb38828abc7e5d93337fa815a414675df43a1 TICKET: NIGHTLIES-2981
* fw: Repurpose PREVENT_POWER_KEY for preventing multiple system keys.Adnan Begovic2016-05-234-8/+29
| | | | | | | | | | | 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
* SystemUI: fix multi touch gestures and extra jankRoman Birg2016-05-235-3/+6
| | | | | | | | | | | | | | | | | | The dejank utils were getting a little ahead of themselves: in between the panel height being set to 0 (could happen often), and the user actively trying to expand the panel, the next layout traversal from the dejank utils would try to collapse the panel, causing bad states. Also in the qs height animator updater, be careful to only actively update the end height when the user did not just peak. Finally, and most importantly, we need to disable motion event splitting in our view that holds our notification panel logic so we can get multi touch gestures in those views properly. Ticket: CYNGNOS-2756 Change-Id: I2cda440d4e0548d3477c6fad88f7dac1cb59d9db Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Filter out unsupported values off perf profile tileLuK13372016-05-231-7/+28
| | | | Change-Id: I4409d1e9e7310530b47ac7d48db8c4796f0ae49e
* bootanim: CleanupRicardo Cerqueira2016-05-232-8/+9
| | | | | | | Group all file selection logic within getAnimationFileName(), including for themes Change-Id: Ibca93defd92230d22195753899eda673ba9fc59d
* 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)
* SysUI: Only set mKeyguardBlurEnabled if supportedd34d2016-05-231-2/+2
| | | | Change-Id: I5aa65804005cbdc9012f40c764521d9d551f6e75
* Fix NL translation after r22 revertMichael Bestas2016-05-221-4/+4
| | | | Change-Id: I0278fde16d31573a1f344b4d725ef65b5b43a7ff
* IMS: Add support of notifyPreciseCallState for multi simSuresh Koleti2016-05-212-3/+43
| | | | | | | Extend notifyPreciseCallState for multi SIM. Change-Id: I52adcd55462d6ceae5defacbbe2cb057f4484099 CRs-Fixed: 957251
* Handle mnc 00 while retrieving the Resources based on subidRuthwar Kumar Ambeer2016-05-211-1/+1
| | | | | | | | Since mnc 00 is represented as undefined it needs to be replaced with MNC_ZERO 0xffff for retrieving proper resources. Change-Id: I9864ae95497593c6e7c442e6aae811e704c9a504 CRs-Fixed: 970188
* Create emergency account with primary stack phone.Ravindra2016-05-211-0/+7
| | | | | | | | | When creating emergency account associate the primary stack phone with it as emergency calls will be placed only on primary stack with no sim cards on the device. Change-Id: I63a9d54950330991e7a93ec8c3982a70d4cdd741 CRs-Fixed: 965269
* Add P2 option in openLogicalChannel.Wileen Chiu2016-05-213-0/+65
| | | | | | | | | - Add support for iccOpenLogicalChannelWithP2. - Needed to support OMAPI 3.0 defined by SIM Alliance. Change-Id: I2ab6cfb7a54c451f32936df51b8298f35a6dc67f CRs-Fixed: 948787
* IMS-VT: Disable multi tasking by defaultSuresh Koleti2016-05-211-1/+1
| | | | | | | | Disable multi tasking support by default for all operators. Enable based on MCC/MNC for required oeprators. Change-Id: Ib321747885435c110360370eb243eee35762dfe3 CRs-Fixed: 954657
* Add 3 APIs for card applicationYujing Gu2016-05-211-0/+38
| | | | | | | | 1. Add API to get number of applications on this card. 2. Add API to get the application type of the specified app index. 3. Add API to get the application state of the specified app index. Change-Id: I5f73eb4aa3ebcd5308f398924eb2f4a2e7e39696
* server: Whitelist non-INTERNET/non-CELLULAR Network for meteringBryse Flowers2016-05-212-2/+12
| | | | | | | | | | Avoid setting a quota or counting statistics for non-internet and non-cellular Networks. Fixes an issue with metering feature where mobile data usage is incorrectly applied to IMS or other non-internet PDN. Change-Id: Ib68f5e560ea1dd230747e4f367081501b70cfc60 CRs-Fixed: 984189
* keyguard: Fix password doesnot sanitize after verificationBrahmaji K2016-05-212-0/+2
| | | | | | | | Add sanitizePassword call after the verification is success so that the password/pin/pattern goes to default_password. This will avoid security vulnerability. Change-Id: I711b9e38e1812bad9fa7ab8d0ab9e35963138a69
* Revert "SystemUI: recalculate clock position on removing empty shade views"Roman Birg2016-05-211-3/+0
| | | | | | This reverts commit 023d3365524584de91acf4716822553f38aa507b. Change-Id: I79bde45cd57e2523dbfa3211c5971c4b82a240c0
* SystemUI: fix NPE when configuring blur layerScott Mertz2016-05-201-1/+1
| | | | | | | | | I noticed a NPE on my device with OOB encryption & password lockscreen (no password required to boot). This fixes it. FEIJ-753 Change-Id: I303354e94be451ab65deb815ecf39cda9d6a339e
* Revert "SystemUI: fix clock jumping when expanding QS from lockscreen"Roman Birg2016-05-201-3/+1
| | | | | | | | No longer needed. This reverts commit 8dffc8688628e9e633717f35dbbd12ac633a9f34. Change-Id: I889364790a01433596b7e97e2be971ff68205acb
* Revert "SysUI: Fix coloring of battery drawables"Clark Scheff2016-05-194-11/+5
| | | | | | | | This reverts commit 453e8f212c4a0efafe1d7e3d6f00a0d87e953ed8. Going to re-do this since the colors need to be cached so when the user changes styles we apply the correct tinting Change-Id: I7bcd70d4464eac5a7869a3e237d19be8629310f5
* Release alarm wakelock for blocked uid.Susheel Yadagiri2016-05-191-37/+24
| | | | | | | | | If an alarm is triggered for a uid and if the same uid is blocked and onSendFinished is not called for that alarm intent for BLOCKED_UID_CHECK_INTERVAL or greater then release the wakelock as that uid is being blocked by data power manager. Change-Id: Ieb4dbcc81e273e692fc5db45ac75a4a4341e8c2f
* SyncManager: Adjust sync remaining time calculation.yingying2016-05-191-2/+1
| | | | | | | | | The sync remaining millis is not right if the period is changed, so changed to set the sync remaining millis as period reduce the time since last run. CRs-fixed: 794898 Change-Id: Ic3f9fbdd8963814af7715f0f005114b6c79afa55
* SystemUI: update qs tile hint and header view on locale changeRoman Birg2016-05-194-2/+16
| | | | | | | Ticket: CYNGNOS-2814 Change-Id: I305ac5eca862ffa5c525ec6b39bfeddf03719227 Signed-off-by: Roman Birg <roman@cyngn.com>
* Themes: Fix theming of cmsdk assetsd34d2016-05-193-5/+13
| | | | | | | 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