150434 Commits

Author SHA1 Message Date
Mathieu Chartier
1b848d4894 Merge "Change EmptyArray System.identityHashCode to Object.hashCode." into lmp-dev 2014-09-10 21:02:26 +00:00
Raph Levien
20dbc370e3 Merge "Remove auto spaceifying behavior on paste" into lmp-dev 2014-09-10 20:55:51 +00:00
Jorim Jaggi
e81d5c97e8 Merge "Fix PIN/PUK flow" into lmp-dev 2014-09-10 20:48:46 +00:00
Jorim Jaggi
ef764551c9 Merge "Fix invisible Keyguard" into lmp-dev 2014-09-10 20:43:51 +00:00
Jon Miranda
83e3ec9d4e Merge "Tries to resolve reference resource names instead of its data." into lmp-dev 2014-09-10 20:34:08 +00:00
Jorim Jaggi
5cbfe5476b Fix invisible Keyguard
Bug: 17439581
Change-Id: Ie649af4a3455a650ab46372f1e5500b530a24f34
2014-09-10 22:23:08 +02:00
Jae Seo
9127e4580c TIF: Enable inflating class android.media.tv.TvView on non-TV devices
Needed to pass the CTS for those devices.

Bug: 17455222
Change-Id: Ief9a76835418906d9e8e06d4e5ddc71a3370055d
2014-09-10 13:11:13 -07:00
Svetoslav
fc81bfe3fb Merge "RTL support for print UI." into lmp-dev 2014-09-10 20:06:18 +00:00
Svetoslav
0421754a21 Merge "Fix page spacing in preview list." into lmp-dev 2014-09-10 20:05:46 +00:00
Mathieu Chartier
b4e5061fd6 Change EmptyArray System.identityHashCode to Object.hashCode.
Equivalent behavior, improves performance since
Object.hashCode has a fast path in the java side that does not
require JNI.

According to traceview sampling profiler:
Calendar had 6.8% time in System.identityHashCode during launch.
0.4% time in System.identityHashCode after the change.

Bug: 16828525

Change-Id: I1ed1d1283a990f990b0d4352cc1f4822b1dadf7b
2014-09-10 12:57:29 -07:00
Eino-Ville Talvala
657d30e7f4 Merge "Camera2: Allow captures right after abort" into lmp-dev 2014-09-10 19:48:21 +00:00
Sailesh Nepal
fab395e9b9 Merge "Set remote connection state after setting handle" into lmp-dev 2014-09-10 19:45:04 +00:00
Robert Greenwalt
8c9e975c44 Merge "Don't accept score below 0." into lmp-dev 2014-09-10 19:30:22 +00:00
Robert Ly
3d13b16ae4 am 0adb8bb0: am 5debe44b: am 0743bca5: docs: add 64k method limit note
* commit '0adb8bb0a2a9bd240af55e5a1795d837a8c5f9db':
  docs: add 64k method limit note
2014-09-10 18:26:56 +00:00
Jorim Jaggi
f18271cb30 Fix PIN/PUK flow
Bug: 17411293
Change-Id: Ib9e99ba5d982704fc0b8201aa90a664501a34b81
2014-09-10 20:21:14 +02:00
Robert Ly
0adb8bb0a2 am 5debe44b: am 0743bca5: docs: add 64k method limit note
* commit '5debe44b88e41b61ecbbc48c60a006cd6abd734d':
  docs: add 64k method limit note
2014-09-10 18:16:12 +00:00
Matthew Williams
f1dc6860ff Merge "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager" into lmp-dev 2014-09-10 18:04:17 +00:00
Robert Ly
5debe44b88 am 0743bca5: docs: add 64k method limit note
* commit '0743bca58961582078f4e8199fe9a6fa044036eb':
  docs: add 64k method limit note
2014-09-10 18:04:16 +00:00
Raph Levien
5a689ce78e Remove auto spaceifying behavior on paste
The paste action contained some logic to automatically insert or remove
spaces, basically to emulate the semantics of the text being a sequence
of space-separated words. This was never universally loved, and gives
particularly unexpected behavior with a hardware keyboard.

