97150 Commits

Author SHA1 Message Date
Baligh Uddin
4668391b27 am 497a40e0: Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
* commit '497a40e0b274ecdbc7dd8e771ded57be9f0b6727':
  Import translations. DO NOT MERGE
2012-11-29 21:04:54 -08:00
Baligh Uddin
2138e5c0f6 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-11-29 21:03:06 -08:00
Baligh Uddin
497a40e0b2 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-11-29 21:02:10 -08:00
Matthew Xie
d77982ef29 Clean up debug messages
bug 7626174

Change-Id: I65cdcaf2c48a78468b6cef0b8591289435068b24
2012-11-29 20:26:19 -08:00
Scott Main
4fc2497f29 am d974fb46: am ddf9c3fd: am 48e794da: am 9748abb6: docs: add maps v2 announcement
* commit 'd974fb46b8dc353e53f89015f1b8bbd1a9295499':
  docs: add maps v2 announcement
2012-11-29 19:12:03 -08:00
Scott Main
d974fb46b8 am ddf9c3fd: am 48e794da: am 9748abb6: docs: add maps v2 announcement
* commit 'ddf9c3fdce00ee37e0f100c7890d4d8f520b1809':
  docs: add maps v2 announcement
2012-11-29 19:08:55 -08:00
Scott Main
ddf9c3fdce am 48e794da: am 9748abb6: docs: add maps v2 announcement
* commit '48e794dac4135a626b8b2135874331ffe3ace34f':
  docs: add maps v2 announcement
2012-11-29 19:07:26 -08:00
Scott Main
48e794dac4 am 9748abb6: docs: add maps v2 announcement
* commit '9748abb66865849840f9d36d7ab68eae0ce7357c':
  docs: add maps v2 announcement
2012-11-29 19:05:20 -08:00
Scott Main
9748abb668 docs: add maps v2 announcement
Change-Id: Ibf9b7ac02ffc8f70b48bcede4df929ec089108c5
2012-11-29 18:24:56 -08:00
Dianne Hackborn
00d6a76c3d am a55097f8: am ed74c10f: am aae329ef: Merge "Don\'t apply transformation fudge when not rotating." into jb-mr1.1-dev
* commit 'a55097f8bb7871ef909c7005b6fa1b6b7cf06b16':
  Don't apply transformation fudge when not rotating.
2012-11-29 18:01:07 -08:00
Dianne Hackborn
a55097f8bb am ed74c10f: am aae329ef: Merge "Don\'t apply transformation fudge when not rotating." into jb-mr1.1-dev
* commit 'ed74c10f135c768b24c4b1a14042b8292a9662fa':
  Don't apply transformation fudge when not rotating.
2012-11-29 17:59:30 -08:00
Dianne Hackborn
ed74c10f13 am aae329ef: Merge "Don\'t apply transformation fudge when not rotating." into jb-mr1.1-dev
* commit 'aae329ef0f68e30897faef55c86548dab0eadf37':
  Don't apply transformation fudge when not rotating.
2012-11-29 17:56:58 -08:00
Dianne Hackborn
aae329ef0f Merge "Don't apply transformation fudge when not rotating." into jb-mr1.1-dev 2012-11-29 17:53:47 -08:00
Dianne Hackborn
4b16969b00 Don't apply transformation fudge when not rotating.
There is this stupid fudge factor applied to window transformations
when doing a screen rotation animation.  We need this when rotating,
but when not rotating it causes very visible artifacts.  Historically
the non-rotation case only happened due to configuration changes, so
wasn't that big a deal.  Now however that we use this when switching
users, it is more annoying.  So get rid of it for such cases.

Change-Id: I6b343866c1bad9b16984b4a629917c2f1bb37b9e
2012-11-29 17:51:24 -08:00
Eric Laurent
05274f348e AudioService: improve initial safe volume delay
AudioService relies on a valid mmc in order to enforce the headset
volume limitation or not. There is a timeout to enforce the limitation
if no mcc is configured after boot.
Until this timeout is reached or a valid SIM is detected the headset
volume is not limited.

This change makes that the last known volume limitation state (enforced or
not) is persisted so that next time we boot, last known state is applied until
a new mcc is configured if any. In most cases, the mcc does not change from one
boot to the next and we do the right thing. If teh mcc does change, the correct
policy will be enforced when the mcc is detected or after the timeout.

Also fix a bug where the volume panel was not displayed if the limitation mechanism
is triggered at the first press on VOL+ key.

