summaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
...
* | Automatic translation importpinky@build012016-07-211-1/+1
| | | | | | | | | | Change-Id: I98efe6096c57217d4c6cb46ec4fd4d94d84cd426 Ticket: -
* | Automatic translation importpinky@build012016-07-192-0/+13
| | | | | | | | | | Change-Id: Id6a830b775d7a32c8d00a9a30e441f781d1fbe95 Ticket: -
* | Automatic translation importinky@build012016-07-152-1/+5
| | | | | | | | | | Change-Id: Iaf2d46f67d3b9ea9f8acf7293df7c98fb53156cf Ticket: -
* | keyguard: Set FLAG_SHOW_WALLPAPER when shwowing mediad34d2016-07-131-1/+1
| | | | | | | | | | | | | | | | | | This ensures the flag is set if the user has "directly show lock pattern/pin/password" enabled and a lock screen wallpaper is set on a device that has blur enabled. Change-Id: Ib3d359afd914fb1cd9068ffff0bff13b5d23b9cc TICKET: CYNGNOS-3192
* | SystemUI: Themes are translatableMichael Bestas2016-07-131-1/+1
| | | | | | | | Change-Id: I637ba2960adec161b028f66f55b8777fb75b92f2
* | SettingsProvider: fix data_enabled default lookupRoman Birg2016-07-121-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We shouldn't set the MOBILE_DATA + phoneId keys because it will cause collisions with other parts of the system that actually query MOBILE_DATA + subId - leading to incorrect defaults. TelephonyManager.getIntWithSubId() actually falls back to just MOBILE_DATA for a specific sub id query, so we do not need to touch these values, since it applies the same default to all sub ids anyways. Ticket: CYNGNOS-3171 Change-Id: I38405000b3d641029080fb630eae4d128bd44719 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Automatic translation importclyde@build012016-07-112-1/+2
| | | | | | | | | | Change-Id: Ia5826d42a5a84f3ef604545fb537ce2c5d791809 Ticket: -
* | Keyguard: Don't circular reveal a non-visible viewd34d2016-07-081-1/+1
| | | | | | | | | | | | | | | | | | This follows the same logic used in the setCirculeRadius method in this class and avoids performing a circular reveal on a non-visible, and possibly detached, view. Change-Id: I238a81433fd78e41192ca099bd68404ae1d0ac6e TICKET: FEIJ-1501
* | SystemUI: add themes dynamic tiles iconRoman Birg2016-07-084-4/+37
| | | | | | | | | | | | | | | | | | | | Resolves the themes tile having the default android activity icon. Also resolves other dynamic tiles not being queried properly. Ticket: OSS NIGHTLIES-2967 Change-Id: I532eeaef417195f3148915b777e7ab175b1089aa Signed-off-by: Roman Birg <roman@cyngn.com>
* | Avoid NPE in printspooler when changing languageMasaaki Iwaguchi2016-07-081-3/+5
| | | | | | | | | | | | | | | | | | | | PrintActivity is recreated when the language setting is changed. As a result of the recreation mCurrentPrinter is null, which causes a NullPointerException when onActivityResult() is called. The issue is solved with a simple null check. Change-Id: Ic58f0ca01577d2ec02d494739f3bc2f06240dd44
* | SystemUI: fix qstile page reset timeoutRoman Birg2016-07-061-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user hasn't visisted the quick settings tile area for some time (currently 10s), we need to reset the page back to the first one. We can't go off whether we are listening to events because when the user turns the screen off, listening is set to true, so the page would never reset if the user turned their screen off. We now key off whether we are expanded, which represents whether the user is interacting with the panel. Change-Id: I010aaa9e9ea84eb96308184dad606d47ce136748 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Automatic translation importblinky@build012016-07-052-0/+13
| | | | | | | | Change-Id: Ia66a72254e86b00e1cd98e6a6d775fa76066e3b6
* | SystemUI: Restrict persistent USB drive notifications to USB disksAdrianDC2016-07-021-2/+5
| | | | | | | | | | | | | | * Without the addition of the isUsb check, a regular FAT32 MicroSD would have a persistent notification that is unwished Change-Id: I396a861702674d0a6a70beb5206fb4c7374ec85d
* | Add absent sim info to locked screen textWileen Chiu2016-07-022-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - For a multisim device, when only one sim is inserted that is pin locked, the carrier text only shows 'SIM CARD IS LOCKED - NO SERVICE' even though the voice registration state for one of the phones is 12, where emergency calls are allowed - This occurs when the state above is reported for the slot where a sim card is not inserted. We only check for active subscriptions when creating the display text - Add a check for when only one sim card is inserted. If the voice registration state is out of service for both slots, with at least one as 12 (emergency allowed) show 'Emergency calls only' instead of 'No service' Change-Id: Ib58b6b7431d7b29c770287037cbf07c8df101ae3 CRs-Fixed: 985955
* | Automatic translation importinky@build012016-06-296-16/+17
| | | | | | | | Change-Id: I94e4f7e190765e42efcebd4d4df1efcae30224c4
* | Revert "Revert "Only show keyguard panel if on lockscreen + no activity on top""Danesh M2016-06-292-2/+6
| | | | | | | | | | | | | | | | CYNGNOS-2980 This reverts commit 226797c8e2aba40ecbfb646f2ef5085893dff46a. Change-Id: I0440faf2dd07b427f639277eec2f3cfa89a7de6e
* | KeyguardSecurityViewFlipper : Fix sim unlock height overlapDanesh M2016-06-281-15/+2
| | | | | | | | | | | | | | | | | | | | | | If the font size is set to Huge, and pin lockscreen + sim unlock screen is showing, the text for the pinpad overlaps. Reason is we enforce the smallest maxHeight on all children, and this breaks certain screens. Just let each child use its own maxHeight that it set to begin with. FEIJ-184 Change-Id: I3b461f6f75a3f541281fb32efc83a891ca7b65f0
* | SystemUI: Add margin in qs_tile_top between instruction text and add buttonEric Biedert2016-06-251-0/+1
| | | | | | | | | | | | | | | | Screens: - http://i.imgur.com/sHV1e5j.png - http://i.imgur.com/m4vA8zo.png (with exclamation marks to see padding better) Change-Id: I5714a68268d2567153d8bf851e151b7af8b699d8
* | Automatic translation importblinky@build012016-06-201-1/+2
| | | | | | | | Change-Id: Iafe816c8763128873c4449b3b25b902b9be7ebae
* | Automatic translation importinky@build012016-06-1797-0/+238
| | | | | | | | Change-Id: Id9b2d5014436ab0eaf7ea0125d23e7caba75db8d
* | SystemUI: detect rotation and resize mKeyguardBlur accordinglyDan Pasanen2016-06-172-0/+14
| | | | | | | | Change-Id: Icfd1d2de9929f9620332e3367885bec972063681
* | Fix NPE in DocumentsUI when rotate UI before format as internalScott Mertz2016-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the device is rotated, the action bar may not have already been installed (because such installation is done in onCreateOptionsMenu). Protect against this case. 1.Settings->Storage and USB->SD Card Settings->turn the handset to landscape mode->Format as internal storage. 2.Move data to new storage->Tap Move later 01-03 14:06:34.156 7709 7709 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.documentsui.DocumentsToolBar.hasExpandedActionView()' on a null object reference 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at com.android.documentsui.BaseActivity$SearchManager.cancelSearch(BaseActivity.java:758) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at com.android.documentsui.DocumentsActivity.onBackPressed(DocumentsActivity.java:518) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at com.android.documentsui.DirectoryFragment$4$1.run(DirectoryFragment.java:315) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5461) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 01-03 14:06:34.156 7709 7709 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) FEIJ-1160 Change-Id: I7269ff5b9c189fd1fa4d0716b2d4cbc837349dc5
* | Revert "Only show keyguard panel if on lockscreen + no activity on top"Danesh M2016-06-162-6/+2
| | | | | | | | | | | | | | | | | | Breaks SHOW_WHEN_LOCKED for secure lockscreen + blur + LLS CYNGNOS-3057 This reverts commit 28e023d0c621f00e357f52264baaedf72c1eeee7. Change-Id: Iccec0129e793b910af02bf0a8f60ec9a2ca226a2
* | SysUI: Don't let rogue themes ruin notificationsd34d2016-06-141-5/+43
| | | | | | | | | | | | | | | | | | | | | | If we encounter an exception when inflating a notification's views, and a theme is applied, we should make a second attempt at inflating the notification without a theme applied in case the theme cause the issue. If the exception still occurs, we treat it like we normally do and allow the app to be killed for posting a bad notification. Change-Id: I444cf6c78ee43e2978201880957c53eb08e6966d TICKET: CYNGNOS-2892
* | DocumentsUI : Hide advanced menu option when in forced modeDanesh M2016-06-141-1/+2
| | | | | | | | | | | | | | | | | | When in EXTRA_SHOW_ADVANCED is set, don't show the menu option to toggle it since it is a no-op FEIJ-1079 Change-Id: I0d2ea026736cb7131f451d39e2e662d0c2ae436f
* | SystemUI: fix NFC tile sometimes hidingRoman Birg2016-06-102-28/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | - Check whether NFC is supported based on device features - Don't hold a reference to the NFC adapter - query it when we need it (not using getDefault, but the internal method, if we use the default, querying for the adapter before the service was spun up would lead to systemui never having a valid refernce to an adpater). Ticket: CYNGNOS-1943, CYNGNOS-2866 Change-Id: Iba8b668406ca96183aafcf9a55d60c6d89d70061 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Keyguard: Get your weather on... the lock screen [1/3]d34d2016-06-094-3/+59
| | | | | | | | Change-Id: Ieed59aa488a0a26fa9fc27bd77cbdc6156baac68
* | keyguard: SIM Display Name is now a configMarcos Marado2016-06-092-2/+7
| | | | | | | | | | | | | | | | | | | | | | In devices with more than one SIM, keyguard visually distinguishes each SIM card by showing its color and its name. This patch introduces now a configuration item that lets you choose wether or not show the SIM display name on those cases. Issue: PAELLA-224 Change-Id: I8fb019d4fa534b2ca2f047083c27aa9cf8b7b39c
* | systemui: Fix compilation failureDiogo Ferreira2016-06-071-1/+1
| | | | | | | | | | | | An invisible character was breaking the build. Change-Id: I5946edce7b9a9eed1fad95033c3988bfeef67812
* | isRoaming: fix possible NPEMichael W2016-06-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | Looks like isRoaming() is called with mServiceState being null sometimes Check for non null as well (Reference: BugReport 13-20160520-26 L #36) Change-Id: I90a7feb2f5b72a4b94bbb4e7a5c4f486b416143b
* | SystemUI: Add support for persistent usb drive notification.Adnan Begovic2016-06-061-0/+2
| | | | | | | | | | | | | | This option can be enabled via config_persistUsbDriveNotification Change-Id: I331a759aeb914e46e3ef4842896d3465d894707a TICKET: PAELLA-225
* | Only show keyguard panel if on lockscreen + no activity on topDanesh M2016-06-032-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug in window manager, where if the keyboard is collapsed, the reference to the window is lost when destroying its surface. This in turn prevents the ime window from being reordered later on. For normal apps this is not an issue, but since we're above normal apps (KEYGUARD_PANEL), this rises an issue for us in this scenario : 1) Set password lockscreen 2) Swipe up to unlock 3) Collapse keyboard 4) Launch emergency dialer (SHOW_WHEN_LOCKED) 5) Press home button Notice that all touch events are going to the external keyguard. If the keyboard is not collapsed in step 3, everything works and the reason is the reference to the input method window in window manager isn't lost and it gets re-ordered behind the windows. To workaround this issue, avoid removing/re-adding the window and instead rely on window manager to control its visibility. Change-Id: I59dd41547902ae5e23bbeb0a01ee27f11fc29dfc
* | SystemUI: Do not enable KeyguardBlur by defaultMichael Bestas2016-06-031-8/+10
| | | | | | | | | | | | | | | | * The observer has been moved outside of blurSupported check so we can't initalize mKeyguardBlurEnabled to 1 by default * Default mKeyguardBlurEnabled to R.bool.config_ui_blur_enabled Change-Id: I32ed01ee3d75359abfbb6c7acfe315b9f154ce6f
* | 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
* | 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-011-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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>
* | 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
* | 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>
* | 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
* | 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
* | SysUI: Only set mKeyguardBlurEnabled if supportedd34d2016-05-231-2/+2
| | | | | | | | Change-Id: I5aa65804005cbdc9012f40c764521d9d551f6e75