Jeff Hao
a67c6f0162
Mark constructor as accessible in LayoutInflater. [DO NOT MERGE]
...
Needed to bypass new access checks for fields, methods, and
constructors.
Change-Id: I8ff0b44a6cb4f4af1c72734bca366d8b89528030
(cherry picked from commit e3abd2ccbef4c50b48df3605c65d732fa49a980b)
2014-10-01 12:47:40 -07:00
Jon Larimer
d65ab58705
am e2b12b1f: am 61c6ff7b: Merge "Fix issue #16794553 : Duplicate ArrayMap entries in Bundle..." into klp-dev
...
* commit 'e2b12b1fbc2880bf895fa2a9adcf65de3162c28f':
Fix issue #16794553 : Duplicate ArrayMap entries in Bundle...
2014-09-11 16:33:07 +00:00
Jon Larimer
e2b12b1fbc
am 61c6ff7b: Merge "Fix issue #16794553 : Duplicate ArrayMap entries in Bundle..." into klp-dev
...
* commit '61c6ff7b70e2d42b44d5c5f9c3c8e3c67b584a76':
Fix issue #16794553 : Duplicate ArrayMap entries in Bundle...
2014-09-11 16:23:39 +00:00
Dianne Hackborn
92a5b0d59f
Fix issue #16794553 : Duplicate ArrayMap entries in Bundle...
...
...can lead to launching of un-exported activities
We now validate the array map after unparcelling to make sure there
are no duplicate keys.
And to make up for the performance overhead this introduces, I switched
the parcelling/unparcelling code to write keys as explicit string
objects rather than generic values. There was no reason to use generic
values since the write method itself only accepts an array map with
String keys.
Change-Id: I57bda9eb79ceaaa9c1b94ad49d9e462b52102149
(cherry picked from commit cee4cdad307071a8ff9a3e2189bf9e6fcc417222)
2014-09-10 21:55:27 +00:00
Michael Wright
da3b43633f
DO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve
...
Some devices may contain things like transflective displays where
they actually want the backlight brightness to decrease in the face
of high ambient light scenarios. In the interest of time, just use a
linear interpolation based on the brightness control points for these
cases but in the future we should consider adding a non-monotonic
cubic spline.
Bug: 15611140
Change-Id: I308ad00943d916866ee8d2507a41b7032e6b524e
2014-09-02 14:47:37 -07:00
Baligh Uddin
b48db44556
Merge "Import translations. DO NOT MERGE" into klp-modular-dev
2014-08-22 18:29:36 +00:00
Aravind Akella
765c08fdd6
am 611dea81: Step Counter documentation fix.
...
* commit '611dea81a2f061e3d44841a5312ad7922e03ef63':
Step Counter documentation fix.
2014-08-22 18:02:17 +00:00
Baligh Uddin
edbecadaec
Import translations. DO NOT MERGE
...
Change-Id: I60a0ded06033f99fb2b17abe72806705310c179e
Auto-generated-cl: translation import
2014-08-22 10:39:35 -07:00
Aravind Akella
611dea81a2
Step Counter documentation fix.
...
Change-Id: I04921ca2bdfd10581f5582a025de617a506035b7
(cherry picked from commit 2ba8057d92d490a2492c528d857a9e9fc521e317)
2014-08-22 00:49:03 +00:00
Baligh Uddin
e23e034927
Import translations. DO NOT MERGE
...
Change-Id: If5eb069144f64cf69d3ddcbd88889d1246454569
Auto-generated-cl: translation import
2014-08-15 13:27:39 -07:00
Robert Ly
9ada140fc1
am efbbb182: Merge "cherrypick from klp-docs docs: security consideration for Android <4.2 Change-Id: I5fe51641539f7ffe7abcdb0618371dd3f4b62ab5" into klp-modular-docs
...
* commit 'efbbb18241c8b74a2813b48af2aeff8f03fbe8e7':
cherrypick from klp-docs docs: security consideration for Android <4.2 Change-Id: I5fe51641539f7ffe7abcdb0618371dd3f4b62ab5
2014-08-13 16:07:40 +00:00
Scott Rowe
607c17f99c
cherrypick from klp-docs docs: security consideration for Android <4.2 Change-Id: I5fe51641539f7ffe7abcdb0618371dd3f4b62ab5
...
Change-Id: I9838519ad3e0c2fb3957829fc448b1ae6bd1d62b
2014-08-07 15:54:42 -07:00
Alan Lau
b12318be13
Merge "Revert "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views""" into klp-modular-dev
2014-07-29 21:36:00 +00:00
Alan Lau
1fa3c9bef2
Revert "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views""
...
This reverts commit cbeef01cce314e3a3977b042d8ec0744816c0df4.
Change-Id: I170ccb2264941e8a8b090b3bb553970414f0c4eb
2014-07-30 17:35:20 +00:00
Alan Lau
06a8455421
Merge "Revert "Revert "DO NOT MERGE Fix extraneous allocation and copying""" into klp-modular-dev
2014-07-30 16:17:51 +00:00
Alan Lau
7ab1900a5a
Revert "Revert "DO NOT MERGE Fix extraneous allocation and copying""
...
This reverts commit af60e56b39582ea90ccd7601cd06350a50bf6500.
Change-Id: I1aa698608773b9e540457831e11218f371c71268
2014-07-30 17:35:29 +00:00
Alan Lau
273906bb6a
Revert "Revert "DO NOT MERGE Implement line breaking using ICU break iterator""
...
This reverts commit 77d6f36bbc76dbed51bea17d1ffcd3c1d6ffd30f.
Change-Id: I10b6d9e3d82b0f2b6dc154465a4b2f1db8eed058
2014-07-30 17:30:15 +00:00
Alan Lau
77d6f36bbc
Revert "DO NOT MERGE Implement line breaking using ICU break iterator"
...
This reverts commit 0c87dfd25d5a305fb67eb328d114aada87055dd7.
Change-Id: Ibc300bb945776594099b69965cabe7220d10de2f
2014-07-28 19:53:51 +00:00
Alan Lau
cbeef01cce
Revert "DO NOT MERGE Fix line breaking for clusters in narrow views"
...
This reverts commit a28e4764994283c3595dd41f12e425cf7dc0d985.
Change-Id: I73fe7b3e6bdba327e55a58afd36a7f58f49945d0
2014-07-28 19:52:11 +00:00
Alan Lau
af60e56b39
Revert "DO NOT MERGE Fix extraneous allocation and copying"
...
This reverts commit 1a408a344c7921d7c943826bea3ce0cdd822583d.
Change-Id: If5a19a4cc54e76aeddac0923e28bbf310e78feb4
2014-07-28 19:51:01 +00:00
Anish Athalye
1a408a344c
DO NOT MERGE Fix extraneous allocation and copying
...
With breaks being allocated the way it was, there were 16 ints with
value 0 being stored in the beginning of the vector. Because of the way
the rest of the code is structured, this did not result in incorrect
operation, but it still wasted time and memory.
Change-Id: Ic0df3e5484417da51f2465ec2d72222fefffc18a
(cherry picked from commit 733b3c0f8b77fefcd234c94170faa4e7bd76074c)
2014-07-28 19:06:10 +00:00
Anish Athalye
a28e476499
DO NOT MERGE Fix line breaking for clusters in narrow views
...
Clusters were broken incorrectly when in narrow views (when the width of
the cluster was greater than the width of a view). Also, out() calls
were modifying fm, so clusters that were too wide were not positioned
correctly.
Change-Id: I521f8dc6338f5f1de6858af3f0c0bd320aa46bc0
(cherry picked from commit 162713dd0b72af79c1b2286985f7e79f043cd915)
2014-07-28 18:47:40 +00:00
Alan Lau
40b0d4d751
Merge "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views"" into klp-modular-dev
2014-07-27 22:35:46 +00:00
Alan Lau
97170e0c48
Merge "DO NOT MERGE Implement line breaking using ICU break iterator" into klp-modular-dev
2014-07-27 22:35:46 +00:00
Anish Athalye
0c87dfd25d
DO NOT MERGE Implement line breaking using ICU break iterator
...
Change-Id: I4ad98757aa2eab5dbc2ae44c0391e900ef20c4d0
(cherry picked from commit f8133ae5896926aaf70f12bc0dd1f36a6704c0f5)
2014-07-28 18:48:01 +00:00
Prashant Malani
b4dcc64fe6
Merge "Revert "Remove circular mask"" into klp-modular-dev
2014-07-24 15:36:14 +00:00
Prashant Malani
a04ea61db5
Revert "Remove circular mask"
...
This reverts commit 2e8b27e898af3af1165a79e7c5f8b59f63f20a2f.
It also makes the circularMask option configurable via overlay.
It is set to false by default.
An offset dimension entry is also provided, for displays which have
a "chin". This is set to 0 by default.
Bug: 16380982
Change-Id: I16ec3e8d8882a6683c9155055944e5c2f5cd781e
2014-07-23 17:26:08 -07:00
Robert Ly
1903bbb88d
am 22bdcd2f: Merge "cherrypick from klp-docs docs: formatting for html Change-Id: I1451615c09cc003a03d7585176036c4d695408f1" into klp-modular-docs
...
* commit '22bdcd2f829dd9226978c9ec4405fd89d4562d73':
cherrypick from klp-docs docs: formatting for html Change-Id: I1451615c09cc003a03d7585176036c4d695408f1
2014-07-23 21:02:12 +00:00
Scott Rowe
e2bdaea318
cherrypick from klp-docs docs: formatting for html Change-Id: I1451615c09cc003a03d7585176036c4d695408f1
...
Change-Id: I21424c1407b44554ac135248dabc2328bc70aef9
2014-07-23 20:54:50 +00:00
Guang Zhu
946f207d3d
add command to enable bt snoop log
...
Change-Id: I22a6482a90c2bb976a5ce44946e9f0fb8b59e6b2
2014-07-17 20:24:56 -07:00
Andrew Solovay
5755377592
am 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38" into klp-modular-docs
...
* commit '63477e67eba4e8f3d3c17c3774cd99d23db39456':
cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38
2014-07-16 13:22:57 +00:00
Andrew Solovay
5ae1335477
cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38
...
Doc had inaccurately said that getLaunchIntentForPackage() throws an
exception if the package name is not recognized; in fact, it returns
null. Also cleaned up some style issues for that Javadoc item.
Doc is staged to:
http://asolovay.mtv:9655/reference/android/content/pm/PackageManager.html#getLaunchIntentForPackage(java.lang.String)
Bug: 15022655
Original SHA1: I2eab0956eaedac71289e19a3618a3553908f8c38
Change-Id: Ief8dfaac248ba03779c6f13237aff9b26d362fd9
2014-07-15 15:08:58 -07:00
Michael Kolb
0cb38d2e5a
Merge "Add configuration for activity thumbnails" into klp-modular-dev
2014-07-10 20:49:26 +00:00
Michael Kolb
5f6238e4a7
Add configuration for activity thumbnails
...
Bug: 15750584
Change-Id: I0b2bfb46022b46d7649f6d9ba9ba74cdfc70a6ea
2014-07-10 14:43:51 -07:00
Aaron Whyte
f5e6747440
Allow overlays to configure ConnectivityService's network sampling to not wake the device.
...
This can increase clockwork device battery life.
Bug:15455204
Change-Id: Ifc551e6a522627dc8e5cfdfb8f56d4e3cbeea936
2014-07-10 14:05:35 -07:00
Baligh Uddin
2cf4d680fd
Import translations. DO NOT MERGE
...
Change-Id: I300f1b8bf139efb93c8a7c0d0f5ad8b77a4c2d42
Auto-generated-cl: translation import
2014-07-05 10:45:00 -07:00
Baligh Uddin
8233f5a30a
Import translations. DO NOT MERGE
...
Change-Id: I4679d0c0cec6404efadee93753f5877d4d0d1db6
Auto-generated-cl: translation import
2014-07-05 11:54:26 -07:00
Baligh Uddin
8e0c2d0077
Import translations. DO NOT MERGE
...
Change-Id: I3e2eae5b30231f3dc719c231d51c35234ed9dd94
Auto-generated-cl: translation import
2014-07-05 11:08:40 -07:00
Baligh Uddin
43380b20e7
Import translations. DO NOT MERGE
...
Change-Id: I827912aaef1d4a9bd0d38cdcbc24143d91704b56
Auto-generated-cl: translation import
2014-07-01 11:14:28 -07:00
Baligh Uddin
8edfe6f058
Import translations. DO NOT MERGE
...
Change-Id: I12eee2c77423ff9509625173bf537dbf02d411f0
Auto-generated-cl: translation import
2014-06-25 09:49:26 -07:00
Baligh Uddin
2d91bc2312
Merge "Import translations. DO NOT MERGE" into klp-modular-dev
2014-06-20 21:00:34 +00:00
Michael Kolb
22dfdcb7ee
Move emulator check & save system properties access
...
Bug: 15775489
Change-Id: I375aee36b212ae044101a65b65c51e6f889fd263
2014-06-20 15:39:04 -07:00
Michael Kolb
437d31390b
Make WindowInsets.isRound work with emulator
...
Bug: 15775489
Change-Id: I53a14ccd3be776d46c9cea43c0d5d3f41674dd75
2014-06-20 15:13:09 -07:00
Baligh Uddin
351d7e2e38
Import translations. DO NOT MERGE
...
Change-Id: I5c10b06f4e78acd1f479d0634e6bc43209d5f978
Auto-generated-cl: translation import
2014-06-19 17:23:45 -07:00
Mark Renouf
6c5c48a8b0
Limit swipe dismiss progress to positive values
...
BUG: 15716749
Change-Id: Ibd6daa1a515611e5c9b8a02c6df75130aa8c093b
2014-06-18 16:08:06 +00:00
Griff Hazen
2ea0d3979e
DO NOT MERGE Reduce chance of notification listener dropped messages.
...
The existing code for notification manager/listeners uses a oneway
binder api to deliver messages. One problem with this is that
notification objects can sometimes get fairly large, and can bump
into the oneway binder transaction buffer if many happen at once.
To reduce this issue, flip the service into a oneway delivery of
a status bar notification holder, whose wrapped content is then
immediately fetched upon receipt of the one-way message. This moves
the meat of the fetch to be over a two-way interface without changing
the properties of which object is actually sent (a tickle solution
with lookup key would have changed this)
Further research: attempt to chunk notification objects themselves.
They can sometimes transfer hundreds of KB over a binder transaction.
Bug: 15426276
Change-Id: Ib1a1f4ff848c16f80bcf2ae4dfd2b87a9091f0b2
2014-06-17 20:06:45 -07:00
Robert Ly
0bfee5a490
Merge "fix javadocs b/14414251" into klp-modular-dev
2014-06-17 03:35:51 +00:00
Griff Hazen
831ca9d3bc
Document best practices for display intent activities.
...
Bug: 15412926
Change-Id: I1c3082dfde85cd03ffc97be6383a0608f925edcf
2014-06-17 00:38:38 -07:00
Vinod Krishnan
1e6048e015
Merge "DO NOT MERGE Cherry picking 3 CLs to fix CTS testFitSystemWindows" into klp-modular-dev
2014-06-13 21:09:46 +00:00
Craig Mautner
6335fbcba1
Revert "Revert "Close ActivityView and ActivityContainer cleanly.""
...
This reverts commit dd5c94717077c9366dee364c88a86a78e5ee2688.
2014-06-13 17:18:47 -07:00