82535 Commits

Author SHA1 Message Date
Svetoslav Ganov
758143ecfe Window position not reported if the window is not moved.
1.If a window is shown but never moved the window window
  is never notified for its current location. Therefore,
  accessibility nodes do not contain correct bounds in
  screen coordinates.

bug:6926295

Change-Id: I7df18b095d33ecafffced75aba9e4f4693b0c393
2012-08-06 23:49:38 -07:00
Mathias Agopian
4cb3384772 Merge "libutils cleanup" into jb-mr1-dev 2012-08-06 13:12:28 -07:00
Daniel Sandler
f6a341248d Move lots of layout-port/ resources to layout/ .
The framework is no longer letting us skate by without a
default (unqualified) for of each resource; in particular,
the land/port aspect of the configuration appears to be
binding much later than it used to.

Bug: 6937365
Change-Id: I6bf72c76e707548168fefa9466dc196ffde33ab3
2012-08-06 15:29:09 -04:00
Jeff Sharkey
bec1d13da2 Merge "Make generic BaseNetworkObserver." into jb-mr1-dev 2012-08-05 14:58:13 -07:00
Jeff Sharkey
9c5c659597 Merge "Make LocalSocket Closeable." into jb-mr1-dev 2012-08-05 14:55:28 -07:00
Jeff Sharkey
216c181e76 Make generic BaseNetworkObserver.
This makes it easier to add new INetworkManagementEventObserver events
in future.

Change-Id: I432263d745558de4b878f313c1951230ed9db2b1
2012-08-05 14:32:41 -07:00
Jeff Sharkey
065b299df4 Make LocalSocket Closeable.
Enables usage of IoUtils.closeQuietly().

Change-Id: I91126297c1f235ae9da09f82d8f4f22db46558eb
2012-08-05 14:21:07 -07:00
Mathias Agopian
69a3ce1eb1 libutils cleanup
Change-Id: Ic069539338ba4097dba9399904f02bbd0296c20e
2012-08-05 12:38:51 -07:00
Wink Saville
fe33a09a3f am 8f82961f: am 98853623: Merge "Telephony: Move AdnRecord.aidl into opt/telephony"
* commit '8f82961f5ace376cb2f888f8d4e53fe8a49f7315':
  Telephony: Move AdnRecord.aidl into opt/telephony
2012-08-04 08:12:52 -07:00
Wink Saville
bb01fd0111 am 1971df5d: am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit '1971df5d4296f077cccff704201057a32b733235':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:12:48 -07:00
Wink Saville
8f82961f5a am 98853623: Merge "Telephony: Move AdnRecord.aidl into opt/telephony"
* commit '98853623bcb27155e9b030301a0cb2a987cfc612':
  Telephony: Move AdnRecord.aidl into opt/telephony
2012-08-04 08:07:54 -07:00
Wink Saville
1971df5d42 am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit 'e20a19cb541f8621f04be0f3d3501f2fc51a0e82':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:07:49 -07:00
Wink Saville
98853623bc Merge "Telephony: Move AdnRecord.aidl into opt/telephony" 2012-08-04 07:54:35 -07:00
Wink Saville
e20a19cb54 Merge "show 3G icon for CDMA/1xRTT" 2012-08-04 07:51:27 -07:00
Craig Mautner
b49a065d99 Fix build with density methods.
Change-Id: I95c0a4f12db40f200a3a004394763beaef904232
2012-08-03 19:03:24 -07:00
Craig Mautner
cbb6b41aef Merge "Do not use last app rotation as default." into jb-mr1-dev 2012-08-03 18:07:52 -07:00
Raph Levien
b79413e92d Merge "Fix bug 6930875: ArrayIndexOutOfBoundsException on Battery details" into jb-mr1-dev 2012-08-03 18:00:53 -07:00
Romain Guy
da806b5c5f Merge "Bowing my head in shame Bug #6924514" into jb-mr1-dev 2012-08-03 17:46:27 -07:00
Dianne Hackborn
2e5746a7a8 Merge "We can now (kind-of) change screen density on the fly." into jb-mr1-dev 2012-08-03 17:45:52 -07:00
Romain Guy
8801b2fef3 Bowing my head in shame
Bug #6924514

Change-Id: Ifcc08fb5dbaf3f9c6ac3a3e618db2fd6349dc290
2012-08-03 17:43:31 -07:00
Dianne Hackborn
dde331cebd We can now (kind-of) change screen density on the fly.
Preloaded drawables now have a density associated with them, so we
can load the correct drawable if we are using a different density.