Bug 7455275.

Change-Id: Id0f2996d893d38c6a14f4f9e4a0e9e3be17ef127
2012-11-29 17:46:05 -08:00
Dianne Hackborn
db69db1510 am b8d8562c: am 40ca751b: am ebec2315: Merge "Always report user switched after unfreezing screen." into jb-mr1.1-dev
* commit 'b8d8562cc36e5ab2f8b8c5adfd8d4839fe0909d3':
  Always report user switched after unfreezing screen.
2012-11-29 16:47:16 -08:00
Dianne Hackborn
b8d8562cc3 am 40ca751b: am ebec2315: Merge "Always report user switched after unfreezing screen." into jb-mr1.1-dev
* commit '40ca751ba0980685ce03bc3b6877b5f8163b30a5':
  Always report user switched after unfreezing screen.
2012-11-29 16:44:14 -08:00
Dianne Hackborn
40ca751ba0 am ebec2315: Merge "Always report user switched after unfreezing screen." into jb-mr1.1-dev
* commit 'ebec2315353941890471aa901e87f19f681d007a':
  Always report user switched after unfreezing screen.
2012-11-29 16:41:44 -08:00
Dianne Hackborn
ebec231535 Merge "Always report user switched after unfreezing screen." into jb-mr1.1-dev 2012-11-29 16:38:23 -08:00
Dianne Hackborn
6c5406acd7 Maybe fix issue : Frequent runtime restarts; IAE at...
...android.os.Parcel.nativeAppendFrom(Native Method)

The failing stack trace is:

11-20 20:29:04.365 19154 19170 E AndroidRuntime: java.lang.IllegalArgumentException
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.nativeAppendFrom(Native Method)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.appendFrom(Parcel.java:428)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Bundle.writeToParcel(Bundle.java:1613)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeBundle(Parcel.java:605)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.location.Location.writeToParcel(Location.java:903)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeParcelable(Parcel.java:1254)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeValue(Parcel.java:1173)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeMapInternal(Parcel.java:591)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Bundle.writeToParcel(Bundle.java:1619)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeBundle(Parcel.java:605)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.location.Location.writeToParcel(Location.java:903)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeParcelable(Parcel.java:1254)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeValue(Parcel.java:1173)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeMapInternal(Parcel.java:591)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Bundle.writeToParcel(Bundle.java:1619)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeBundle(Parcel.java:605)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.content.Intent.writeToParcel(Intent.java:6660)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.app.ApplicationThreadProxy.scheduleReceiver(ApplicationThreadNative.java:763)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at com.android.server.am.BroadcastQueue.processCurBroadcastLocked(BroadcastQueue.java:230)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at com.android.server.am.BroadcastQueue.processNextBroadcast(BroadcastQueue.java:777)

This is odd because where we do Bundle.writeToParcel(), we are just writing the Parcel
we have with its current length.  There is no way this should be able to fail like this...
unless the Bundle is changed while we are running?

Hm.

It looks like the location manager is holding on to Location objects which have a
Bundle of extras.  It is that Bundle of extras that the crash is happening on.
And the bundle extras can be changed as it operates.  And there are places where
the raw Location object is returned from the location manager, which means the
caller can be olding on to a Location object whose extras can be changed at any
time by other threads in the location manager.

So that seem suspicious.

This change should take care of all these places in the location manager, by
making sure to copy the location object before it goes out of the location
manager.

In addition, add some code to the activity manager to not bring down the entire
system if there is a problem trying to send one of these broadcasts.  There is
no need, we can just skip the broadcast as bad.

Change-Id: I3043c1e06f9d2931a367f831b6a970d71b0d0621
2012-11-29 16:33:54 -08:00
Zhihai Xu
c5ade09425 am 1d8ea036: am ec7a8b6f: am e1a867f6: Merge " BluetoothManagerService call should allow SYSTEM_UID" into jb-mr1.1-dev
* commit '1d8ea0360923a6dfe84c08806cb69d257bdbbbfe':
  BluetoothManagerService call should allow SYSTEM_UID
2012-11-29 16:10:27 -08:00
Zhihai Xu
1d8ea03609 am ec7a8b6f: am e1a867f6: Merge " BluetoothManagerService call should allow SYSTEM_UID" into jb-mr1.1-dev
* commit 'ec7a8b6f74f73738586413875fa8f7cc27c4e8f7':
  BluetoothManagerService call should allow SYSTEM_UID
