summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use long press of KeyButtonView to invoke assistJorim Jaggi2015-06-254-47/+21
| | | | | | | This makes sure that accessibility is handled properly. Bug: 18778078 Change-Id: I967b387aabff973b5a9fea649a805540ee08eea8
* Merge "Don't throw TransactionTooLargeException for small payloads" into mnc-devChristopher Tate2015-06-251-5/+15
|\
| * Don't throw TransactionTooLargeException for small payloadsChristopher Tate2015-06-251-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In practice, if we ever see an apparent transaction-too-large result with a modest-sized payload, it means that the remote process died at just the right time (with the binder transaction already in flight so it wasn't detected as a DEAD_OBJECT up front). Don't throw TransactionTooLargeException in this case, because we really do need to distinguish that from dead-remote more accurately. In particular, certain common execution patterns on existing hardware trigger this circumstance, and they wind up crashing the system. This is bad, so now we avoid it unless we're pretty sure that is really what happened. Bug 21801759 Change-Id: Id05f1eecc0d23dc8d0505c402e2cb68396782135
* | Merge "Ensure partially-detached AbsListView children are removed" into mnc-devAlan Viverette2015-06-251-6/+14
|\ \
| * | Ensure partially-detached AbsListView children are removedAlan Viverette2015-06-251-6/+14
| | | | | | | | | | | | | | | Bug: 22052083 Change-Id: If8c30c622206257587441bbd4f02c83eb3a62b60
* | | Merge "media: parse max-concurrent-instances." into mnc-devRonghua Wu2015-06-251-0/+3
|\ \ \
| * | | media: parse max-concurrent-instances.Ronghua Wu2015-06-251-0/+3
| | | | | | | | | | | | | | | | | | | | Bug: 22089269 Change-Id: I2b0af7c5c6a309c8396b595ea54b899451239b18
* | | | Merge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-devMakoto Onuki2015-06-252-14/+131
|\ \ \ \
| * | | | Fix Formatter.formatBytes() crash on non-EN localesMakoto Onuki2015-06-252-14/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 22012651 Change-Id: I21b1834a35647527002e01d76a7eb3a6a0354512
* | | | | Speedup PIN/Pattern dismissalJorim Jaggi2015-06-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22096344 Change-Id: I50d5ecaa03aae94cecf9da173f0d6318faaf6a1a
* | | | | Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN." into ↵Tenghui Zhu2015-06-251-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | mnc-dev
| * | | | | Limit dotProduct value to 1.0f, so acosf would not return NaN.Lazar Trsic2015-06-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry pick of b561f39d01c211425bfefaaa7b31ebe097e7ba79 from AOSP master. Due to precision loss of float math, we sometimes get 1.000001f for dotProduct. This causes NaN result from acosf() and floor() funcs. At the moment, this does not cause any problems on ARM, as casting NaN to int results in 0. On mips however (possibly on x86), such cast gives INT_MAX, so crash occurs when trying to use the resulting value. Change-Id: I8e0285a0306a65b8469d9f4885c19665066fc4c8
* | | | | | Merge "Preventing leak" into mnc-devJerome Poichet2015-06-251-1/+0
|\ \ \ \ \ \
| * | | | | | Preventing leakJerome Poichet2015-06-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When transitioning from ON to OFF with LE Advertisers, advertiser do not get a chance to unregister themselves as the stopAdvertising checks the state of the stack and throws before unregistering the object. It will then never remove the callback objects causing a leak. b/22092678 | Remote service crash after switching to restricted profile Change-Id: I04817026a524d10d60abdd8b533554a71a0112e2
* | | | | | | Merge "Fix removeTarget to remove by ID instead of index." into mnc-devGeorge Mount2015-06-251-1/+1
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Fix removeTarget to remove by ID instead of index.George Mount2015-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 22043875 Change-Id: I47933343381df7c46580279a864ab03d44c992ec
* | | | | | | Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-devAlan Viverette2015-06-251-4/+13
|\ \ \ \ \ \ \
| * | | | | | | Constrain ListPopupWindow hint width spec to >= 0Alan Viverette2015-06-251-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22092169 Change-Id: Ia05302cf8d167aae26eccbf53dd3fd21d09b326d
* | | | | | | | Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" ↵Alan Viverette2015-06-251-13/+14
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev
| * | | | | | | | Constrain child width and height to >= 0 in FrameLayout.onMeasure()Alan Viverette2015-06-251-13/+14
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22093669 Change-Id: I55e8a0289f871b73ed07f3d73e8297786f9acac1
* | | | | | | | Merge "Handle back key to cancel text action mode in full-screen IME." into ↵Yohei Yukawa2015-06-252-30/+61
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | mnc-dev
| * | | | | | | Handle back key to cancel text action mode in full-screen IME.Yohei Yukawa2015-06-242-30/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL is a follow up to I7998c8ee2162a0e01525a0cd66ec14fa505, which completely removed ExtractActionMode including back key handling in InputMethodService when full-screen mode is enabled. It turns out that back key events still need to be handled in InputMethodService when full-screen mode is enabled so that users can still cancel floating text action mode with back key. Bug: 22034992 Change-Id: I5f8db34f7425eef343d40d9820925ea6aaf9fccc
* | | | | | | | Merge "Add missing conditional in settings provider" into mnc-devSvetoslav2015-06-251-1/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Add missing conditional in settings providerSvetoslav2015-06-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I717e8b87eccbedf1a1abead77e7856a2aa2405fa
* | | | | | | | | Merge "Fixed a HUN crash with notification children" into mnc-devSelim Cinek2015-06-252-14/+20
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fixed a HUN crash with notification childrenSelim Cinek2015-06-252-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notification children were not properly handled before when added lead to a crash. This will fix this bug finally. Bug: 21868047 Change-Id: I92f2f7e71659de8274711a448e370084d423ca9f
* | | | | | | | | | Merge "add banned packages to notification dumpsys" into mnc-devChris Wren2015-06-251-0/+28
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | add banned packages to notification dumpsysChris Wren2015-06-251-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20451514 Change-Id: I4ae3adfc8dcd7e7625ca41950e5642c30b8cb25e
* | | | | | | | | | | Merge "Prevent certain actions of app has revoked permissions" into mnc-devSvetoslav2015-06-253-5/+109
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Prevent certain actions of app has revoked permissionsSvetoslav2015-06-253-5/+109
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:21808294 Change-Id: I7214c1fe47c15fe185423a54a74b58caf8d82daa
* | | | | | | | | | Merge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-devJun Mukai2015-06-251-0/+32
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Apply thumbTint and trackTint styles to Switch from xml.Jun Mukai2015-06-241-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21664957 Change-Id: Id08ae89fb1586968df4b901816a8e108bb8570af
* | | | | | | | | | | Merge "Remove Webviewtests in frameworks" into mnc-devSelim Gurun2015-06-2512-2545/+0
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / |/| | | | | | | | | |
| * | | | | | | | | | Remove Webviewtests in frameworksSelim Gurun2015-06-2512-2545/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22090564 These tests were not touched for at least 3 years, and with webview moving to chromium, they are tested at the chromium side. Change-Id: I4424871dd97c5dc23bb3dbdcee0915d5ab893c7e
* | | | | | | | | | | Merge "Carrier Config API KEY_FORCE_HOME_NETWORK_BOOL" into mnc-devChris Manton2015-06-253-2/+18
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Carrier Config API KEY_FORCE_HOME_NETWORK_BOOLChris Manton2015-06-253-2/+18
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20828356 Change-Id: I30a286e7af884a11c51363916dd6a4dc965d399a
* | | | | | | | | | | Merge "Let findSupportedAbi and hasRenderscriptBitcode scan only relevant ↵Yusuke Sato2015-06-253-14/+15
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files" into mnc-dev
| * | | | | | | | | | | Let findSupportedAbi and hasRenderscriptBitcode scan only relevant filesYusuke Sato2015-06-223-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for better performance. Without the optimization, these two functions may check more than 100k file names in the pre-installed APK files, which can take a few seconds to finish even on a recent device. Bug: 21957428 Change-Id: I315fd3c6d5aa1076b993752525de449a9933de12
* | | | | | | | | | | | Merge "Add comments for visual voicemail short codes in whitelist." into mnc-devNancy Chen2015-06-251-3/+6
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Add comments for visual voicemail short codes in whitelist.Nancy Chen2015-06-231-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the carriers and visual voicemail comment for US,FR,GB visual voicemail carriers. Bug: 20499563 Change-Id: Id77270ec384343e70b48cf4ce8ac45094e8b6d86
* | | | | | | | | | | | | Merge "Refactoring recents search bar widget logic." into mnc-devWinson Chung2015-06-258-199/+136
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Refactoring recents search bar widget logic.Winson Chung2015-06-248-199/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19062975 Change-Id: I303710598675aeebca8f34ac57de6249462ec033
* | | | | | | | | | | | | | Merge "Constrain width and height to >= 0 in FastScroller layout" into mnc-devAlan Viverette2015-06-251-8/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | Constrain width and height to >= 0 in FastScroller layoutAlan Viverette2015-06-251-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22071990 Change-Id: I9dcb2066ee069a3764b7d711cb341a4dfdc4445e
* | | | | | | | | | | | | | Merge "Support RSA encrypt using private key and PKCS#1 paddding." into mnc-devAlex Klyubin2015-06-252-18/+66
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Support RSA encrypt using private key and PKCS#1 paddding.Alex Klyubin2015-06-252-18/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some apps such as OpenVPN Connect for some reason generate PKCS#1-padded RSA signatures using Cipher (initialized in Cipher.ENCRYPT_MODE with private key!) instead of using Signature. Unfortunately, RI supports this strange behavior and previous releases of Android Keystore did the same. So, we have to continue supporting this craziness. Bug: 22083023 Change-Id: Ife3950d0d4ceb4e44e08014635312c1252878b69
* | | | | | | | | | | | | | | Merge "Fix: Don't display the drag handles when focus is lost" into mnc-devMady Mellor2015-06-252-11/+20
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Fix: Don't display the drag handles when focus is lostMady Mellor2015-06-252-11/+20
| | |/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The text selection handles should be hidden / shown when the window loses / regains focus. Additionally renames method to make more sense. Bug: 22062480 Change-Id: I6e160234cf112ee285367637e2f1c14defd82e89
* | | | | | | | | | | | | | | Merge "EditText - can not drag handles in extracted mode" into mnc-devAndrei Stingaceanu2015-06-251-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | EditText - can not drag handles in extracted modeAndrei Stingaceanu2015-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In TextView's onPreDraw method, startSelectionActionMode() is called, but the selection has already been started so in startSelectionActionMode() it shows the insertionController which hides the selectionController. Fix this by adding a check to start the action mode only if it is not already started. Bug: 22028858 Change-Id: I2999423155b7a63a7d879bc8ea5032e17dff459f