214707 Commits

Author SHA1 Message Date
Tobias Thierer
823e05b2db Merge "Avoid instantiations of Boolean that are immediately unboxed." 2016-04-25 09:08:44 +00:00
Shubham Ajmera
f9446f77a2 Track libcore change e2270147c6ddfb164776b68295078a5e6c6dfee7
Bug: 27426743
(cherry picked from commit 6c69351469b9da7b424e9726c0bf878115a389b2)
Change-Id: I7276e39951d721704726132281c316c77bdab515
2016-04-22 17:10:45 +01:00
Calin Juravle
e86e8a659e Handle dalvik.vm.usejitprofiles property
Bug: 26080105

Partial cherry picked from commit
db4a79a5d7d348e9d2286d95d4e5a59dd484456f

Change-Id: Ifef4ec0d153b8d30941a339d7f9052889631f84c
2016-04-22 16:40:50 +01:00
Tobias Thierer
1b33b45038 Merge "Fix needless value boxing/unboxing in Am.java (except the Long unboxing covered by a separate CL)." 2016-04-22 14:43:52 +00:00
Joachim Sauer
29e835a515 Hide general utility methods in ICU4J.
Bug: 22023363
(cherry picked from commit d76fe896d444ee7bf625493e12c51ee28bcc82ef)

Change-Id: Ic923c558270b81fe48034c46bfcd9b1ac1d438f2
2016-04-22 14:59:25 +01:00
Paul Duffin
6d1f0b2afd ICU4J: Removed a couple of useless or internal methods from API
Bug: 22023363
(cherry picked from commit c108dea0bb0558f6d8462374775891005469097d)

Change-Id: I07c42b1124490daf502d1b3aff37b249d6118552
2016-04-22 14:55:08 +01:00
Paul Duffin
679fa0261c ICU4J: Update API for using civil version of IslamicCalendar
Bug: 22023363
(cherry picked from commit 74a8e08d59169865ecb5e0ae9ba6a57f0814a05a)