2012-11-29 16:08:28 -08:00
Winson Chung
ede31a6897 am e6dc0139: am c93d558a: am 818b2f34: Merge "Fixing issue where you can still click on a widget on a side page. (Bug 7568412)" into jb-mr1.1-dev
* commit 'e6dc013913111a0f94e8fd8201311a022295cd3d':
  Fixing issue where you can still click on a widget on a side page. (Bug 7568412)
2012-11-29 16:06:44 -08:00
Zhihai Xu
ec7a8b6f74 am e1a867f6: Merge " BluetoothManagerService call should allow SYSTEM_UID" into jb-mr1.1-dev
* commit 'e1a867f68d3727908be1c2cfc90a5ba6a5785c17':
  BluetoothManagerService call should allow SYSTEM_UID
2012-11-29 16:06:17 -08:00
Winson Chung
e6dc013913 am c93d558a: am 818b2f34: Merge "Fixing issue where you can still click on a widget on a side page. (Bug 7568412)" into jb-mr1.1-dev
* commit 'c93d558a53424f625129a9da2ece376a52896854':
  Fixing issue where you can still click on a widget on a side page. (Bug 7568412)
2012-11-29 16:04:49 -08:00
Zhihai Xu
e1a867f68d Merge " BluetoothManagerService call should allow SYSTEM_UID" into jb-mr1.1-dev 2012-11-29 16:03:49 -08:00
Winson Chung
c93d558a53 am 818b2f34: Merge "Fixing issue where you can still click on a widget on a side page. (Bug 7568412)" into jb-mr1.1-dev
* commit '818b2f341c7a5afc08c6d1d26469101f3885def0':
  Fixing issue where you can still click on a widget on a side page. (Bug 7568412)
2012-11-29 16:01:34 -08:00
Winson Chung
818b2f341c Merge "Fixing issue where you can still click on a widget on a side page. (Bug 7568412)" into jb-mr1.1-dev 2012-11-29 15:59:45 -08:00
Michael Jurka
223172045f am 4ed32c24: am d2de8033: am a8d63ec9: Merge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev
* commit '4ed32c248a70fb3ab4d36def8f73e5b88b7fc3d5':
  Disable adding keyguard widgets until setup is done
2012-11-29 15:58:14 -08:00
Michael Jurka
4ed32c248a am d2de8033: am a8d63ec9: Merge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev
* commit 'd2de8033a304e951426e66e1f2c800402271c5e3':
  Disable adding keyguard widgets until setup is done
2012-11-29 15:56:34 -08:00
Michael Jurka
d2de8033a3 am a8d63ec9: Merge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev
* commit 'a8d63ec9f328e56d9ccad385f137a30fa104c1a7':
  Disable adding keyguard widgets until setup is done
2012-11-29 15:54:47 -08:00
Michael Jurka
a8d63ec9f3 Merge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev 2012-11-29 15:51:13 -08:00
The Android Open Source Project
f679b81026 am 5196cb6f: (-s ours) Reconcile with jb-mr1.1-release - do not merge
* commit '5196cb6fa097e856d10671bc545776b13102770b':
  trigger kernel blocked stack trace on system server watchdog
2012-11-29 15:47:09 -08:00
Zhihai Xu
6eb7652b04 BluetoothManagerService call should allow SYSTEM_UID
bug 7561429

Change-Id: I1483bfe1361f71c7ae3529ea496b33504b95413e
2012-11-29 15:41:04 -08:00
The Android Open Source Project
5196cb6fa0 Reconcile with jb-mr1.1-release - do not merge
Change-Id: Ib7a3e7b3af9ef848b763cf498c6757ad5658fc80
2012-11-29 15:41:04 -08:00
Dianne Hackborn
4d78abfca7 Always report user switched after unfreezing screen.
Change-Id: I58172896892a07e72a3430e56e4d2944d388c7c9
2012-11-29 15:10:18 -08:00
Robert Ly
1543fcdf9c am 8f0f9514: am 8569af30: am 5915f61e: am 830b23b7: docs: gms javadocs
* commit '8f0f95141875ed7451133b5dc39da68f9f9a54e4':
  docs: gms javadocs
2012-11-29 14:34:05 -08:00
Robert Ly
721db20c12 am d88e1a1f: am a93d0e09: am 64208d23: am aae17137: docs: update gms toc and landing pages
* commit 'd88e1a1f78c46214a27c9154f277593de8016777':
  docs: update gms toc and landing pages