Window manager now formally keeps track of the density for each
screen, allowing it to be overridden like you can already do with
size, and relies on this density to drive itself internally and
the configurations it reports.

There are a new set of Bitmap constructors where you provide a
DisplayMetrics so they can be constructed with the correct density.
(This will be for when you can have different windows in the same
app running at different densities.)

ActivityThread now watches for density changes, and pushes them
to the DENSITY_DEVICE and Bitmap global density values for that
process.

A new am command allows you to change the density.
2012-08-03 17:27:29 -07:00
Romain Guy
c09211911c Use correct color for default holo gradient
Change-Id: I7976c8d986da69dd312fe28cc6d88fc896bdf926
2012-08-03 17:21:04 -07:00
Alex Yakavenka
7b3b02cb53 Telephony: Move AdnRecord.aidl into opt/telephony
Change-Id: Ib22f3e777f1cd39fb6da5b907bcec57c2c66ce3a
2012-08-03 16:47:51 -07:00
Romain Guy
5e80cacfad Replace stretched background textures with real gradients
Change-Id: I320733aaef191318d32fa823d9a6140585f49417
2012-08-03 16:17:14 -07:00
Romain Guy
18edb81172 Avoid crash when dumping display lists
We recently changed the drawText implementation to accept more parameters
which were not taken into account during a dump operation.

Change-Id: Ia1dc682dc7bb2bb02a1f4a514ed5af5556f92a97
2012-08-03 16:08:56 -07:00
Craig Mautner
4bd149ef83 Do not use last app rotation as default.
If the rotation sensor has been disabled we were substituting the
last app rotation for the sensor value. This fix uses the last
sensor value delivered before the sensor was disabled. Only use
the last app rotation if we never have received a valid sensor
value.

Fixes bug 6387946.

Change-Id: I50743c30ee2b4455e9848d3a619809be97eec3c8
2012-08-03 14:47:24 -07:00
Raph Levien
4c7a4a7767 Fix bug 6930875: ArrayIndexOutOfBoundsException on Battery details
The wrong constant was used to count the number of user activity types.
The number of types changed recently, so before then nothing bad
happened. Now we get an AIOOB.

This is the change to NUM_USER_ACTIVITY_TYPES:

Change-Id: I05045180129b30fa09fe5f5e1e3b0ac25fee23b4
https://googleplex-android-review.googlesource.com/#/c/211982/
2012-08-03 14:37:15 -07:00
Ying Wang
b92edf99ef Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-03 14:31:40 -07:00
Dianne Hackborn
440f38711d Merge "Fix issue #6921726: Prime: Cannot make or receive phone calls..." into jb-mr1-dev 2012-08-03 14:11:36 -07:00
Dianne Hackborn
f1c0aeda25 Fix issue #6921726: Prime: Cannot make or receive phone calls...
[NPE at android.graphics.drawable.Drawable.createFromResourceStream]

Change-Id: I223428ffb39e883518aad817227f32851ea18aec
2012-08-03 14:04:30 -07:00
The Android Open Source Project
7c927b1b04 am 633233bc: (-s ours) Reconcile with jb-release - do not merge
* commit '633233bc9ec0f3961b096fea933ecaa454214fd7':
  Fix NPE on some phones at startup.
  Fix 6804479: "Emergency calls only" in notification shade
  Implement CMAS service category program results.
  Fix detection of CDMA cell broadcast messages.
  Fix our interpretation of apn setting's bearer.
2012-08-03 13:26:58 -07:00
The Android Open Source Project
633233bc9e Reconcile with jb-release - do not merge
Change-Id: I586debc586c0de8fc24359daa40cbee9e58340ab
2012-08-03 13:23:27 -07:00
Ying Wang
a6216c67da Import translations. DO NOT MERGE
Change-Id: I96086039ac5b62a7a137990de380c95913e17f0f
Auto-generated-cl: translation import
2012-08-03 12:20:06 -07:00
Martijn Coenen
1094b7d769 Merge "Bluetooth: fix enableNoAutoConnect() call." into jb-mr1-dev 2012-08-03 12:12:11 -07:00
The Android Open Source Project
0e51c94c98 Reconcile AOSP and GOOG jb-release
Change-Id: I2cee4571848de79427356a6fcfe8da59ae34e70f
2012-08-03 12:11:54 -07:00
Jeff Sharkey
0b24b1d37a Merge "Pass changed NetworkInfo to LocationProvider." into jb-mr1-dev 2012-08-03 11:56:03 -07:00
Jeff Sharkey
821bd8081a Pass changed NetworkInfo to LocationProvider.
LocationProviders often rely on non-default networks, so pass the
network that actually changed, instead of the default.

