summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow HW bitmaps with software renderinghistory/before-09-december-2019Joonas Kylmälä2019-09-011-1/+1
| | | | | | | Fixes "E AndroidRuntime: java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps" Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* HACK: force hardwareAccelerated to false on all apps.David Ludovino2019-09-011-8/+1
| | | | | | | | | | | | | | | This forces all apps to draw their Canvas with pure software Skia instead of HWUI. Result: an order of magnitude speedup on software rendering. Reason: HWUI uses GLES to render the Canvas. This works fine with hardware backed GLES. However, it is much slower than Skia when using a software renderer for GLES (e.g. llvmpipe or SwiftShader). Problem: breaks some apps like ScreenLock and Trebuchet. This dirty hack should be turned into a system property. Change-Id: I1b56a363fafce7dc3c56452fe03898070b7ba279 Signed-off-by: David Ludovino <dllud@riseup.net>
* Allow override of DUN settingsDave Daynard2019-08-301-0/+6
| | | | | | | | | | Allow override of system DUN settings by setting persist.sys.dun.override to one of the following values: 2 = not set, 0 = DUN not required, 1 = DUN required If the prop is not set the system setting will be used. Change-Id: I296f303a23351e4ab29898895abfcd313c747db9
* Automatic translation importMichael Bestas2019-08-255-0/+12
| | | | Change-Id: I68b462f11a5b593ed785707ad0e7ef66710854ec
* Initial support for in-display fingerprint sensorsPeter Cai2019-08-2416-8/+847
| | | | | | | | | | * Initially based upon phh's Mi9 implementation, however a lot of changes have been made since. * All device specific stuff has been moved to IFingerprintInscreen HIDL interface and most of code has been improved and refactored. Change-Id: I52beaf6492b9daa012b5d42b858d552d1e378a2c
* SystemUI: Use matching data usage size formatting between QS and SettingsLuK13372019-08-231-25/+14
| | | | | | * Fixes : https://gitlab.com/LineageOS/issues/android/issues/1102 Change-Id: Ie80e19de758f599b1fdedb6d991cbdd86e4f2a47
* Update Xbox BT controller mapping to support upcoming controller firmware updateJared Henderson2019-08-231-1/+6
| | | | | | | | | | | | | | | The Xbox controller (product id 0x2fd) is going to have a new firmware update this fall that sends a different keycode (316/BUTTON_MODE) for the Xbox button. The goal is to enable the Xbox button to make it to apps on all Android versions -- with our without a controller-specific key mapping file. Unfortunately, the new Vendor_045e_Product_02fd.kl key mapping file that was added to Android Q maps the pre-firmware-update Xbox key code (172) to BUTTON_MODE, yet it makes no mention of key 316. This results in apps getting a raw 316 scan code instead of a BUTTON_MODE KeyEvent when using a controller with the latest firmware on Android Q. The fix is to add an additional key mapping for 316 that *also* maps to BUTTON_MODE. With both mappings in place, both pre and post firmware-updated controllers will get the correct behavior for the Xbox button on Android Q. Test: AFAIK, no CTS tests exist for Xbox controller key mappings; we'll need to add some at a later date. I was unable to test this change because I'm unable to write to the system directory on any of my devices, but I know that mapping 316 to BUTTON_MODE will fix the issue. Signed-off-by: Jared Henderson <jaredh.microsoft@gmail.com> Bug: 139372370 Change-Id: I8600ea79a0aa8557267d6ca712e5d56680e7a98b
* Add keylayout for Xbox One USB controllerSiarhei Vishniakou2019-08-213-9/+134
| | | | | | | | | | | | | | | | | | | | We are currently missing the key layout for the Xbox One USB controller with the following meta information: vendor 045e, product 02ea This layout was copied from product 02d1. Also fix the mappings of the middle buttons to generate "select - mode - start", similar to what has already been done for the other xbox controllers in ag/4836521 and ag/3162575 Bug: 132451971 Bug: 133514907 Bug: 139512030 Test: tested using custom app. CTS tests will be added later. Change-Id: Ie18bce987b512211d3e91bd1f7334afe11d83cf8 Merged-In: Ie18bce987b512211d3e91bd1f7334afe11d83cf8
* Keylayout for xbox controllersSiarhei Vishniakou2019-08-211-0/+56
| | | | | | | | | | Add layout for Xbox elite controller Test: tested with a custom app Bug: 132451971 Bug: 139512030 Change-Id: I1c600bc2c41db9d79d7a4e184ef41abe2b5f860e Merged-In: I1c600bc2c41db9d79d7a4e184ef41abe2b5f860e
* Added mapping files for DualShock3 and DualShock4Kim Low2019-08-2114-7/+724
| | | | | | | | | | | | | | | | | | | | | | | | | | | All buttons and axes on DualShock3 and DualShock4 are mapped explicitly, because some Linux drivers do not map them correctly. Also, the definition of BUTTON_X/Y in Linux and Android is flipped. The most significant bit (i.e. 0x8000 and 0x8111) in the "Version" part of the filename indicates a newer Linux hid-sony driver (>=4.10 for DualShock4 and >=4.12 for DualShock3) which complies to the mapping in Linux gamepad specifications, and supports all DualShock4 features (i.e. motions sensors, touchpad). Older Linux driver which does not have the correct mapping will use the mapping files without "Version". All files with "Version_8000" and "Version_8100" are meant for Bluetooth connected DualShock3/DualShock4, and all files with "Version_8111" are meant for USB connected DualShock3/DualShock4. Test: Connect DualShock3 and DualShock4, over USB and over Bluetooth. Test: Check that the Dpad and left analog stick can be used to navigate the UI. Test: If newer Linux driver is loaded, check that the touchpad can be used to navigate the UI. Bug: 38511270 Change-Id: I5630c495af16185689bbff25943b3e2d3c93e709
* Fallback BUTTON_MODE to HOMESiarhei Vishniakou2019-08-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, BUTTON_MODE falls back to MENU. It is not clear which functionality relies on that. However, many joysticks currently map their "branded" button, for example, the "XBOX" key on the Xbox joystick, and "PS" key on the playstation joystick, to the BUTTON_MODE. On other joysticks, the same button is mapped to "HOME". So it would make sense to have this button to fall back to HOME in order to make the behaviour consistent. Also, remap the "XBOX" button on the Xbox controller to "BUTTON_MODE". This would give apps the chance to intercept this key and actually use it, instead of limiting it to the system. Bug: 37115804 Bug: 77803694 Test: Made a test app to dump out joystick events in response to dispatchKeyEvent. Then either returned true or false to ensure that the fallback happens. If returning true, the app has handled the event, and HOME is not dispatched. If returning false, the app does not care about the event. Therefore, HOME is generated and the phone goes to home screen (so the app gets closed). Change-Id: I023620551f52d34638303db60f8a4ca37f06d4d8 Merged-In: I023620551f52d34638303db60f8a4ca37f06d4d8
* Remap PS key to BUTTON_MODESiarhei Vishniakou2019-08-211-1/+1
| | | | | | | | | | | | | In an earlier commit, ag/4071802, (Change-Id: I33e922a2c52582f44d65f20024d7dca1f9d05a5e), this particular file was overlooked. Quick fix here to make everything consistent. We will add the other variants of these devices in the future. Test: partial cherry-pick from Sony CL on aosp Bug: 79881694 Change-Id: I8ab46fde8650724464b1e799cd948682c56e5b52 Merged-In: I8ab46fde8650724464b1e799cd948682c56e5b52
* LiveDisplayTile: Refresh state after livedisplay initializationdianlujitao2019-08-201-14/+43
| | | | | | | | | | * SystemUI starts earlier than LiveDisplayConfig initialized, so there's no easy way to determin whether to make it available. * Instead, receive broadcast incicating initialization completed from LiveDisplayService and gray out on desire. * Outdoor mode gets fixed by the way. Change-Id: I55cea14c9248da1186e6c0c1b9e719a2bcf5444d
* LiveDisplayTile: Enable for outdoor mode and skip night display on HWC2dianlujitao2019-08-201-5/+9
| | | | Change-Id: I00ab654033827388f8063eafb98a89315cb47aa9
* Crash app on foreground service notification error.Da Xing2019-08-201-2/+16
| | | | | | | | | | | | | | | | | | | | | | | Resolved issue 118612296. On any notification error, the NMS silently cancels the notification, including foreground service notifications. Thus, an app could pass in a garbage notification deliberately and start a foreground service silently. This patch resolved this issue by judging the notification's flag, and if it is a foreground notification, still crash the app as previous platforms, and if it is a normal notification, don't crash the app. Background: In 3ad4cdd1, which was merged into Android 9 release, the crash behaviour is removed. But it is an important rule that foreground services guaranteed to show an ongoing notification. Test: Run the sample apk provided in the issue, it's main thread received a RemoteServiceException: Bad notification posted from package... as intended behaviour. Change-Id: I36ea0137ca6978ff401f64dccacb6f2edcadd7db Signed-off-by: Da Xing <qiyueliuhuo813@gmail.com>
* Set default VR_MODE based on VR feature supportWilliam McVicker2019-08-201-1/+7
| | | | | | | | | | If a device doesn't support VR low persistence mode, then don't enable it by default. Tested: * run vts -m VtsHalLightV2_0Target Change-Id: Ic5e275aea5484391e9162dc64467244b226680f1
* fw/b: Add capability to allow tethering to use VPN upstreamsSam Mortimer2019-08-202-0/+41
| | | | | | | | | | | | | * Toggled on/off at runtime via a new hotspot lineage setting. * Dynamically updates the tethering upstream for existing hotspot clients as VPNs are brought up / down or the hotspot setting is changed. * This implementation depends on fw/b config_tether_upstream_automatic being set to true. Change-Id: I2ac0b4acc0ea686dfdf54561cb3428808e337160
* power: Respect global vibration setting for charging soundsMichael Bestas2019-08-191-1/+5
| | | | | | * Don't vibrate when in silent mode Change-Id: Ife14105e74a28856d74a4c153637344124686e1b
* Fix ExternalStorageProvider always throw exception when renameTony Huang2019-08-171-1/+1
| | | | | | | | | | | | | | ExternalStorageProvider always throw exception when renameDocument because it will check file exist when getFileForDocId. However, beforeVisibleFile is not exist after rename, it will throw exception. Fix it by put getting beforeVisibleFile before rename. Test: manual test rename in DocumentsUI Test: atest RenameActualProviderUiTest Fix: 113302685 Fix: 115304092 Change-Id: I45d60d2f940e3dbc2b121f7cd28acc3c2d085ec4 Merged-In: I45d60d2f940e3dbc2b121f7cd28acc3c2d085ec4
* Fix wrong locale causing reboot in recoveryDamien Nicolet2019-08-121-1/+1
| | | | | | | When charging wirelessly and the locale should be displayed, on the lock screen, the phone reboots suddenly in recovery. Change-Id: I311275ea6bc1ad31aa5d3962c9532d9d93fb2289
* Correction in logic of roundend size calculation of SD cardChetan Gurjar2019-08-121-1/+3
| | | | | | | | | | | | API FileUtils.roundStorageSize() rounded up the Storage size incorrectly and caused the storage total size to be displayed twice the actual capacity in storage Settings application. Modifications done to appropriately roundup the storage size in the multiple of power of 2 by making the loop iterations to be controlled by 1024 instead of 1000. Test: Verified with the particular SD card with which bug reported. Change-Id: I8f92248a457d6ac507d092df46e1cb0daaa55134
* Merge tag 'android-9.0.0_r46' into staging/lineage-16.0_merge-android-9.0.0_r46Kevin F. Haggerty2019-08-0510-22/+147
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 9.0.0 Release 46 (PQ3A.190801.002) * tag 'android-9.0.0_r46': Collect APK certificates after an OTA, rather than relying on timestamps [RESTRICT AUTOMERGE] Protect VPN dialogs against overlay. Clear the Parcel before writing an exception during a transaction DO NOT MERGE SurfaceControl: Fix captureLayers JNI Clean up ProcessRecord when reuse a pid. [RESTRICT AUTOMERGE] Fix NullPointerException when mLockPatternUtils is not set. Update API docs for TelecomManager#endCall. [RESTRICT AUTOMERGE] Make LockTaskController default behaviour match ScreenPinningSettings. Change-Id: I90c580e1e5d06e5157f87a4ba047e1cf8bf8697d
| * Merge cherrypicks of [8048558] into pi-qpr3-releaseandroid-build-team Robot2019-06-181-4/+4
| |\ | | | | | | | | | Change-Id: Idafdd7576b5a05a593a34a5cd848c8260cf88c04
| | * Collect APK certificates after an OTA, rather than relying on timestampsBryan Henry2019-06-181-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checking APK file modified timestamps is not a reliable signal to determine that the APK signature may have changed. APKs in the system image (anything that passes through add_img_to_target_files) have all file timestamps rewritten to 2009-01-01, for instance, so timestamp will explicitly fail to detect changes in the platform key across an OTA. Bug: 80093599 Bug: 74501739 Test: Verified OTA between test-keys and dev-keys worked for 2 builds with same APK timestamps, and signature changes were picked up. Change-Id: Id3e5afbfe22e63d70cd176f1e438e2fa143ccd65 (cherry picked from commit 770f3579dcc5a1697e0e5c3474e8fa34fd21d3dd)
| * Merge cherrypicks of [7982564, 7982192, 7982565, 7981411, 7982522, 7982682, ↵android-build-team Robot2019-06-119-18/+144
| |\ | | | | | | | | | | | | | | | 7982193, 7982194, 7982523, 7982480, 7982623, 7981412, 7981413, 7982605, 7982606, 7982607, 7982608, 7981749, 7981750, 7981751, 7981752, 7981753, 7981754, 7982624, 7982394, 7982395, 7982625, 7982687, 7982566, 7982567, 7982568, 7982688, 7982689, 7982690, 7982195, 7982196, 7982611, 7982612, 7982396, 7982694, 7982695, 7982215] into pi-qpr3-release Change-Id: I7536bdd725665baf54be804b40d7c0a97794e974
| | * [RESTRICT AUTOMERGE] Protect VPN dialogs against overlay.Chalard Jean2019-06-113-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 130568701 Test: manual. After this, can't display on top of it Change-Id: Ib032f800edb0416cc15f01a34954340d0d0ffa78 (cherry picked from commit 4e80dc2861614d25a1f957f50040a8cf04812d11) (cherry picked from commit 27d47340496580d66f36a734a115e47eaf550972)
| | * Clear the Parcel before writing an exception during a transactionMichael Wachenschwanz2019-06-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents any object data from being accidentally overwritten by the exception, which could cause unexpected malformed objects to be sent across the transaction. Test: atest CtsOsTestCases:ParcelTest#testExceptionOverwritesObject Bug: 34175893 Change-Id: Iaf80a0ad711762992b8ae60f76d861c97a403013 Merged-In: Iaf80a0ad711762992b8ae60f76d861c97a403013 (cherry picked from commit f8ef5bcf21c87d8617f5e11810cc94350298d114)
| | * DO NOT MERGE SurfaceControl: Fix captureLayers JNIRobert Carr2019-06-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missed a call-point in last refactoring. This CL should have been included in https://googleplex-android-review.git.corp.google.com/q/topic:%22bp-secure-screen-rotation%22+(status:open%20OR%20status:merged) Bug: 130211665 Bug: 133054270 Test: Manual Change-Id: I43fa93eea7d79f5b773497e3bb65750866eca2cb (cherry picked from commit bf9298f1c9b848ff0db4ae0be3913ad531bafa9e) (cherry picked from commit fbc22c2b6d54a8a9b589746be67d3992f01212cc)
| | * Clean up ProcessRecord when reuse a pid.Hui Yu2019-06-111-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Zygote starts a process with a pid, system_server may have this pid associate with a old process which is killed by the OS but system_server has not finished cleanup. In this case, clean up the old ProcessRecord so the new process can use the pid. This problem is exposed because the asynchronous process start change. attachApplicationLocked() may happen before handleProcessStartedLocked() and the mPidsSelfLocked may still have the old ProcessRecord associate with the new process's pid. Bug: 131105245 Test: POC test steps in b/131105245. Change-Id: I775acda5147291d0cf9836b6ffb3f52d1bf9bffe Merged-In: I775acda5147291d0cf9836b6ffb3f52d1bf9bffe Merged-In: I5d421f6c68f6b3437d51c94f4aef77e08a7bf002 (cherry picked from commit 3d47e0ceca4e6528a1bec2a7e94a833b8951d93a)
| | * [RESTRICT AUTOMERGE] Fix NullPointerException when mLockPatternUtils is not set.Jonathan Scott2019-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | Test: atest LockTaskControllerTest Bug: 132593073 Change-Id: I1bfacd5992569d67cdaa526b18d1c426a366babb (cherry picked from commit fa1b986746ad7d9ebab6a34a0bfafd0a93267d5b)
| | * Update API docs for TelecomManager#endCall.Tyler Gunn2019-06-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it clear that ending an emergency call is not possible with this method. Test: Compile; this is a docs change. Bug: 132438333 Change-Id: I736b90e31723ee2055cedf16142c4d0f494bf49b (cherry picked from commit 3acf511895d8d19d5f9189d0159ae1d677a89a42)
| | * [RESTRICT AUTOMERGE] Make LockTaskController default behaviour match ↵Jonathan Scott2019-06-112-11/+91
| |/ | | | | | | | | | | | | | | | | ScreenPinningSettings. Fixes: 127605586 Test: atest LockTaskControllerTest Change-Id: I7d4c53fd6740f500d1a0ce18b47b83ed895300a5 (cherry picked from commit 5d6c1e8f451a920695e92fd321bbffe9c75f9aaa)
* | Automatic translation importMichael Bestas2019-08-0411-7/+35
| | | | | | | | Change-Id: Idfdbd839d88388a05d0d185737d428efc0ab1ca6
* | SystemUI: Use appropriate function when trying to retrieve colorErrorLuK13372019-08-041-1/+1
| | | | | | | | | | | | | | | | | | * android.R.attr.colorError is not a color state list, therefore we cannot use getDefaultColor(ctx, resid) on it. * Fixes : https://gitlab.com/LineageOS/issues/android/issues/1010 Change-Id: If39b0c066c904884283a9dc62ec85bf6450c1dda
* | SystemUI: Fix multiple issues with hiding unprovisioned SIMsLuK13372019-08-012-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | * Use View.GONE instead of View.INVISIBLE when setting dot and mobile group's visibility so that we don't leave empty space. * Always fallback to STATE_HIDDEN when SIM is unprovisioned so that we don't end up showing unnecessary empty icon after toggling airplane mode twice with mobile data off. * Make sure to call IconController.setMobileIcons() after provisioning changes so that signal icon is always hidden. Change-Id: I546a326eb52b0496f5fbd9057d368b1a90827d58
* | Fix sim pin on DSDSJordan Liu2019-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes the issue where only one SIM's PIN is checked when unlocking. Test: manual Bug: 135496265 Merged-In: I8db4565c4e5d5bcfb166b5962e878531a84dbafb Change-Id: I8db4565c4e5d5bcfb166b5962e878531a84dbafb (cherry picked from commit 560fe75f696c262fbe12985fe379c1b0868f348c)
* | Dismiss SIM lock page after correct SIMJordan Liu2019-07-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the criteria was to dismiss if: 1. There is no pin/password/pattern set AND 2. the lockscreen is disabled. This behaved incorrectly in the case where the lockscreen is enabled but there is no pin/password/pattern set. We fix the condition so that now we dismiss the SIM lock if: 1. There is no pin/password/pattern set OR 2. the lockscreen is disabled. Fixes: 115780994 Test: manual Change-Id: I88da896add635126934eb0ed22e617ac2607f15a
* | When data switches during voice call, make sure signal bar updates it.Malcolm Chen2019-07-273-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isDataEnabled only reflects user setting of mobile data is on or off. isDataCapable reflects better of whether the data could be setup or not, considering user settings and other restrictions and exceptions. We should use isDataCapable when deciding what to show in signal bar. When non default data SIM is in voice call, there could be an exception that we also setup data on that SIM. Bug: 134981077 Test: manual Change-Id: I54fc4ca104cb451af847d7973fbffc7f0ed97c10 Merged-In: I54fc4ca104cb451af847d7973fbffc7f0ed97c10
* | Stop USB Debugging authorization window dismissing on tap outside.Tobias Thierer2019-07-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This dialog is onerous to trigger (requires disconnecting and reconnecting the device), and is too easy to dismiss accidentally by slightly mis-tapping (happens to me all the time). This code is mostly abandoned - it has barely been touched at all since it was introduced in 2012. This CL makes it not dismiss when the user clicks outside the dialog. To dismiss, the user now has to click either CANCEL or ALLOW. Test: Manually checked that clicking outside the dialog dismissed it before but not after this CL. Change-Id: I603bba9c79e0df8a52ba7db323fea3a13acaa0a5
* | Update navigation bar upon change of display densityrleix2019-07-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restart the navigation bar upon change of density or font scale, then the facet buttons of navigation bar will be scaled properly. Test: Settings->Display->Advanced->Display size->Largest bug: 122563094 Change-Id: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507 Merged-In: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507 Signed-off-by: Lei,RayX <rayx.lei@intel.com> Signed-off-by: Guobin Zhang <guobin.zhang@intel.com> Exempt-from-Owner-Approval: Car specific file
* | Unable to input PIN with hardware keyboardWang, ArvinX2019-07-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After typing a wrong PIN, the EditText view will be disabled and lose the focus, as a result, inputs from hardware keyboard won't be sent to PIN EditText. Test: 1. Enable PIN lock Test: 2. Lock the device with Power key Test: 3. Enter wrong PIN from a physical keyboard Test: 4. Try to enter PIN again with physical keyboard Bug: 119287260 Change-Id: I04df523c19c99bef75ea481b44154f7ba2270689 Signed-off-by: Wang, ArvinX <arvinx.wang@intel.com> Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
* | Fix the behavior of keyguard bouncer in a corner caseWang, ArvinX2019-07-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With Android Automotive, there's a cancel button on the bouncer that allows return to UserSwitcher. Due to specific implementation of CarStatusBarKeyguardViewManager, all KeyguardViews will be destroyed. With below steps, user can input PIN the 6th time. But it won't unlock the device even if it's the correct PIN. Test: 1. Set screen lock with pin, password or pattern Test: in Settings ->Security & location Test: 2. Lock the device with Power key Test: 3. Input wrong pin/password for 5 times, 30s timeout is prompted Test: 4. Quickly click cancel button and select the same user Test: 5. User can input PIN/password again bug: 119068682 Change-Id: Ia182902d38de93ad13cb39c333a1294764905e1f Signed-off-by: Wang, ArvinX <arvinx.wang@intel.com> Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
* | Fixes context for tiles without longClickFabian Kozynski2019-07-273-7/+16
| | | | | | | | | | | | | | | | | | | | QSTile can declare whether it doesn't support (has no effect) long click and then TalkBack will not report it as an available option. Test: manual & atest Change-Id: Iec21181f4308c7c8c4962f191fa0787e053ae944 Merged-In: Iec21181f4308c7c8c4962f191fa0787e053ae944 Fixes: 117921787
* | Fix to register the receiver for all usersKyeongkab.Nam2019-07-271-1/+3
| | | | | | | | | | | | | | | | To control Pip in secondary users, tv/PipManager needs to register the receiver handling ACTION_MEDIA_RESOURCE_GRANTED for all users. Test: manual - start video playback in restricted profile Change-Id: Iefceacf4a65229ab2ffaa0b607171cd6ee8ae272
* | Remove unnecessary right padding from time pickerTetsutoki Shiozawa2019-07-272-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Symptom: When the device language was set to Spanish, "A.M." label was not fully displayed on the time picker widget. "M." was lacked. Root cause: There are unnecessary right paddings on the layout definition of time picker. It uselessly consumes the room for ampm_layout. Bug: 64498105 Change-Id: Ie52fafc0fb7d6d6ea5b0ca2eaeb53755d4aebc19
* | Default the network location provider to noneLuca Stefani2019-07-251-1/+1
| | | | | | | | Change-Id: I4d087827e3e1738c106c560928022be51a7664ab
* | combo issue when location reported by providers do not come with extrasKevin Tang2019-07-251-4/+5
| | | | | | | | | | | | | | | | | | LocationManagerService tries to create an extra bundle and stick it into the location object, but it is not doing it correctly. As a result, combo drops report. Change-Id: I6f5886dd7f14819ecc7a4ed96c867a0ec486faf7 CRs-Fixed: 962746
* | NLP Combo featureDante Russo2019-07-253-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If Combo Provider is listening for network locations, it will want to screen these locations before they are sent out to clients. Get the package name for combo provider from resouce instead of hardcoding the name. Also, geofence services provider is renamed to differentiate from the hal geofence provider Only screen network locations if Combo provider is the connected network location provider. Resolved issue where MockProvider was being cast to LocationProviderProxy and would cause a fatal exception CRs-fixed: 483398, 608477, 619882 Change-Id: I3156e85307b40aee9fb06b433c83153c84b8ed42
* | jni: Fix improper call to createFromExisting()Han Wang2019-07-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | * We need to pass "false" as another parameter to fix a jboolean check crash on eng builds. F system_server: runtime.cc:566] JNI DETECTED ERROR IN APPLICATION: unexpected jboolean value: 319040960 F system_server: runtime.cc:566] in call to CallStaticObjectMethodV F system_server: runtime.cc:566] from android.graphics.GraphicBuffer android.view.SurfaceControl.nativeCaptureLayers(android.os.IBinder, android.graphics.Rect, float) Change-Id: I7a88225d3ebeb5d74b209cd1f962f1da3c1e8290
* | ProfilesTile: Enable authentication for handleClick()LuK13372019-07-231-0/+6
| | | | | | | | | | | | | | | | | | * This disallows enabling profile on secure lockscreen which could allow enabling last profile that could potentially have a disabled lockscreen. * Fixes : https://gitlab.com/LineageOS/issues/android/issues/965 Change-Id: Ic9a845f1b6e4a408134c4a9ad31810d88375a99b