This patch simply removes the logic to automatically adjust spaces on
paste, so what gets pasted is simply the literal buffer contents.

Bug: 16900326
Bug: 3304489
Change-Id: I5cdf9c43d98a17aa708883b47245aa7929a124d2
2014-09-10 11:03:18 -07:00
Matthew Williams
86f0c21417 Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager
BUG: 17359770
Reuse the Manifest.permission.ACCOUNT_MANAGER to protect this receiver,
because when this intent lands it kicks off a sync for every account/provider
on the device.
Semantically this means "if you can't talk to an authenticator to do things like
get a token or add an account, then you can't send an intent to the SyncManager
that the accounts on the device have changed in some drastic way"

Change-Id: I7eccc38e135cb00ebb0aafc69afc802fe1c4f219
2014-09-10 10:53:14 -07:00
Robert Ly
0743bca589 docs: add 64k method limit note
Change-Id: I6590fc996331c1f2024276d338c4035f2cb0f18d
2014-09-10 10:50:46 -07:00
Jeff Davidson
6cb95276c3 Merge "Update unclear Fragment Javadoc." into lmp-dev 2014-09-10 17:46:21 +00:00
Robert Greenwalt
35f7a94c84 Don't accept score below 0.
Network Factories are allowed to go below, but networks need to be
constrained.  Allowing the network to go below 0 meant that -1 could
sometimes leak through and foul the logic.

The core of 17361330 will be fixed when we stop sending scores for
listens to NetworkFactories, but it exposed this issue too.  Summary:

