151040 Commits

Author SHA1 Message Date
Selim Cinek
a2f945e227 Merge "Changed the swipe up search affordance" into lmp-dev 2014-09-15 17:18:40 +00:00
Ihab Awad
1ec6888685 Add system feature for ConnectionService API support (1/3)
Bug: 17445268
Change-Id: Ibf52cb394f00d075afd07b883a91f00da84b3c85
2014-09-15 09:10:54 -07:00
Chris Craik
025207b3cf Merge "Force isolation of clip and matrix within layer" into lmp-dev 2014-09-15 15:59:57 +00:00
Selim Cinek
92d892c0cd Changed the swipe up search affordance
The previous card animation is removed and replaced by a animating
circle with a shadow. Also fixes several cases where the card could
either get stuck and the affordance was not launched.

Bug: 17457300
Bug: 17444236
Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba
2014-09-15 17:25:40 +02:00
Andres Morales
bd9d664743 Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev 2014-09-15 15:10:45 +00:00
Jorim Jaggi
f5989b053a Merge "Fix priority for recent task thumbnail loader" into lmp-dev 2014-09-15 15:02:41 +00:00
Jorim Jaggi
50949eaff7 Fix priority for recent task thumbnail loader
Follow up CL for Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93

Bug: 16513124
Change-Id: I3e95d0ae56a273c482db31b377f66fe7397d01f8
2014-09-15 16:08:17 +02:00
George Mount
2911b2046a Merge "Fix exit transitions hiding views permanently." into lmp-dev 2014-09-15 14:06:52 +00:00
Jungshik Jang
f5194d8cef Merge "Fix cyclic mute" into lmp-dev 2014-09-15 12:36:27 +00:00
Alexandra Gherghina
0a91a0ae7c Merge "Update briefcase icons" into lmp-dev 2014-09-15 11:46:01 +00:00
Esteban Talavera
9c17388cff Set device admin on dpm set-device-owner command
Bug: 17312478
Change-Id: I4ef730a97d603352eda77f04a2b00fa97c2be662
2014-09-15 11:42:34 +01:00
Jungshik Jang
720407ad06 Fix cyclic mute
Bug: 17502271
Change-Id: I837315afce8193ac1948fffed66cbb8c755968e2
2014-09-15 18:24:01 +09:00
Jorim Jaggi
81e0c8491f Aggressive tuning of recents memory usage
Limit the thumbnail count to a maximum of 10 thumbnails and the app
icon count to a maximum of 20 thumbnails, instead of using a
byte-size based limit.

Also prune entries immediately when leaving recents.

Bug: 16513124
Change-Id: Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93
2014-09-15 10:56:35 +02:00
Baligh Uddin
e1a27ed1a9 Import translations. DO NOT MERGE
Change-Id: I52d4c3489b8135587f47a3020a77fdd6c9f7fde4
Auto-generated-cl: translation import
2014-09-14 22:54:07 -07:00
Baligh Uddin
7e243f8925 Import translations. DO NOT MERGE
Change-Id: I540a7041a288cc711d139d4d647ffb96fc9feee5
Auto-generated-cl: translation import
2014-09-14 21:24:35 -07:00
Baligh Uddin
7de8dae1e8 Import translations. DO NOT MERGE
Change-Id: I6fac9cee4da3c1d6664ce99f1b8ba508e476f904
Auto-generated-cl: translation import
2014-09-14 21:22:59 -07:00
Baligh Uddin
f3d0e47572 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:49 +00:00
Baligh Uddin
00bb3fe4a3 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:48 +00:00
Baligh Uddin
5dfa84f77f Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:44 +00:00
Yohei Yukawa
dc489241cf Minimize the number of default enabled IMEs part 3
With this CL, the behavior of getDefaultEnabledImes() changes
as follows:

- Previously system IMEs are always enabled by default as long
  as it is a software keyboard that supports En_* subtype. With
  this CL, getDefaultEnabledImes() relies on the locale returned
  from getFallbackLocaleForDefaultIme() instead of calling
  isSystemImeThatHasEnglishKeyboardSubtype() to minimize the
  number of enabled IMEs.
