Deepanshu Gupta
13aea18b34
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
...
If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.
Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
(cherry picked from commit 0acfb16dcd95468fe032204f54618e86becfd1eb)
2014-02-19 20:17:00 +00:00
Adam Lesinski
1c532c2e2d
am 4b07b26e: Merge "Make UsbService optional" into klp-modular-dev
...
* commit '4b07b26e8654df52ca80bb2165ebdf9352ab9337':
Make UsbService optional
2014-02-19 19:41:26 +00:00
Adam Lesinski
04520a01b8
am 6feaa267: Merge "Add fastpath for single signature comparison" into klp-modular-dev
...
* commit '6feaa267a585f22595f846c9e3d09a76dc3db47a':
Add fastpath for single signature comparison
2014-02-19 19:41:23 +00:00
Adam Lesinski
4b07b26e86
Merge "Make UsbService optional" into klp-modular-dev
2014-02-19 19:38:34 +00:00
Adam Lesinski
6feaa267a5
Merge "Add fastpath for single signature comparison" into klp-modular-dev
2014-02-19 19:38:17 +00:00
Mike Lockwood
c62f918e0e
UsbDeviceManager: Fix race condition entering USB accessory mode
...
When switching USB modes there are often spurious connect and disconnect events
that occur before reenumeration is complete. There is currently a 1000ms timer
to "debounce" the disconnect events. But with some USB accessories, this timeout
is not long enough, which results in an endless cycle of attempts to enter
USB accessory mode when the phone is connected.
To fix this, we now wait up to 10 seconds for the host to successfully configure
the device when entering USB accessory mode before giving up.
This is separate from the existing debounce timer, so the behavior of the
USB state change broadcasts are not affected.
Bug: 12877769
Change-Id: I7aa61f8a618546d749a7ddfc97bf103029a73d03
2014-02-19 11:23:19 -08:00
Craig Mautner
a1baf02884
am 23ef1b5e: am 16ea3e6a: Merge "A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one."
...
* commit '23ef1b5e0b84e3bb726454b97846f91f2efad212':
A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one.
2014-02-19 16:29:01 +00:00
Narayan Kamath
41dd75f813
am 96ddea41: am 7c710936: Merge "Remove java.io.tmpdir assignment in AndroidRuntime."
...
* commit '96ddea413dcf266d996877d3fc2d81738c5316c8':
Remove java.io.tmpdir assignment in AndroidRuntime.
2014-02-19 16:28:56 +00:00
Craig Mautner
23ef1b5e0b
am 16ea3e6a: Merge "A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one."
...
* commit '16ea3e6a5b37dc436d1089996004bcae12f5e3b0':
A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one.
2014-02-19 08:26:15 -08:00
Narayan Kamath
96ddea413d
am 7c710936: Merge "Remove java.io.tmpdir assignment in AndroidRuntime."
...
* commit '7c710936c5129664f8b23bf4592c12eca975d229':
Remove java.io.tmpdir assignment in AndroidRuntime.
2014-02-19 08:26:07 -08:00
Craig Mautner
16ea3e6a5b
Merge "A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one."
2014-02-19 15:36:01 +00:00
Narayan Kamath
7c710936c5
Merge "Remove java.io.tmpdir assignment in AndroidRuntime."
2014-02-19 14:24:48 +00:00
John Spurlock
01573b5011
am 469301f7: am 9dd87081: am 99873565: am ba231fca: Fix bad @links in PendingIntent.java
...
* commit '469301f7edf2201fdbac217fb0ae49652fa9466c':
Fix bad @links in PendingIntent.java
2014-02-19 13:54:13 +00:00
John Spurlock
469301f7ed
am 9dd87081: am 99873565: am ba231fca: Fix bad @links in PendingIntent.java
...
* commit '9dd87081e4bea9cd48db35fa82b3adeda37a34b5':
Fix bad @links in PendingIntent.java
2014-02-19 13:51:00 +00:00
John Spurlock
9dd87081e4
am 99873565: am ba231fca: Fix bad @links in PendingIntent.java
...
* commit '998735652d2449e3ccbac7686b71bf40dca06e94':
Fix bad @links in PendingIntent.java
2014-02-19 13:47:52 +00:00
John Spurlock
998735652d
am ba231fca: Fix bad @links in PendingIntent.java
...
* commit 'ba231fcabfdf8f8bd72dbb428b8d35ae14a1a14d':
Fix bad @links in PendingIntent.java
2014-02-19 13:44:14 +00:00
Calin Juravle
78f522d16e
am 7a4172d1: am f11cc165: Merge "Fixed a possible infinite loop in JsonReader#skipValue()"
...
* commit '7a4172d190871c6b17124bf86374304cef727984':
Fixed a possible infinite loop in JsonReader#skipValue()
2014-02-19 11:21:58 +00:00
Calin Juravle
7a4172d190
am f11cc165: Merge "Fixed a possible infinite loop in JsonReader#skipValue()"
...
* commit 'f11cc165f4d6e18d79ce013fa2f74fb43e002ac1':
Fixed a possible infinite loop in JsonReader#skipValue()
2014-02-19 03:18:06 -08:00
Calin Juravle
f11cc165f4
Merge "Fixed a possible infinite loop in JsonReader#skipValue()"
2014-02-19 11:15:00 +00:00
Junu Kim
fcb87369b1
A background started service is removed from mStartingBackground when timeout.
...
Fix is to make sure mStartingBackground is updated to remove one.
Change-Id: I0e42beb550d33e6e400349b85bbb89848e18d520
2014-02-19 16:25:21 +09:00
Justin Koh
b5731f091c
Add hardware feature describing a watch.
...
Add hardware feature describing a watch so that hardware can specify that
it is a device that is worn on the body (perhaps the wrist).
Change-Id: I9d4cb7e86067f6ad41b39bcc545222b3b0fbf890
2014-02-18 18:12:24 -08:00
Craig Mautner
1bf3795798
am db0f3e82: Merge "Allow "opaque" flag to be updated. DO NOT MERGE" into klp-modular-dev
...
* commit 'db0f3e825fb4da01f887c41a877708734b0899e3':
Allow "opaque" flag to be updated. DO NOT MERGE
2014-02-18 23:59:42 +00:00
Craig Mautner
71dd1b6343
Set the new SurfaceControl opaque flag.
...
Converts surfaces from transparent to opaque and opaque to transparent
without creating a new surface. Uses the new SurfaceControl.setOpaque
method.
Fixes bug 12387406.
Change-Id: I669c064e622e211b00b1585183a488d5b3f4b778
2014-02-18 15:59:23 -08:00
Craig Mautner
db0f3e825f
Merge "Allow "opaque" flag to be updated. DO NOT MERGE" into klp-modular-dev
2014-02-18 23:56:53 +00:00
Andy McFadden
4f0a80d0b8
Allow "opaque" flag to be updated. DO NOT MERGE
...
Added a setOpaque() call and a bunch of comments.
Bug 12387406
Change-Id: Ic066cba926223f22f9bc56a7013987001d9cc795
2014-02-18 15:54:24 -08:00
Adam Lesinski
f5b3a01e54
Add fastpath for single signature comparison
...
PackageManager does not need to create a hash set
when comparing two sets of signatures, where each set
contains one signature. This is the common case for
most applications.
Bug:13029313
Change-Id: I61883d85960db7b376e234d7abae6149c4d20245
2014-02-18 15:31:41 -08:00
Adam Lesinski
2ea983a567
am 3d9bcb90: Create FEATURE_ constants for print and backup
...
* commit '3d9bcb90ee6c0ffff93642539ae64fb672c7f14a':
Create FEATURE_ constants for print and backup
2014-02-18 22:57:37 +00:00
Adam Lesinski
2cb6c60c0d
Make UsbService optional
...
Tweaked the services Android.mk to build dependencies
when building with mm[m].
Change-Id: I6dad511c652bcacc085f27ede5f8f22a6982c6bd
2014-02-18 14:57:09 -08:00
Adam Lesinski
3d9bcb90ee
Create FEATURE_ constants for print and backup
...
Bug:13079822
Change-Id: I6f4b759951d45989e8aad4011fae431ee2ecae0c
2014-02-18 14:33:00 -08:00
Hui Lu
a24bec32bd
Reconnect/teardown proxy network connectivity.
...
Change-Id: I9bf6f96883a2151fceef788e65d9a767d0f52c69
2014-02-18 16:52:36 -05:00
Calin Juravle
8fbcc6b4cd
Fixed a possible infinite loop in JsonReader#skipValue()
...
Bug: https://code.google.com/p/android/issues/detail?id=65846
Change-Id: Idaa0e75fc5612550c4b9ccb9afa5535ea5b189df
2014-02-18 19:19:15 +00:00
John Spurlock
ba231fcabf
Fix bad @links in PendingIntent.java
...
Change-Id: I0a0014e17907f5cf16c3536a99e41efa9dafc963
2014-02-18 13:19:57 -05:00
Jeff Sharkey
37d894a42b
am 660a514e: am 60097a9c: Merge "Structure device not freed in error case"
...
* commit '660a514e80e0019d8c6632e84bd03491722fc2ab':
Structure device not freed in error case
2014-02-18 17:19:38 +00:00
Jeff Sharkey
660a514e80
am 60097a9c: Merge "Structure device not freed in error case"
...
* commit '60097a9c5a7214cb73d0bc966adef767743f8798':
Structure device not freed in error case
2014-02-18 09:16:31 -08:00
Jeff Sharkey
41185c844f
am df47ecaa: am 02a64dae: Merge "Tethering: Skip link local addresses when enabling NAT"
...
* commit 'df47ecaa0973b80c9b97ef9ed3ad7abcfef361c7':
Tethering: Skip link local addresses when enabling NAT
2014-02-18 17:15:44 +00:00
Jeff Sharkey
96190f1c05
am e6d256c5: am 234b0b03: Merge "Fix, MountService now only sends one onShutDownComplete"
...
* commit 'e6d256c50b0709378a5bfff0ae27eb7cf6cc3894':
Fix, MountService now only sends one onShutDownComplete
2014-02-18 17:15:39 +00:00
Jeff Sharkey
df47ecaa09
am 02a64dae: Merge "Tethering: Skip link local addresses when enabling NAT"
...
* commit '02a64daefece8ccdc40935c7bc865a8966249c44':
Tethering: Skip link local addresses when enabling NAT
2014-02-18 09:13:00 -08:00
Jeff Sharkey
e6d256c50b
am 234b0b03: Merge "Fix, MountService now only sends one onShutDownComplete"
...
* commit '234b0b037ee1f8dc50c846279216a8e4d779ff56':
Fix, MountService now only sends one onShutDownComplete
2014-02-18 09:12:57 -08:00
Jeff Sharkey
60097a9c5a
Merge "Structure device not freed in error case"
2014-02-18 17:12:14 +00:00
Jeff Sharkey
02a64daefe
Merge "Tethering: Skip link local addresses when enabling NAT"
2014-02-18 17:11:10 +00:00
Jeff Sharkey
234b0b037e
Merge "Fix, MountService now only sends one onShutDownComplete"
2014-02-18 17:10:02 +00:00
Brice Jaglin
8554a0933b
Fixed upgrading from forward-lock application to system application
...
Fixes the case when the app on system is newer than the
currently installed. Something that can happen e.g. after
a FOTA update.
Change-Id: I102e9cdd5693d5e66667c0c8989dc2643c72dd16
2014-02-18 14:37:09 +01:00
Narayan Kamath
37e6af75e1
am 92a09fbd: am a14d9c31: Merge "Move Json{Reader,Writer} test to cts."
...
* commit '92a09fbdebae5362633db281bc155ed1f1145588':
Move Json{Reader,Writer} test to cts.
2014-02-17 18:27:13 +00:00
Narayan Kamath
92a09fbdeb
am a14d9c31: Merge "Move Json{Reader,Writer} test to cts."
...
* commit 'a14d9c318a1d358902a76aff733303c5509bb5fc':
Move Json{Reader,Writer} test to cts.
2014-02-17 10:23:56 -08:00
Narayan Kamath
a14d9c318a
Merge "Move Json{Reader,Writer} test to cts."
2014-02-17 18:20:34 +00:00
Narayan Kamath
94ccb6bf95
Move Json{Reader,Writer} test to cts.
...
These tests aren't really run automatically (or perhaps
even manually) in their present location, and increasing
CTS coverage is never a bad thing.
Change-Id: I81cce1211021011dca551fde62e725e177ca4df0
2014-02-17 17:51:43 +00:00
Narayan Kamath
8c1fc83445
am 28879bbf: am be57fca4: Merge "Extended locales in AAPT / AssetManager."
...
* commit '28879bbfe89dc4bf2067a7183975ecffb82f68e6':
Extended locales in AAPT / AssetManager.
2014-02-17 11:06:38 +00:00
Narayan Kamath
982931c72b
am 183e5e03: am 49024bac: Merge "AssetManager support for 3 letter lang/country codes."
...
* commit '183e5e038bd844ac415b14f22df5c476732066c8':
AssetManager support for 3 letter lang/country codes.
2014-02-17 11:06:31 +00:00
Narayan Kamath
28879bbfe8
am be57fca4: Merge "Extended locales in AAPT / AssetManager."
...
* commit 'be57fca41a731217010d9f92554cf48708b06ecf':
Extended locales in AAPT / AssetManager.
2014-02-17 03:03:49 -08:00
Narayan Kamath
183e5e038b
am 49024bac: Merge "AssetManager support for 3 letter lang/country codes."
...
* commit '49024bacf63db39467e7f318c682ad771ec0de22':
AssetManager support for 3 letter lang/country codes.
2014-02-17 03:03:46 -08:00