- May 06, 2015
-
-
Jeff Brown authored
This reverts commit 1a937b04. Bug: 20641986 Change-Id: I035d945d1561e5fc7c914aa9362635f763c83cfd
-
John Spurlock authored
-
Yorke Lee authored
-
John Spurlock authored
Bug: 19538553 Change-Id: I1af971b35ae9eeb38d8ec38c57b22152095e2725
-
Nicolas Prevot authored
-
John Reck authored
-
Jinsuk Kim authored
-
Matthew Williams authored
-
Raph Levien authored
-
Raph Levien authored
When returning a StaticLayout.Builder object to the pool, it is important to clear everything out. If not, then the object may have stale state from a previous layout operation. This was causing CTS test failures and probably other mischief. Bug: 20636917 Change-Id: I76fb20076ee954fcb476131a8fbe8833d72fbc0d
-
John Spurlock authored
-
John Spurlock authored
-
Tim Murray authored
-
John Spurlock authored
Bug: 20346315 Change-Id: Ia6af36d856a17639bf27c9a7b4941655d38d2a99
-
Adam Powell authored
-
Ruben Brunk authored
-
Sanket Padawe authored
-
John Spurlock authored
For the benefit of screen readers. Bug: 20813824 Change-Id: I776cf75d3c0f2e2d5b67bcbad476a28f9ef37c5f
-
Tim Murray authored
Change-Id: I069a2836cf1405adfd018ba0a058bf8f4a1cd39c
-
Seigo Nonaka authored
-
Seigo Nonaka authored
The auxiliary subtypes should be listed if the input method picker is opened from NavBar keyboard icon. However there is only IMM#showInputMethodPicker() API to open input method picker and this is also used from LockScreen or Settings UI. Auxiliary subtypes should not be listed there(Id7cf5d122). Thus framework shows auxiliary subtypes based on IMMS#mInputShown and LockScreen state, but it is not a perfect solution. If a physical keyboard is connected, the soft input may be gone. As the result, auxiliary subtypes won't be listed even if it is opened from NavBar keyboard icon. To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean) to be able to decide showing auxiliary subtypes by caller. Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide. There is no public API change in this CL. Bug: 20763994 Change-Id: I1e50ee42838a1bf64a612da4904aa93458d44ea4
-
Adam Powell authored
Allow a calling app to supply an array of additional Intents to the system ChooserActivity. The chooser will present a merged list of targets that can handle any of the Intents supplied, including both the standard EXTRA_INTENT as well as any of the intents supplied in EXTRA_ALTERNATE_INTENTS. These are treated as ordered; EXTRA_INTENT is considered the first/primary Intent and EXTRA_ALTERNATE_INTENTS are sorted most important first. Targets are queried for all supplied Intents. If the same component is returned for more than one Intent, the target is associated with the most important Intent that matched. This allows calling apps to supply several different payloads for an action depending on what the intended targets are able to support. For example, an app performing ACTION_SEND may supply image/jpeg data to compatible targets or a hosted web link to targets that only support text/plain. The user will have the opportunity to pick from a single merged list of choices using the best available payload, and will not be bothered with the implementation details of how the payload will be delivered to the recipient. If the calling app wishes to provide further disambiguation or refinement after the user makes a choice, for example to let the user choose which of the source intents to send from the primary or alternates, show a progress dialog as a full-resolution version of a photo is downloaded from the server before being sent along or while reticulating splines, the caller can supply an IntentSender to ACTION_CHOOSER including the extra EXTRA_REFINEMENT_INTENT_SENDER. This should be the IntentSender obtained from a PendingIntent pointing at an activity to launch to perform the refinement. The refinement activity should report that it is finished by obtaining the ResultReceiver from EXTRA_RESULT_RECEIVER. Available intents to send to the selected target will be contained in EXTRA_INTENT and EXTRA_ALTERNATE_INTENTS. To complete the refinement and send the result along to the chosen target, the refinement activity should select one of the supplied intents and send it to the ResultReceiver in a Bundle with the key EXTRA_INTENT and the result code RESULT_OK. To cancel the refinement, and let the user select another choice, send RESULT_CANCEL. While refinement activities cannot modify the filterEquals-affecting fields of the Intent they return, they may modify extras to provide additional or altered details to the final recipient. These extras will be filled into the Intent sent to the final target. Change-Id: I7ad4739eadd1a0e307675847ccf47ea948918a3a
-
Christopher Tate authored
-
Jason Sams authored
-
Tim Murray authored
-
Christopher Tate authored
The BACKUP permission check was being applied over-zealously. Bug 19336200 Change-Id: Ia52b5c5cc0fd8d19b74ee624be85113d1b8dca7e
-
Tim Murray authored
Change-Id: I15b6b121bd6bd963e5b433bdd93d6dc3e83645b8
-
Chris Wren authored
-
Matthew Williams authored
BUG: 20185340 Add ContentObserver to be notified when device provisioned system setting bit is flipped. Stash all messages that come along before then, similar to how we were doing it for onBootCompleted, and fire them off when ready. Change-Id: Ied9fe2262b2a96ea3316b6dd7c57e23628e19581
-
Eric Laurent authored
-
Alex Klyubin authored
-
Alan Viverette authored
-
Alan Viverette authored
-
Jeff Tinker authored
-
Alex Klyubin authored
This propagates the concept that 0 is an invalid crypto operation handle to the outside of AndroidKeyStore abstraction. Bug: 20864436 Change-Id: I1e5abb66c5d41d8fc32aac44372495a708c2b6e2
-
Alan Viverette authored
-
Alan Viverette authored
Also updates default fade duration for scrollbars to match Material spec and moves around some padding in AlertDialog so that scrolling text and list items aren't so close to the title. Bug: 19098033 Change-Id: I40dca6a931480c4c48463e3ea5b8361534cbd8d7
-
Eric Laurent authored
Implement JNI for AudioTrack and AudioRecord routing callbacks: - Added files core/jni/android_media_DeviceCallback.cpp/.h for JNI callback implementation used by both AudioTrack and AudioRecord. - Made AudioManager AudioPort and AudioPatch methods static in order to call them without context. Also added IO handle information to AudioMixPort. Change-Id: Icee182aa68310d4b12fd1469f48e78110889acf1
-
Alan Viverette authored
-
Chris Wren authored
open panel open with two fingers open via peek pull down to open QS tap to open QS Bug: 20262922 Change-Id: I7eaa8a6de75867035c64a3ac939cec86daaab913
-