- Previously default enabled system IMEs are chosen in a
  country-agnostic way. As a result, "en_IN" is enabled even
  when the system locale is "en_US". With this CL, the system
  first tries to find IMEs with taking the coutnry into account,
  and use the country-agnostic way when and only when fallback
  logic is required.

BUG: 17347871
Change-Id: I6571d464a46453934f0a8f5e79018a67a9a3c845
2014-09-15 13:13:45 +09:00
Baligh Uddin
0a8e7d1f31 Import translations. DO NOT MERGE
Change-Id: Ib73a5356d8804c8216be0ce59c84637ff609e81a
Auto-generated-cl: translation import
2014-09-14 21:05:55 -07:00
Baligh Uddin
5b5a4afc20 Import translations. DO NOT MERGE
Change-Id: Ie385c9b051b20bf52b7c0b266ca4c9147f7fbb90
Auto-generated-cl: translation import
2014-09-14 21:04:22 -07:00
Baligh Uddin
bbaf0bb630 Import translations. DO NOT MERGE
Change-Id: Ic6c7d7ca45834f3f0b73967347232991b5c31910
Auto-generated-cl: translation import
2014-09-14 21:02:30 -07:00
Svet Ganov
e771caf332 Fix a crash in pring spooler.
If the printer capabilities are reported with a delay which is pretty
common we were trying to evaluate the preview page dimensions without
having a media size resulting in a NPE.

bug:17501953

Change-Id: I6765137f61b8fd060e9eabff07e632875d934963
2014-09-14 20:29:30 -07:00
Baligh Uddin
b310039442 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:45:11 +00:00
Baligh Uddin
3471203196 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:45:00 +00:00
Baligh Uddin
b8810b04ba Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:44:57 +00:00
Jungshik Jang
2d02b20405 Merge "Remove unnecessary warning." into lmp-dev 2014-09-15 02:23:08 +00:00
Baligh Uddin
b3c8598174 Import translations. DO NOT MERGE
Change-Id: I57bb85dcb94f83e095e07ee4956d786849284688
Auto-generated-cl: translation import
2014-09-14 19:17:12 -07:00
Baligh Uddin
3e8ce3bb33 Import translations. DO NOT MERGE
Change-Id: Idb536e9edfaee903119b8d84188d013e045f5fba
Auto-generated-cl: translation import
2014-09-14 19:12:57 -07:00
Baligh Uddin
0fc76f0755 Import translations. DO NOT MERGE
Change-Id: Ifb234cb1ae0c96f393e3b203488f61467d97c267
Auto-generated-cl: translation import
2014-09-14 19:11:15 -07:00
Dan Sandler
8cd9e2db31 NavigationBarView: Fix NPE in Drawable.setVisible()
Bug: 17495735
Change-Id: I9d5ed5a324ae5c08ea0c225104c41b44462aff22
2014-09-14 21:25:08 -04:00
Jungshik Jang
6b096d349b Remove unnecessary warning.
Bug: 17501260

Change-Id: I5e7edd6d1fc179c00306d745adc99bebdcb65316
2014-09-15 09:54:47 +09:00
Prem Kumar
97a0c45cf8 Merge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev 2014-09-15 00:51:13 +00:00
Dianne Hackborn
95686694f7 Merge "A little more work on issue ##16907799." into lmp-dev 2014-09-15 00:27:00 +00:00
Dianne Hackborn
24c98e8cf8 A little more work on issue ##16907799.
I got distracted in the middle of it, and forget to finish
up with the test to not kill processes if they aren't using
an auto create binding.

Change-Id: Ieecfe97fa3208e50cb91ba94be2a8659d128b0de
2014-09-14 17:25:34 -07:00
Alan Viverette
670288c252 Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev 2014-09-14 23:36:06 +00:00
Chris Craik
203d1cce5c Enable shadow for GhostView
bug:17331776
Change-Id: Ia5819422e8cb53d2a4da110f819823b4e90e2fee
2014-09-14 16:28:52 -07:00
Alan Viverette
adabc55ab6 Merge "Simplify progress bar paths" into lmp-dev 2014-09-14 22:51:43 +00:00
Adam Powell
9dbe94d8cd Merge "Magic null-background filling for PhoneWindows" into lmp-dev 2014-09-14 22:51:29 +00:00
Chris Craik
4ace730560 Force isolation of clip and matrix within layer
bug:17379260