1 - add a network listener.  This isn't  a request so it's not sent
to networks.
2 - alter your score (ethernet sets score to -1 when the link goes
down) (16:07:39.782)
3 - a bug in ConnectivityService causes score changes to get sent for
all network requests and network listeners causing NetworkFactories
to no see 2 entities.  This bug will be fixed by a pending change
(https://googleplex-android-review.googlesource.com/#/c/540840/).
This causes the ethernet NetworkFactory to see two entities, both
served by networks of score -1.  (16:07:39.989)
4 - disconnect Ethernet - this only sends 0 scores for known
requests, not network listeners.  Had it been sent for both entities
they both would have evaluated that the networkfactory score (-1)
was lower than the request score (0) and both released their
refcount. (16:08:03.147)
5 - this means the listener is tracked by the EthernetNetworkFactory
with a score of -1 while the factory itself has a score of -1 so the
network release isn't called.

bug:17361330
Change-Id: Ife34ca0f9c233dd3c3df80f6fea580af43afcdeb
2014-09-10 10:39:37 -07:00
Jean-Michel Trivi
f35423bb4e Merge "Virtualizer: replace device type by virtualization mode" into lmp-dev 2014-09-10 17:29:20 +00:00
Eric Laurent
b94b5d33b2 Merge "Hide AudioDevice class" into lmp-dev 2014-09-10 17:28:56 +00:00
Jorim Jaggi
1145748e5e Merge "Remove some overdraw in Keyguard" into lmp-dev 2014-09-10 17:22:53 +00:00
Jorim Jaggi
ebd8589406 Merge "Fix QS interception on tablets" into lmp-dev 2014-09-10 17:22:42 +00:00
Ruben Brunk
a3256cd3e7 Merge "camera2: Fix preview stretching in LEGACY mode." into lmp-dev 2014-09-10 17:11:21 +00:00
Jorim Jaggi
53251ed4ac Remove some overdraw in Keyguard
Bug: 17287256
Change-Id: I0bc4101713f83abc2738528c247ca8ce5748bff1
2014-09-10 19:00:22 +02:00
Esteban Talavera
df980618a3 Merge "Update string value for provisioning action and extra" into lmp-dev 2014-09-10 16:26:50 +00:00
Jorim Jaggi
0c85e8676e Fix QS interception on tablets
Only intercept when touching on the panel and not on the left or
right of the panel. Fixes a bug where the user couldn't dismiss the
panel by tapping outside.

Bug: 17437547
Change-Id: Ice484a301683fa2df1f2a21f13977023b48189f4
2014-09-10 18:22:24 +02:00
Jorim Jaggi
6658b159db Merge "Don't let two closing animations run at the same time" into lmp-dev 2014-09-10 15:48:45 +00:00
Selim Cinek
ef88f708f9 Merge "Fixed unnecessary layer creations in the pin unlock method" into lmp-dev 2014-09-10 15:08:33 +00:00
Jorim Jaggi
98139559af Don't let two closing animations run at the same time
Fixes a flash when clicking on a single notification.

Bug: 17450892
Change-Id: Ia99c21a0bb30ce100532cfab66c96ec24f2412bf
2014-09-10 17:05:19 +02:00
Jason Monk
bd2ffe8f77 Merge "Fix blank QS Panel after double tap on profile icon" into lmp-dev 2014-09-10 15:01:00 +00:00
Jason Monk
0875a782ad Merge "Update zen mode and qs strings on locale change" into lmp-dev 2014-09-10 15:00:31 +00:00
Jason Monk
c8e4fa41f2 Merge "Move zen mode constants and code to framework" into lmp-dev 2014-09-10 15:00:20 +00:00
John Spurlock
3e5d59c365 Merge "Zen: make Condition available over @SystemApi" into lmp-dev 2014-09-10 14:46:20 +00:00
John Spurlock
9034f2452b Zen: make Condition available over @SystemApi
Fix build.

Bug:16819503
Change-Id: I011723a770a9a8b7fc8124defd56137ec5f1704e
2014-09-10 10:42:13 -04:00
Selim Cinek
6380482d08 Fixed unnecessary layer creations in the pin unlock method
This was especially noticible when double tapping a notification
because of the staggered appearing.

Bug: 17287256
Change-Id: I8f39892fa122bb8b7b6f2a7b1e7be8a9570e661e
2014-09-10 16:39:01 +02:00
George Mount
b7d63aedf5 Merge "Use intrinsic size for path animation in AnimatedVectorDrawable" into lmp-dev 2014-09-10 14:30:17 +00:00
George Mount
cb0567f98c Merge "Fix fade transition not working with Activity Transitions." into lmp-dev 2014-09-10 14:29:59 +00:00
John Spurlock
fdef628470 Merge "Zen: Make condition providers available via @SystemApi." into lmp-dev 2014-09-10 13:38:09 +00:00
Selim Cinek
ee5234f200 Merge "Fixed a bug where text could overlap in Quick settings" into lmp-dev 2014-09-10 13:36:18 +00:00
Jason Monk
4dd81467e3 Move zen mode constants and code to framework
This allows the strings and code to be shared with settings.

Bug: 15454830
Change-Id: I9300af4f8b6d80042452b75db3418b20c5c5cc81
2014-09-10 09:30:03 -04:00
John Spurlock
bf4e41747d Zen: Make condition providers available via @SystemApi.
Bug:16819503
Change-Id: Ibd7004f7a0928d3f14f9ccd55088cf645d5285e2
2014-09-10 09:13:54 -04:00
Jorim Jaggi
00fb8a80c8 Merge "Use simpler layout for auto-redacted notifications" into lmp-dev 2014-09-10 13:03:30 +00:00
Jorim Jaggi
c50ec62553 Merge "Inflate guts only when needed" into lmp-dev 2014-09-10 13:03:06 +00:00
Jorim Jaggi
b1cd3c1945 Inflate guts only when needed
This saves us a ton of views.

Bug: 17346296
Change-Id: I3eafd6703d19704dc8b108c1034266f38cf77f7b
2014-09-10 14:58:50 +02:00
Selim Cinek
e84e6676c4 Fixed a bug where text could overlap in Quick settings
Bug: 17434395
Change-Id: I001f54586666e2e575b0295315f7b2181c25a1e9
2014-09-10 14:41:58 +02:00