summaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge tag 'android-6.0.1_r61' into HEADJessica Wagantall2016-08-022-1/+11
| |\ \ | | | | | | | | | | | | | | | | | | | | Android 6.0.1 Release 61 (MOB30Z) Change-Id: Ib003ccb606e0d77209291b757ea36399d3b65814
| | * | Reduce shell power over user management.Sudheer Shanka2016-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove MANAGE_USERS permission from shell and whitelist it for some specific functionality. Bug: 29189712 Change-Id: Ifb37448c091af91991964511e3efb1bb4dea1ff3
| | * | DO NOT MERGE Disable app pinning when emergency call button pressedHall Liu2016-06-241-0/+10
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also disables app pinning when the "return to call" button is pressed and brings up the in-call screen when app pinning is stopped if there is an existing call. Combination of ag/1091397 and ag/1085584 adapted for MNC. Bug: 28558307 Bug: 28761672 Change-Id: I82ec4042bff387c845ce571b197a4a86e1dd5ec8
| * | SystemUI: avoid null tile creationRoman Birg2016-08-011-3/+5
| | | | | | | | | | | | | | | | | | | | | Don't add a tile spec if creation throws an exception. Change-Id: I0625caef1cd4060bcc59aae2bf433d2b38512e0d Signed-off-by: Roman Birg <roman@cyngn.com>
| * | Automatic translation importinky@build012016-07-312-0/+6
| | | | | | | | | | | | | | | Change-Id: If94b94025583803e28c7c4781ea0729288df5687 Ticket: -
| * | Automatic translation importinky@build012016-07-281-0/+3
| | | | | | | | | | | | | | | Change-Id: Ida0b4b6586629f354fb4c15e6076857ab52a30f2 Ticket: -
| * | SysUI: Define config for showing screen on hintsd34d2016-07-282-1/+8
| | | | | | | | | | | | | | | | | | If you want it, enable the config otherwise stay calm and carry on. Change-Id: I057443dc289098dad21775f941e13903881c6832
| * | Automatic translation importclyde@build012016-07-272-0/+4
| | | | | | | | | | | | | | | Change-Id: I3b7233d6b758ea41777d0ca7c52de77ee173b292 Ticket: -
| * | Automatic translation importinky@build012016-07-262-7/+7
| | | | | | | | | | | | | | | Change-Id: I7bba9c1b036597cc4bc410de1245c7bf63351d42 Ticket: -
| * | Automatic translation importblinky@build012016-07-252-0/+6
| | | | | | | | | | | | | | | Change-Id: Ifbfe7b59679bf3705e17f27d1998d89ccaa4d462 Ticket: -
| * | SystemUI : Initialize state linked volumeDanesh M2016-07-251-0/+1
| | | | | | | | | | | | | | | | | | Otherwise false is what it defaults to and only updates on state changes. Change-Id: I55503e930882acec1fe141de48fbb1094d21ba3c
| * | Automatic translation importblinky@build012016-07-256-0/+19
| | | | | | | | | | | | | | | Change-Id: I3251150a3235855115a29e13578f0c2c5facfd80 Ticket: -
| * | SystemUI: don't automatically disable compass tileRoman Birg2016-07-251-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Persist the user state until they disable it. Ticket: CYNGNOS-3135 Change-Id: I9956f78419e94cc63b6a6ecabd28075a32192c2a Signed-off-by: Roman Birg <roman@cyngn.com>
| * | SysUI: Show hints if showing keyguard and provisionedd34d2016-07-221-3/+9
| | | | | | | | | | | | | | | Change-Id: Ifd8923e7eabc7b8fd9186dbf757272dec3a1a8b1 TICKET: NIGHTLIES-3199 NIGHTLIES-3202 NIGHTLIES-3204
| * | SysUI: Add first time use lock screen hintsd34d2016-07-2112-9/+541
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a set of hints that will be displayed on the keyguard when the screen is turned on. Each of the hints provides the user with a hint on how to interact with the lock screen. Once the user has performed the hinted action the hint should not be shown again. Change-Id: I438316cbf7a01c3f215330a5ca1aed5b78ab3fdc
| * | 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