Bug: 6929692
Change-Id: I31d9eec792e07259282aa1bb57ec66c01962df64
2012-08-03 11:53:01 -07:00
Daniel Sandler
4b9a8d75b8 Fix NPE on some phones at startup.
Bug: 6877589
Change-Id: I65ff37b4cf6b59a72a7aa665f252f5fb34f3b183
2012-08-03 11:28:10 -07:00
Daniel Sandler
ef5d261191 Fix 6804479: "Emergency calls only" in notification shade
Add an additional codepath to the "no connectivity" logic in
NetworkController to allow the PLMN bubble up from the
GsmServiceStateTracker, where R.string.emergency_calls_only
is returned if we're in emergency call mode.

Bug: 6804479
Change-Id: I0a77261e4393cc0dc32bae3e631ef196b2342f06
2012-08-03 11:28:04 -07:00
Jake Hamby
715da0ea91 Implement CMAS service category program results.
Correctly handle CDMA Service Category Program Data requests,
and send the SCPT response to the message center. Parcel SCPD
operations as an ArrayList instead of an array (current version
will throw ClassCastException when the array is cast).

Bug: 6853691
Change-Id: I949ea68891c78306059248832e59a593ab606e11
2012-08-03 11:27:59 -07:00
Jake Hamby
f8563f5108 Fix detection of CDMA cell broadcast messages.
The bIsServicePresent field of an incoming CDMA SMS RIL message
is not a reliable way to distinguish broadcast from point-to-point
messages on some RILs. Change CDMA SmsMessage.getMessageType() to
return MESSAGE_TYPE_BROADCAST when the service category is not 0,
and MESSAGE_TYPE_POINT_TO_POINT when the service category is 0.

Bug: 6853691
Change-Id: I0d44a8ce0bb295da5125271db90652570d655bc1
2012-08-03 11:27:49 -07:00
Robert Greenwalt
a3ed3b62d1 Fix our interpretation of apn setting's bearer.
Between ICS and JB we changed it to use TelephonyManager's network type
enumeration.  This changes it back to represent the RIL's radio
technology.  The only diff between the two is 13 and 14 are swapped,
so the change was causing problems with LTE and eHRPD.

bug:6830908
Change-Id: I85a7c8037f370f368e5cbf6dc2c9395c6889b541
2012-08-03 11:27:44 -07:00
Romain Guy
a70cd04985 Merge "Add dithering to gradients" into jb-mr1-dev 2012-08-03 11:09:49 -07:00
Chris Wren
5345c310af Merge "Don't allow the status bar to collapse things we're touching." into jb-mr1-dev 2012-08-03 09:52:09 -07:00
John Spurlock
3185b376b0 Merge "Re-enable dreams: frameworks/base" into jb-mr1-dev 2012-08-03 08:36:41 -07:00
Martijn Coenen
10d7e8afb2 Bluetooth: fix enableNoAutoConnect() call.
For now, just do a regular connect.

Change-Id: Ibc43098d45c82177298cb17d72a32c7904924021
2012-08-03 08:36:02 -07:00
John Spurlock
72c30e2cec Merge "Fix typos in android.widget package docs." into jb-mr1-dev 2012-08-03 08:34:43 -07:00
Craig Mautner
7de53949bc Merge "Add features to DisplayManager." into jb-mr1-dev 2012-08-03 08:25:42 -07:00
John Spurlock
aca7a741cb Fix typos in android.widget package docs.
Fixed spelling errors and cleaned up markup.

Change-Id: I3573087d40bbeb3906a8361abb02de4cb4325a92
2012-08-03 09:14:32 -04:00
John Spurlock
bc632a28e4 Re-enable dreams: frameworks/base
Enable feature in config. Expose Dream in public api for unbundled apps.
Unhide package.  Add isDreaming() method to service.

Re-arrange the Dream api a bit.  (use onStart as hook for subclasses).
Coordinate properly with power manager.

Replace old dock mode (don't fire old intent).

Change-Id: I1318d20cc1613e5d862f2913f2fcdc9719302cf7
Bug: 6921930
2012-08-03 08:51:17 -04:00