Unclipped save layers need to isolate their clips and matrices
so that the save time readout of background content matches clip and
position with the restore/compose step.

Change-Id: I2de474cda76e960d080852f1716d6ddfa8a512d4
2014-09-14 15:49:54 -07:00
Alan Viverette
b56f5d2ab1 Clean up view drawable tinting methods, fix default modes
Calling setTint now only modifies the tint. It won't force a mode change.

BUG: 17494736
Change-Id: I91392634869ed23981d8e61a403bb2be42aa7a07
2014-09-14 15:48:50 -07:00
Adam Powell
f849a5e16d Magic null-background filling for PhoneWindows
In the past it's been a recommended approach to avoiding overdraw for
apps to set their window background to null at runtime if their
content view fully covers their window surface. The problem with this
is the IME.

The IME can force a resize of the window at unexpected times and
unless an app has been configured to fit system windows and manually
cover the padded area that the IME window covers, the asynchronous
nature of the IME-show process can leave surface buffer garbage
visible to the user. In previous platform versions this wasn't an
issue since pre-renderthread we would always animate a crossfade from
the closed to open state. This animation was always a bit of a hack
since it could break the contract of requestLayout/invalidate on the
view hierarchy - it could result in a draw happening into the saved
"before" state of the crossfade before a pending layout.

Now that this has been cleaned up the buffer garbage is sometimes
visible.

To prevent this, PhoneWindow now detects the state of a null window
background and draws solid rects into the area not covered by a
window's content. Which color is determined by the window context's
theme, though this is not a public API available to apps.

Bug 17006497

Change-Id: I714439a1608c4ae135f3d9d49bb165330d9fbe9f
2014-09-14 15:44:11 -07:00
Guang Zhu
ac60bea01f Merge "temporarily enable wifi verbose logging in download manager test" into lmp-dev 2014-09-14 22:35:30 +00:00
Guang Zhu
da7638db2e temporarily enable wifi verbose logging in download manager test
also temporarily compile against platfrom, not SDK, since we are
using private API

Bug: 17446070
Change-Id: I6da18aca2d5eaf305940514186ef2434e52f15b9
2014-09-14 15:33:49 -07:00
Alan Viverette
e5a4345a08 Simplify progress bar paths
BUG: 17366831
Change-Id: I7efa215d399e4bf47b41949d313fba4487f068a0
2014-09-14 15:10:54 -07:00
Dianne Hackborn
f075330db4 Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev 2014-09-14 22:02:36 +00:00
RoboErik
d8c36a7b60 Merge "Route volume commands whenever media stream is in use" into lmp-dev 2014-09-14 21:45:03 +00:00
Eino-Ville Talvala
9503785393 Camera2: Clean up corner case error handling
- If a session is closed, and a new session is created immediately
afterwards, but then fails to be configured, the first session sees an
onUnconfigured call which it wasn't expecting, and throws an
exception on an internal thread, leading to app death.
Add a guard against this case.

- If the lower levels skip a frame (illegal per design), be slightly more
robust to that by accepting any successful result as the latest completed
frame, instead of just incrementing the completed frame count. This will
lead to missing results, but should allow shutdown, etc, to complete
cleanly.

- Convert TIMED_OUT error codes to CAMERA_ERROR CameraAccessExceptions.
This is a common error code returned by waitUntilIdle.

Also, improve debug logging to log a session ID with verbose logging,
and add a few verbose logs.

Bug: 16899526
Change-Id: I7a31f0a12effc2611e1f9c2408224ee82c37c912
2014-09-14 14:41:47 -07:00
Jorim Jaggi
49b03451f9 Merge "Fix jank while unlocking and security is set" into lmp-dev 2014-09-14 21:40:15 +00:00