77989 Commits

Author SHA1 Message Date
Daniel Sandler
9af376e57a Fix NPE on some phones at startup.
Bug: 6877589
Change-Id: I65ff37b4cf6b59a72a7aa665f252f5fb34f3b183
2012-07-25 12:33:50 -04:00
Daniel Sandler
3ee47ae7ee Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev 2012-07-24 20:30:26 -07:00
Adam Cohen
2daf9dc9eb Merge "Prevent crash in AppWidgetHost that can be triggered by an AppWidget" into jb-dev 2012-07-24 19:17:19 -07:00
Quddus Chong
4eb6973bc1 Merge "docs: Added docs for lint tool. Change-Id: I06192262b56e0333bcfbcac223395788f7b0d072 Bug: 5942358" into jb-dev 2012-07-24 17:59:11 -07:00
Quddus Chong
375d72baa7 docs: Added docs for lint tool. Change-Id: I06192262b56e0333bcfbcac223395788f7b0d072
Bug: 5942358

Change-Id: Ib15f96f267aa0a713fbd03b3bf5dced8c37da12e
2012-07-24 17:44:55 -07:00
Daniel Sandler
0ae29275b8 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-07-24 20:41:31 -04:00
Jake Hamby
7b661fb3fc 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-07-24 17:31:05 -07:00
Shawn Pearce
8d6ff012ed Merge "Fix 5608959: Make keyguard follow user setting for orientation" into jb-dev 2012-07-24 17:23:38 -07:00
Scott Main
0804b6dbf5 docs: specify that adt v20 or higher is required for class
Change-Id: I11b9bdf59d10fad2dc49ccda47078e273fe064f7
2012-07-24 15:51:27 -07:00
Jim Miller
82f9196318 Fix 5608959: Make keyguard follow user setting for orientation
This fixes a bug where keyguard would always change orientation
when enabled from config_enableLockScreenRotation.  Now it follows
the user preference.

Change-Id: I0437d11e1984d22cdadddc57deb47d800fb86aa1
2012-07-24 14:27:12 -07:00
Joe Fernandez
156671ef9a Merge "docs: ADT r20.0.2 Release Notes, bug fixes - reprise of reverted: Change-Id: I66cfcb46c5f8a4825f1a12640dacc3c2c42ff348" into jb-dev 2012-07-24 11:47:04 -07:00
Joe Fernandez
cb58e6b7cf docs: ADT r20.0.2 Release Notes, bug fixes - reprise of reverted: Change-Id: I66cfcb46c5f8a4825f1a12640dacc3c2c42ff348
Change-Id: I590028c0eebc5d3142c63036e3fffb1a53cb55a6
2012-07-24 11:41:17 -07:00
Dianne Hackborn
da9754e883 Merge "Fix issue #6860828 Non-root shell can't grant permissions" into jb-dev 2012-07-24 11:07:55 -07:00
Scott Main
707e6321fd Merge "typo fix" into jb-dev 2012-07-24 10:21:17 -07:00
Joe Fernandez
614b7307c7 Merge "doc: fix for NDK r8b release notes" into jb-dev 2012-07-24 09:11:25 -07:00
Michael Chan
a13730f424 Merge "Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string." into jb-dev 2012-07-24 08:53:52 -07:00
Wink Saville
bc8bab8949 Merge "Don't send terminal response without cmd details." into jb-dev 2012-07-24 08:27:03 -07:00
Scott Main
eb48884133 typo fix
Change-Id: Ib7c8f17fd0f2a1e2b462b6ab9b711c3b4bf3edda
2012-07-23 18:58:19 -07:00
Scott Main
9f061e2809 fix information about layout overrides
bug: 6852515

Change-Id: I80681a06e87aad3de8243bb731d7513e5aa29d08
2012-07-23 18:32:03 -07:00
Scott Main
fc815c328b Merge "docs: update Building Your First App class to reflect changes to New Project setup in eclipse" into jb-dev 2012-07-23 18:20:08 -07:00
Scott Main
39871b7e43 docs: update Building Your First App class to reflect changes to New Project setup in eclipse
Change-Id: I57c02676fbc2886872c2d294c5517b458e8751c5
2012-07-23 18:16:54 -07:00
Jake Hamby
f364fccff4 Merge "Fix detection of CDMA cell broadcast messages." into jb-dev 2012-07-23 16:24:10 -07:00
Joe Fernandez
7ba0178075 Merge "Revert "docs: ADT r20.0.2 Release Notes, bug fixes"" into jb-dev 2012-07-23 15:38:20 -07:00
Joe Fernandez
eef8340ab1 doc: fix for NDK r8b release notes
Change-Id: I223db230887b17e452df2cacd35160e1fcaea5d1
2012-07-23 15:37:46 -07:00
Joe Fernandez
7e5cb8421a Revert "docs: ADT r20.0.2 Release Notes, bug fixes"
This reverts commit 04364be7344a9429e7a07b1daf7da91bc684b264

Change-Id: I7d0c9c7a4e876de8e44c4f46578b8e5d60c488e6
2012-07-23 15:29:40 -07:00
Scott Main
67922bb286 docs: add new IO videos playlist and update blog posts to show N7 post and Tools 20
Change-Id: I247d2bfd549a48dcaaa1c5668559e3d5d2cd6fc5
2012-07-23 14:51:18 -07:00
Jake Hamby
15c257eb8f 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-07-23 14:42:33 -07:00
Dianne Hackborn
4d5f968f41 Fix issue #6860828 Non-root shell can't grant permissions
That, plus a few other permissions.