Change-Id: I0d7b756be123f806d035ee225960f27806785424
2016-04-22 14:35:17 +01:00
Tobias Thierer
ca01820735 Avoid instantiations of Boolean that are immediately unboxed.
Replaced Boolean.valueOf() -> parseBoolean() across frameworks/base
(not including Am.java, which I'm leaving for a separate change).

Also fixed a couple of other valueOf()s in SyncStorageEngine.

Bug: 28289401
Change-Id: I2c6fb39a465885e7e625ed8894b1b9f8a30da5bc
2016-04-22 14:21:12 +01:00
Tobias Thierer
09ae4931a9 Merge "frameworks/base: Avoid Long object allocations in Long.valueOf()" 2016-04-22 10:27:27 +00:00
Tobias Thierer
a1adc6ff82 Fix needless value boxing/unboxing in Am.java
(except the Long unboxing covered by a separate CL).

Tested: Successfully built frameworks/base

Bug: 28289401
Change-Id: I40d09af9c003b7667cb96171747bd355d7a9dc4f
2016-04-21 18:51:25 +01:00
Tobias Thierer
4bd017d6a5 frameworks/base: Avoid Long object allocations in Long.valueOf()
Replace usages where the Long is immediately unboxed or thrown
away with Long.parseLong().
In TaskRecord.java, I also fixed up similar uses of
{Boolean,Integer}.valueOf()

Tested: built frameworks/base successfully.

Bug: 28289401
Change-Id: I1fad536853a68c7b0707cbf02989aca155064843
2016-04-21 16:23:56 +01:00
Tobias Thierer
c027ae49f0 Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation." 2016-04-21 13:23:18 +00:00
Tobias Thierer
9bbbf2b15f Integer.valueOf() -> Integer.parseInt() to avoid allocation.
Bug: 28289401
Change-Id: If767f891644a06ba587f9bb55dccea4089a8c66d
2016-04-21 12:09:29 +01:00
Adam Lesinski
570a13f0cb Merge "Doze settings example not matching real keys" 2016-04-20 22:37:18 +00:00
Yang Ni
acd0061f90 Merge "Made Element accessors thread-safe" 2016-04-20 18:14:08 +00:00
Yang Ni
6bdfe0fc5c Made Element accessors thread-safe
Bug: 28177082
Change-Id: I8f3f2d8ce559e93cba29f8eedd5b95d1389deb23
(cherry picked from commit 33703f0c4e9b16bda5fd72e71d7d89359ee0db17)
2016-04-20 09:49:36 -07:00
Yi Kong
d5aca1aae2 Merge "Track libcore change be1608980825868eb1c70fab6eb86fe06bd304ce" 2016-04-20 15:36:54 +00:00
Yi Kong
d7c695d25b Track libcore change be1608980825868eb1c70fab6eb86fe06bd304ce
Bug: 27704598
Change-Id: I5cb900c7b48bc7b48ed0ea1110ff834e1d316de7
2016-04-20 14:52:56 +00:00
Yang Ni
1d0b9e2f46 Merge "Fixed ScriptGroup finalizer for old API" 2016-04-19 18:02:01 +00:00
Yang Ni
e04e5d7cc0 Fixed ScriptGroup finalizer for old API
Bug: 28242626

ScriptGroup finalizer clears out the list of closures, which is
uninitialized for the old API.

Need to check null first, before accessing the list.

Change-Id: Ibf914e17a0878c8c561f823c5f6f6f6619594de1
(cherry picked from commit 07837d6dab331b1693aa3689223b4012012a7fad)
2016-04-19 09:46:47 -07:00
Henrik Baard
eac10ab5f4 Doze settings example not matching real keys
The keys used in the example for the Doze timeouts does
not match any real key. To avoid confusion the example
should match the existing keys.

Change-Id: I0306c542dac9e38aea7d172a3e0f7472d327c73c
2016-04-19 07:50:24 +02:00
Robert Greenwalt
e05bdb15e5 Merge "Fix issues of different phone objects sharing same mConnectionApns list." 2016-04-18 21:58:05 +00:00
Yi Kong
c75055ebd8 Merge "Track libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af" 2016-04-18 09:57:23 +00:00
Lorenzo Colitti
bf7520ec79 Merge "When the applicantion is removed, reset network permission of this uid." 2016-04-18 06:54:00 +00:00
Andreas Gampe
17b069c0f4 Merge "Frameworks/base: Fix old code in MediaPlayer" 2016-04-16 00:40:01 +00:00
Yi Kong
418d3817a0 Track libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af
Bug: 28108421
Change-Id: Id0253fed98790f4c8eeb27877e14cf53474f29f0
2016-04-15 23:19:10 +00:00
Christopher Wiley
e004a913c3 Merge "libfilterfw_jni needs libmedia include paths" 2016-04-14 18:19:17 +00:00
Treehugger Robot
c91f028b85 Merge "libstorage needs libbinder include paths" 2016-04-14 18:03:25 +00:00
Christopher Wiley
6ac565687b libfilterfw_jni needs libmedia include paths
This library includes libmedia headers, and needs its full include path.

Bug: 27804373
Test: This code compiles with a slightly modified libmedia include
      path.

Change-Id: Ic9253c0f0e7236435f36f2baf47411ca7db187cd
2016-04-14 10:21:03 -07:00
Christopher Wiley
1e06bde16e libstorage needs libbinder include paths
This library is almost all binder related.  It should be
using libbinder's published include path.

Bug: 27804373
Test: This library compiles with a slightly modified libbinder include
      path.

Change-Id: Ib8e00b59604cdda69ec36cf1c90150b4b9033879
2016-04-14 10:16:33 -07:00
Shubham Ajmera
11b076b7d3 Merge "Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00" 2016-04-14 15:39:04 +00:00
Martijn Coenen
a1ef6e7d22 Merge "Change storage duration to static for native choreographer." 2016-04-14 09:52:10 +00:00
Michael Wright
c0d3d3f805 Change storage duration to static for native choreographer.
This ensures that the region is zero initialized, regardless of compiler.

Change-Id: Ie0bfa5d2cd2486ba31a45aee4de6c370513bfc62
2016-04-14 10:18:09 +02:00
Martijn Coenen
2853711f77 Merge "Add choreographer API to the NDK." 2016-04-14 08:11:45 +00:00
Shubham Ajmera
c9852123e8 Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00
Bug: 27426743

(cherry-picked from commit a871ab16871b0bb50790e97c3e1258ee3b0d33d6)

Change-Id: I4c77de05c99b811f60f2421d1f41e62c1404a4a4
2016-04-13 17:59:36 +01:00
Treehugger Robot
b4c4e20960 Merge "Fix: the label "customize" is not updated after changing language" 2016-04-13 14:25:05 +00:00
Treehugger Robot
e3d556f785 Merge "Dismiss keyguard when user button is tapped" 2016-04-13 13:32:38 +00:00
Calin Juravle
00ba61551e Merge "Handle dalvik.vm.jitprithreadweight property" 2016-04-13 11:44:56 +00:00
Shinichiro Hamaji
4e2a67d012 Merge "Let WAPPushManager depend on its proguard.flags" 2016-04-13 02:29:14 +00:00
Yang Ni
2a64e23857 Merge "Destroy Type created by Allocation.createSized()" 2016-04-12 22:07:56 +00:00
Calin Juravle
0de80b9f55 Handle dalvik.vm.jitprithreadweight property
Bug: 28065407
Bug: 27865109
Change-Id: I8cebc22a9e072fd1d6d765427a0cd59ba2201bf6
2016-04-12 18:39:50 +01:00
Yang Ni
01db88335d Merge "Destroy Closures in ScriptGroup" 2016-04-12 16:00:47 +00:00
Yi Kong
e8f7b80bcd Merge "Track libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4" 2016-04-12 14:44:30 +00:00
Yi Kong
5182e272ad Track libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4
Bug: 28108421
Change-Id: I774f264bf538b0fa2aac63c8e5225f82d7b03c2e
2016-04-12 14:05:59 +01:00
Yang Ni
3444dbe025 Destroy Type created by Allocation.createSized()
Bug: 27972184
Change-Id: I4f80c74079087eab20b75a701c56cde141322462
2016-04-11 17:31:39 -07:00
Stephen Hines
9e57114199 Merge "Fix typos for the word "Unsupported"." 2016-04-11 21:48:34 +00:00
Stephen Hines
ad57e330ba Fix typos for the word "Unsupported".
Bug: https://code.google.com/p/android/issues/detail?id=206490
Change-Id: Ie1b2c2b0960d8dd8c12ed06d84a16913cd057221
2016-04-11 13:05:55 -07:00
Julia Reynolds
0a5195577c Merge "Show volume safety warning for all users" 2016-04-11 14:33:03 +00:00
qinglian.x.zhang
a967b6210b Show volume safety warning for all users
The volume safety warning is shown only for owner.
It should be shown for all users.

Change-Id: I616038e3eecf8523aa5edd48843b0eb444607d2f
2016-04-11 21:18:39 +09:00
Kaori Katou
0a33405329 Dismiss keyguard when user button is tapped
When multi-user is disabled and user button is tapped
on the keyguard, the contact app is displayed behind the keyguard.
The keyguard should be dismissed when the contact app is launched.

Change-Id: I7daa0bec84b5172e78668cc71e51955f166ede0a
2016-04-11 11:31:09 +09:00