Andrew Solovay
07e7021e06
docs: Clarified how to find out when a switch is toggled
...
Per Chris, the existing doc was incorrect: you *can't* check for a
button press and a switch flip the same way. (The button triggers a
click event, but the switch does not.) Chris suggested that we just
remove the reference to onClick and suggest using a listener for
both kinds of buttons (ToggleButton and Switch).
Also pulled one note out of a section where it didn't fit (the bit
about changing a button/switch's state programmatically didn't have
much to do with listening for clicks) and put it at the top, and I
fixed a Javadoc typo for a relevant class that I happened to notice.
See first comment for doc stage location.
bug: 20625504
Change-Id: I9c8975111381e5b169f6a61454ef3a93da635759
2015-07-09 13:22:31 -07:00
Robert Schaub
f64c80a6cd
docs: Changed link in Java source code comment to repair 404
...
Need to find out what developer is in charge of CardEmulation.java to include
in review.
Bug: 19950839
Change-Id: Ic30ebaf69e46a70a64c8a123b0f72abaff7d0b80
2015-06-30 12:41:58 -07:00
John Spurlock
076c599feb
am 1ad5c813: Fix typo in TtsSpan.
...
* commit '1ad5c813211d4d855a0d5396855c80653480aaa4':
Fix typo in TtsSpan.
2015-06-15 22:11:30 +00:00
John Spurlock
1ad5c81321
Fix typo in TtsSpan.
...
Change-Id: Ic32f141f0c51ee3bee8fd71464f104ef725de880
2015-06-15 17:24:57 +00:00
Joe Fernandez
22b5ba8c01
docs: Add text to JavaDocs regarding browser file access vulnerability
...
b/17420682
Change-Id: Ic03b51778280570be65ae933fd906b140acdf023
2015-04-22 17:29:12 -07:00
Kris Giesing
6c97440849
DO NOT MERGE Revert "Load libraries directly from apk"
...
This reverts commit dec4688f40b0018fbd1f00db05581966f531d88f.
Change-Id: Ief869dec1641d5a376bc044719941536e0bf8442
2015-04-20 14:15:59 -07:00
Kris Giesing
e863712afc
DO NOT MERGE Revert "Add android.net.IpPrefix#contains()"
...
This reverts commit acc8c09d3a12d00b565a76acc26061172c3dd3c6.
Change-Id: I3c11ddd66d22ab2756201b489127f1643fedb429
2015-04-20 14:15:43 -07:00
Alex Klyubin
51884f0e06
am 499126c4: Merge "Add Keymaster KM_ORIGIN_UNKNOWN constant."
...
* commit '499126c43385ba7bce9b8547b61bafd0c6311147':
Add Keymaster KM_ORIGIN_UNKNOWN constant.
2015-04-16 20:09:05 +00:00
Alex Klyubin
499126c433
Merge "Add Keymaster KM_ORIGIN_UNKNOWN constant."
2015-04-16 19:50:12 +00:00
Alex Klyubin
a2607ee4eb
am b9a78c79: Merge "Add IV-related Keymaster error codes."
...
* commit 'b9a78c7939e9b31c807106166cafe65dc5af777d':
Add IV-related Keymaster error codes.
2015-04-16 16:57:12 +00:00
Alex Klyubin
37d81d035c
Add IV-related Keymaster error codes.
...
Bug: 18088752
Change-Id: I08daede713f945ad7dd0b21cc41ee12c15d94bad
2015-04-15 17:18:19 -07:00
Martijn Coenen
895f3c2726
am 6a47a861: Merge "Add getPrefixAids()."
...
* commit '6a47a86112e271d200f77d5ec66f5f50979135ca':
Add getPrefixAids().
2015-04-15 09:37:56 +00:00
Martijn Coenen
6a47a86112
Merge "Add getPrefixAids()."
2015-04-15 08:00:13 +00:00
Martijn Coenen
ed3a29ea08
Add getPrefixAids().
...
Bug: 19144664
Change-Id: Ia49550102ccf1d40cd3f2bf7e5bd64d444a2e8a3
2015-04-15 09:48:57 +02:00
Hiroshi Yamauchi
d83a598c39
am 82992b72: Merge "Fix javadoc error in Debug.getRuntimeStats()."
...
* commit '82992b7270842637d1af3dcc7c9ae954bdfa312c':
Fix javadoc error in Debug.getRuntimeStats().
2015-04-15 00:11:01 +00:00
Hiroshi Yamauchi
d8001676ea
Fix javadoc error in Debug.getRuntimeStats().
...
Bug: 19825248
Change-Id: Id7131732d30f01c3edd01c6d4c7c391095ffd054
2015-04-14 16:08:49 -07:00
Hiroshi Yamauchi
04143fdd55
am e38ee9df: Merge "Add Debug.getRuntimeStat()."
...
* commit 'e38ee9df26c93415303152ec3f6ed50d847557c8':
Add Debug.getRuntimeStat().
2015-04-14 19:26:51 +00:00
Alex Klyubin
45d27836bd
Add Keymaster KM_ORIGIN_UNKNOWN constant.
...
This tracks d359b044830b292f492f8a8df5471f869e358399 from
hardware/libhardware.
Bug: 18088752
Change-Id: I9a7bd8bdee51c18ae0427eff4efe036213d2b175
2015-04-14 10:52:34 -07:00
Hiroshi Yamauchi
8b5a293d09
Add Debug.getRuntimeStat().
...
Export runtime stats (currently GC stats) through this method.
Bug: 19825248
Change-Id: I147a0e9bc6bdfe4dc29d74e44f0af6349c51d9f8
2015-04-14 10:33:10 -07:00
Erik Kline
402f2501ac
am 3312c6b9: Merge "Add android.net.IpPrefix#contains()"
...
* commit '3312c6b9f3e9c83865eeec2af609338ce74a0a10':
Add android.net.IpPrefix#contains()
2015-04-14 09:29:56 +00:00
Erik Kline
3312c6b9f3
Merge "Add android.net.IpPrefix#contains()"
2015-04-14 07:58:33 +00:00
Erik Kline
acc8c09d3a
Add android.net.IpPrefix#contains()
...
This was originally to avoid RuntimeException in RouteInfo#matches():
When an IPv6 prefix with a length greater than the max permitted
for IPv4 is matched against an Inet4Address, the call to
NetworkUtils throws RuntimeException.
Change-Id: I92e2bd19a4e7d656cf682fd27678da07e211850d
2015-04-14 16:19:11 +09:00
Ruchi Kandoi
1770f9cfa5
am 3afca74a: Merge "BatteryStats: Adds an additional condition to avoid ArrayIndexOutOfBounds."
...
* commit '3afca74a2a40b4e957630909fe5df76aa550da69':
BatteryStats: Adds an additional condition to avoid ArrayIndexOutOfBounds.
2015-04-14 00:35:03 +00:00
Ruchi Kandoi
3afca74a2a
Merge "BatteryStats: Adds an additional condition to avoid ArrayIndexOutOfBounds."
2015-04-14 00:17:14 +00:00
Alex Klyubin
f265bdbfc7
am d1af38a4: Merge "Use JCA names for block modes, paddings, and digests."
...
* commit 'd1af38a4783c1c0d1a5b7c76a7583beb02a88462':
Use JCA names for block modes, paddings, and digests.
2015-04-13 17:22:07 +00:00
Alex Klyubin
d1af38a478
Merge "Use JCA names for block modes, paddings, and digests."
2015-04-13 17:01:30 +00:00
Alex Klyubin
5927c9f1b1
Use JCA names for block modes, paddings, and digests.
...
This replaces int-based enums from KeyStoreKeyConstraints with
String values commonly used in JCA API.
As part of under the hood refactoring:
* KeyStoreKeyCharacteristics and KeyStoreKeyConstraints have been
merged into KeyStoreKeyProperties.
* KeymasterUtils methods operating on KeymasterArguments and
KeymasterCharacteristics have been moved to their respective
classes.
Bug: 18088752
Change-Id: I9c8b984cb3c28184adb617e34d87f2837bd1d3a1
2015-04-13 09:59:04 -07:00
Wale Ogunwale
bd59764a2c
am 8f0e0c1f: Merge "Clean-up state if we have an exception when acquiring provider"
...
* commit '8f0e0c1f3d7c02dff6fe4877477af583e490e6ee':
Clean-up state if we have an exception when acquiring provider
2015-04-13 04:46:31 +00:00
Wale Ogunwale
8f0e0c1f3d
Merge "Clean-up state if we have an exception when acquiring provider"
2015-04-13 04:25:29 +00:00
Shawn Willden
99f4ac1445
am 97fce66f: Merge "Make several key crypto parameters repeatable"
...
* commit '97fce66f7d6c5803dfa49f7ab9a0d9e9b009082f':
Make several key crypto parameters repeatable
2015-04-10 21:51:22 +00:00
Chad Brubaker
59f977c698
Make several key crypto parameters repeatable
...
Bug: 19509156
Change-Id: Ic584d8a6bf5601f9754563b67b3cc6b3ca6b5ff9
2015-04-10 12:20:04 -06:00
Alex Klyubin
c5f9683c06
am a270264c: Merge "Track more changes to keymaster_defs.h"
...
* commit 'a270264c61daa42a5b03bbb1e7f23e77780f8fc0':
Track more changes to keymaster_defs.h
2015-04-10 18:09:27 +00:00
Wale Ogunwale
73e239bdc9
Clean-up state if we have an exception when acquiring provider
...
We can get a number of exceptions (e.g. SecurityException) when
a process is acquiring a provider. We need to clean-up correctly
so that other threads that try to acquire the provider the progress.
Bug: 20122809
Change-Id: Icac1d391df7e8c24198be89035b1c5a23da834cf
2015-04-10 09:32:26 -07:00
Alex Klyubin
55f7c2770f
Track more changes to keymaster_defs.h
...
KeyStoreTest needed to be adjusted because OCB is no longer supported.
Bug: 18088752
Change-Id: I7594daaa5e97423d34726b07cc79e3ee28418d95
2015-04-10 08:58:38 -07:00
Alex Klyubin
5f8c17b9f6
am ba2836e6: Merge "Track recent keymaster_defs.h changes."
...
* commit 'ba2836e6cf5a00855e470705741d9e4b9b1a9df9':
Track recent keymaster_defs.h changes.
2015-04-10 00:22:45 +00:00
Alex Klyubin
862e6c7814
Track recent keymaster_defs.h changes.
...
Bug: 18088752
Change-Id: If47bb7cc7a385941db9f12d478676594e9bc9d86
2015-04-09 16:58:58 -07:00
Richard Uhler
7f7571308d
am f324d245: Merge "Reuse dexopt method for both dex2oat and patchoat."
...
* commit 'f324d245fdd07ac14ab312d1a5fa04a4e8dfcceb':
Reuse dexopt method for both dex2oat and patchoat.
2015-04-09 14:31:10 +00:00
Richard Uhler
f324d245fd
Merge "Reuse dexopt method for both dex2oat and patchoat."
2015-04-09 14:13:29 +00:00
Quddus Chong
b49748cfd3
am 0c5752be: am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev
...
* commit '0c5752be40a9e7ced5be2659965f3c4ba3c3f4eb':
Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873
2015-04-08 18:23:52 +00:00
Quddus Chong
0c5752be40
am c736e8cf: am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev
...
* commit 'c736e8cf41445e7a32721da617d6d7eacd189703':
Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873
2015-04-08 18:11:55 +00:00
Quddus Chong
0e3547bd44
cherrypick from lmp-mr1-dev. Fixed broken link in UiAutomation.setRunAsMonkey() method description.
...
bug: 19711873. Original Change-Id: I4ebb50e03e6e979486ebd3a7c15f21358734574e
Change-Id: I48d1e2f8e1f7d94dffac61a274f9c1a2df31a822
2015-04-08 10:59:27 -07:00
Quddus Chong
c736e8cf41
am f0ab39c1: Merge "Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873" into lmp-mr1-dev
...
* commit 'f0ab39c10b614514ba4a600aa6fd4354253cde73':
Fixed broken link in UiAutomation.setRunAsMonkey() method description. bug: 19711873
2015-04-08 17:53:44 +00:00
Olawale Ogunwale
8ddc3e26e6
am 393f89f2: Merge "[ActivityManager] Avoid NullPointerException if no crash info"
...
* commit '393f89f26df724a3da7a21b28925a21fe5fb253f':
[ActivityManager] Avoid NullPointerException if no crash info
2015-04-08 16:28:52 +00:00
louis_chang
3d86b88fa7
[ActivityManager] Avoid NullPointerException if no
...
crash info
Symptom:
This issue happens because the ANR process got killed
(because it crashed) before the ANR dialog dismissed.
In that case, the process record is marked as crashed
(ProcessRecord.crashing = true). When the ANR dialog
dismissed by user, it will cause NullPointerException
when writeToParcel while performing IPC because there
is no crash info (ApplicationErrorReport.crashInfo = null)
Solution:
Check crashinfo before access it
Change-Id: I2995de57684c1e13aab8297f5eea1e82ca3b7ad8
2015-04-08 18:04:11 +08:00
Romain Guy
e4d787b277
am 80e455e3: Merge "Prevent possible memory leak in SpanSet"
...
* commit '80e455e32580fb909af18ad0a21fccc6b433dd4b':
Prevent possible memory leak in SpanSet
2015-04-08 07:14:35 +00:00
Romain Guy
80e455e325
Merge "Prevent possible memory leak in SpanSet"
2015-04-08 06:56:26 +00:00
Adam Powell
da1bc60574
am 7a3c8c70: Merge "Fixed memory leak in ExtractEditLayout finish()"
...
* commit '7a3c8c70a6c745aa2559a7f769528774021b62a6':
Fixed memory leak in ExtractEditLayout finish()
2015-04-07 21:23:58 +00:00
Adam Powell
947b5029e5
am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condition."
...
* commit '8391e03b7ef20f22ffc31da43e01b2fb8d1ec00a':
ProgressBar: Fix error of process bar cannot update on some condition.
2015-04-07 21:23:50 +00:00
Tim Murray
d782c57d37
am 5352411a: Merge "Move cache dir to its own class."
...
* commit '5352411a8c41dd1c3c51a28cdd0b09f42e246b33':
Move cache dir to its own class.
2015-04-07 20:59:39 +00:00
Adam Powell
7a3c8c70a6
Merge "Fixed memory leak in ExtractEditLayout finish()"
2015-04-07 20:56:49 +00:00