Bug: 6860828
Change-Id: I69f0360471e4fd46e689388cd993e18c1e0bfb02
2012-07-23 11:46:32 -07:00
Scott Main
c7504032f3 Merge "docs: remove link that points to empty page" into jb-dev 2012-07-23 11:00:55 -07:00
Scott Main
b235bf6e2d docs: remove link that points to empty page
Change-Id: I9adbacf5d5b3cdc47f9e8ff2f280e481b6a047b5
2012-07-23 10:58:03 -07:00
Adam Cohen
a5a06873d1 Prevent crash in AppWidgetHost that can be triggered by an AppWidget
-> When the RemoteViewsFactory violates the getViewTypeCount() contract
   we detect it, and prevent the AdapterView from crashing
-> Also made RemoteViewsCache a static inner class, since we may need
   that down the road, and there's no reason it shouldn't be

Change-Id: I872a255167aac94513e522924179de61286b995a
2012-07-20 16:12:03 -07:00
John Wang
aeffc933e9 Don't send terminal response without cmd details.
bug:6481578
Change-Id: Ie9f6e33c49307ddd884015a400f90e5477cc551e
2012-07-20 15:41:40 -07:00
Joe Fernandez
04364be734 docs: ADT r20.0.2 Release Notes, bug fixes
Change-Id: I66cfcb46c5f8a4825f1a12640dacc3c2c42ff348
2012-07-20 14:11:59 -07:00
Xavier Ducrohet
b71393bd34 Merge "Fix aapt -G to properly support class attr in fragment." into jb-dev 2012-07-19 14:27:59 -07:00
Scott Main
b949d41602 update Google IO announcement on homepage
Change-Id: If859991b64492d2b334271038c854342771566e4
2012-07-19 11:23:01 -07:00
Xavier Ducrohet
095cd2e2d1 Fix aapt -G to properly support class attr in fragment.
The code added attributes android:name and class to a
KeyedVector under the same key (fragment) so the 2nd
add (android:name) removed class with was never checked.

This replace the value type in the KeyedVector to be
Vector<NamespaceAttributePair> instead of just
NamespaceAttributePair.

Change-Id: I009b8a8cca878191661c2a63bb14c967d230498d
2012-07-19 09:06:03 -07:00
Brian Carlstrom
553e3898c0 Merge "Improve test key names to reproduce public issue" into jb-dev 2012-07-18 23:05:28 -07:00
James Dong
5d478b9c10 Merge "Changed to obtain a parcel in each notify() call in jni." into jb-dev 2012-07-18 18:43:37 -07:00
Ying Wang
a4d4df16a6 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-07-18 14:58:18 -07:00
Ying Wang
eebabd6e47 Import translations. DO NOT MERGE
Change-Id: I5077a3d3cb71f2dff0f460174134bdc49663e27b
Auto-generated-cl: translation import
2012-07-18 14:19:56 -07:00
Scott Main
12a5475205 docs: update hw accel attribute's default behavior and fix link to l10n tutorial
Change-Id: I445a5ef7513749ab55537c16dac2ee00aee0859d
2012-07-18 12:08:04 -07:00
Daniel Sandler
0038ec1107 Merge "Fix stuck status bars." into jb-dev 2012-07-18 10:30:46 -07:00
Dirk Dougherty
a44794f45e Merge "Doc change: add button link to developer console." into jb-dev 2012-07-18 09:59:08 -07:00
Joe Fernandez
2336974716 Merge "docs: Updating <uses-sdk> docs, bug fix: b/6836256" into jb-dev 2012-07-18 09:05:06 -07:00
Brian Carlstrom
f4019af04a Improve test key names to reproduce public issue
Also fixes other unrelated test failures.

Bug: http://code.google.com/p/android/issues/detail?id=34577
Bug: 6837950

Change-Id: I2c5ed1cbfbe0ab6f4ddd8619696d6545be0519a8
2012-07-17 23:56:20 -07:00
Daniel Sandler
ed930e5ad5 Fix stuck status bars.
An odd little bit of logic (attempting to defend against
the status bar getting stuck on orientation change) was
ironically causing it to get stuck if the bar was closed
twice in very rapid succession (which can happen if you
manage to click the settings button as the panel is about to
close).

Other tweaks to help defend against this sort of problem in
the future:

- When the screen goes off, immediately collapse the
  notification panel (without animation)
- When completing panel collapse, force the height of the
  expanded view to 0 (in case it ended up some other way by
  this point).
- Reduce a weird little glitch when you start
  animateCollapse() in the middle of a reveal animation.
  (The panel would jump to full height.)

Bug: 6765842
Change-Id: I233467c73e130f64401333319943289cbf3daa56
2012-07-18 01:33:56 -04:00
Romain Guy
3409e728e2 Correctly pre-clip paths when recording display lists
Bug #6836448
External bug: http://code.google.com/p/android/issues/detail?id=34946

DO NOT MERGE

DisplayListRenderer::drawPath was not invoking quickReject() properly,
passing x,y,width,height instead of left,top,right,bottom. A path
could thus get rejected when it should be drawn instead.

While working on this change I found a similar issue with another
drawing command, drawBitmapData().

Change-Id: I8306faf72db14d71b54ecb7de295c9a6957d9494
2012-07-17 18:01:51 -07:00
Scott Main
634ccf7eb8 Merge "docs: fix broken links" into jb-dev 2012-07-17 16:46:11 -07:00
Joe Fernandez
cd940ef36c docs: Updating <uses-sdk> docs, bug fix: b/6836256
Change-Id: I61e80e843db09b748417f2a234600edad922cdc5
2012-07-17 16:45:58 -07:00
Dirk Dougherty
0e9a5a7cf5 Doc change: add button link to developer console.
Change-Id: Ib53dce17ef99b62e7de5b6ef716ab5a4a8617800
2012-07-17 16:36:28 -07:00