2012-11-29 14:33:58 -08:00
Robert Ly
d1776219e1 am 8587f04c: am 206979c9: am 8f1371af: am 64e4ed8d: Merge "docs: fix bug 7628699" into jb-mr1-dev
* commit '8587f04caef5a24f209b178b3906c031517e9aec':
  docs: fix bug 7628699
2012-11-29 14:33:53 -08:00
Colin Cross
5a160856b7 am 372bb238: am 418af932: am 05db19bc: Merge "trigger kernel blocked stack trace on system server watchdog" into jb-mr1.1-dev
* commit '372bb2380d4a466196aa2b6142111f1c84abd1a5':
  trigger kernel blocked stack trace on system server watchdog
2012-11-29 14:33:48 -08:00
Dianne Hackborn
5c1eb690bb am 84ea428d: am ed8c323a: am 38e84700: Merge "Fix issue : When changing the font settings, the movie..." into jb-mr1.1-dev
* commit '84ea428d24dedc4b9a44bf6b2c9419b3545a03b8':
  Fix issue : When changing the font settings, the movie...
2012-11-29 14:33:44 -08:00
John Spurlock
dd24523f5e am a3aef5ff: am 43658bae: am 143d73da: Merge "Fix multiuser bug in StatusBarManagerService." into jb-mr1.1-dev
* commit 'a3aef5ff62e1dbdf85c3a7498202d04c808a92da':
  Fix multiuser bug in StatusBarManagerService.
2012-11-29 14:33:41 -08:00
John Spurlock
0313864236 am 721aaead: am 1428384c: am 958343c1: Merge "Fix for navbar back/home appearing in keyguard (multiuser)." into jb-mr1.1-dev
* commit '721aaead07c162ad745e5ed4d7e549f89c8b9a60':
  Fix for navbar back/home appearing in keyguard (multiuser).
2012-11-29 14:33:37 -08:00
Scott Main
292624d8ae am 35837ebb: am 3aabc564: am bf0e87a4: am 77ea05d0: Merge "docs: update landing page for Google Services" into jb-mr1-dev
* commit '35837ebb0c0b6ae83c2d05a6138e7aff1605013d':
  docs: update landing page for Google Services
2012-11-29 14:33:33 -08:00
Daniel Sandler
7d77752754 am e196eb76: am a8a63dd7: am 154e2d7d: Merge "Flush the clock format when the locale changes." into jb-mr1.1-dev
* commit 'e196eb76428976df1bf5ee75ff81bdaa30d796b6':
  Flush the clock format when the locale changes.
2012-11-29 14:33:30 -08:00
Victoria Lease
aee37a30df am a5fa0495: am 4b77660b: am 7023b3b0: Merge "clarify Geofence.createCircle() param ranges" into jb-mr1.1-dev
* commit 'a5fa049562333ad154c38e47d0ec7845941d6c21':
  clarify Geofence.createCircle() param ranges
2012-11-29 14:33:26 -08:00
Christopher Tate
82b4241ffc am 45972e7c: am fac7b0a6: am 5f958e9b: am 67b38c44: Cache resource ID lookups in aapt
* commit '45972e7cf03ae95c4829f9d5a819870d5d609310':
  Cache resource ID lookups in aapt
2012-11-29 14:33:23 -08:00
Craig Mautner
a2c5eabc8d am d08fc869: (-s ours) am 4317b341: am 24d966a3: Merge "Fix math errors causing black screen. DO NOT MERGE" into jb-mr1.1-dev
* commit 'd08fc869646f272b9fd49d66293dcea7d29d6c88':
  Fix math errors causing black screen. DO NOT MERGE
2012-11-29 14:33:19 -08:00
zzy
0a3b9017ed am de95a276: am 3fe63ce4: am 652678af: timeout support for accept() and added check for signal size
* commit 'de95a276e7caf3b9918c21a4f43f91c7c25b3a6b':
  timeout support for accept() and added check for signal size
2012-11-29 14:33:14 -08:00
Fabrice Di Meglio
0feedf9982 am cd91470a: am 146b1290: am cdc6d5cf: Merge "Fix bug RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev
* commit 'cd91470aad09ee7b501ed1d585b9a23f66a718b6':
  Fix bug  RelativeLayout is not having the correct width when in RTL mode
2012-11-29 14:33:10 -08:00