110969 Commits

Author SHA1 Message Date
Chet Haase
fee6f2b3d3 Fix NPE when setting new LayoutTransition
ViewGroup.setLayoutTransition() has logic to cancel a previously-running
transition and remove the ViewGroup's listener from that transition. However,
it is possible for the transition to be set to null on the ViewGroup on the
cancel() call, making the next call to remove the listener crash with an NPE.

The fix is to use a temporary variable to hold the old reference and
not depend on the class instance variable remaining valid/non-null across
the call to cancel().

Issue #10488932 Hangout NPE in ViewGroup.setLayoutTransition on initiating a new conversation
Issue #10509201 ViewGroup.setLayoutTransition(null) causes crash when being called in LayoutTransition.TransitionListener.endTransition()

Change-Id: I7c181b79e6601024c93a8dc246d32b751f78b216
2013-08-27 12:22:29 -07:00
Fabrice Di Meglio
6d7771b575 Merge "Fix bug #10462461 CTS TimePickerTest are broken for testSetOnTimeChangedListener()" into klp-dev 2013-08-27 19:04:13 +00:00
Svetoslav Ganov
aec1417ca9 Print APIs update.
1. Added scale to fit and scale to fill fitting modes.

2. Added APIs for a print app to specify which constraints imposed
   by the print attributes were satsified during a layout so they
   are not handled by the printer again, e.g. if the content is to
   be in landscape the the app generated such content the printer
   should rotate the content again.

3. Added some printer statuses.

4. Added a helper class that generates PDF documents with correct
   size based on the passed in print attributes.

5. Exposed a ctor for PageRange which was hidden by mistake and apps
   could not create page ranges. Added API for changing the printer
   status.

Change-Id: If1334a61d2d931027b98075f653018d456b1b768
2013-08-27 11:56:18 -07:00
John Spurlock
e47193d8e1 Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE.
And add more colour to the docs.

Bug:10460791
Change-Id: I703d927101bb034ba6dd061e6afd3e1946440fe5
2013-08-27 14:53:21 -04:00
Tom O'Neill
aeda265c4d Merge "Remove or reduce visibility of deprecated methods" into klp-dev 2013-08-27 18:23:18 +00:00
Chris Wren
d220a830f4 Merge "Change DBG to false to eliminate logcat messages." into klp-dev 2013-08-27 18:20:44 +00:00
Svetoslav Ganov
6b8c69edd2 Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev 2013-08-27 18:14:01 +00:00
Tom O'Neill
7f6f45723a Remove or reduce visibility of deprecated methods
- Fix additional getInt() path, restores the location settings screen
functionality.

- Should fix "unresolved link" build breakages in
git_klp-dev-plus-aosp-without-vendor, which is much more persnickety than
klp-dev for some reason.

- Add warning that we may add additional location modes in the future.

- Finish fix for b/10461763 and b/10461474

Change-Id: Id7155e3a0d7526a377d446018ef3bdb057bad3a6
2013-08-27 10:53:15 -07:00
John Spurlock
107e2d418b Merge "Allow wallpaper to extend into the entire screen." into klp-dev 2013-08-27 17:19:35 +00:00
John Spurlock
ef4adae5de Allow wallpaper to extend into the entire screen.
Previously it was constrained to displayInfo.appWidth/appHeight
which comes from PWM.getNonDecorDisplayWidth/Height, which includes
the nav bar.

Also adjust window layout to entire screen.

This allows wallpaper to extend into the navigation bar region,
important if the nav bar is hidden or transparent.

Bug:10505328
Change-Id: Ia6057b9c57b476a48f3b2d8b6368fd631e944a3e
2013-08-27 12:56:41 -04:00
Eino-Ville Talvala
fb3d78118b Merge "Camera2: Add CameraDevice#flush()" into klp-dev 2013-08-27 16:49:04 +00:00
Tom O'Neill
4a9c7fec66 Merge "Address API council comments on location mode API council" into klp-dev 2013-08-27 15:44:16 +00:00
Svetoslav Ganov
cb8ed39b3f Update AccessibilityNodeInfo API as per API council request
bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
2013-08-27 08:26:13 -07:00
John Spurlock
ec566dd06f Merge "Update system bar assets to new style." into klp-dev 2013-08-27 15:05:27 +00:00
John Spurlock
e189f662df Update system bar assets to new style.
Update to new system bar assets (ic_*, stat_*).

Update color resources driving style for battery meter + clock.

Add new xxhdpi versions.

Bug:10502089
Change-Id: Ic957ad9886fbb05ed0ca1765fb9e324bfd8ab609
2013-08-27 10:52:08 -04:00
Jason Monk
a8220a73c5 Don't clear Global Proxy on boot.
Doesn't clear the global proxy when a deprecated one is not found because
there still may be a non-deprecated global proxy present.

Bug: 10457179
Change-Id: I68e6d5aee7b4940f9315484060c7d82cb8ccfa70
2013-08-27 10:51:24 -04:00
Tom O'Neill
42aa4ad688 Merge "Address API Review for SettingInjectorService" into klp-dev 2013-08-27 14:35:43 +00:00
Lorenzo Colitti
703187f765 Merge "Add a simple test for NetworkManagementService." into klp-dev 2013-08-27 04:08:54 +00:00
Sandeep Siddhartha
4e22b851be Merge "Touch up the Hotword API" into klp-dev 2013-08-27 02:24:25 +00:00
Sandeep Siddhartha
407d794a9d Touch up the Hotword API
- Few comments got missed from the last review

Change-Id: I933912c51794875be5d129351d4f06bc040537a6
2013-08-26 18:01:34 -07:00
Ying Wang
b240578f03 Fix docs build.
Change-Id: I7bfcfea052de6959230bb361400e760eab35b78c
2013-08-26 17:48:22 -07:00
Sandeep Siddhartha
b0a17400cb Merge "Add Service API to perform Hotword recognition" into klp-dev 2013-08-27 00:38:40 +00:00
Sandeep Siddhartha
637cc45809 Add Service API to perform Hotword recognition
Change-Id: I855330b255a12cce309aa11e0b7cde5b8e061043
2013-08-26 17:32:16 -07:00
Vinit Deshapnde
ca91579350 Merge "Increase sampling data size limits" into klp-dev 2013-08-27 00:23:10 +00:00
Chet Haase
be6cf71dc5 Merge "Tweak visibility logic for inflated view scenarios" into klp-dev 2013-08-26 23:29:35 +00:00
Chet Haase
35a457a3ba Tweak visibility logic for inflated view scenarios
Previously, Visibility would determine whether a given view was
worthy of a transition by checking the visibility of that view's
parent hierarchy. This is done to avoid fading every view in
a hierarchy when only the top-most node should be faded.

However, the logic was flawed because it assumed the end scene
parent was stable between scenes, which is not the case with inflated
layout scenes, in which the parent views are not the same, even though they
may represent the same parents (via ids).

The new approach is to check information on both the start and end scene
parents, and to take ids into account when checking the state of these
parents in the start/end scenes. Also, avoid this logic altogether if the
transition is targeted at specific views (don't bother checking the
parents if the transition was told to fade specific views).

Issue #10442447 Transitions: Fades don't happen correctly in some situations

Change-Id: Icea24b892f2eff2d37c6436ccfe4e288aac84178
2013-08-26 16:04:11 -07:00
Adam Powell
04e3a14c2d Merge "Expand documentation around ViewParent#childHasTransientStateChanged" into klp-dev 2013-08-26 22:32:04 +00:00
Alan Viverette
3c6e8f43b4 Add documentation to onTouchEvent for accessibility
BUG: 10429918
Change-Id: I2e2826601ba1560186e19f15928de41674a72505
2013-08-26 15:29:03 -07:00
Jean-Michel Trivi
12a792c644 Merge ""Year" is an authorized metadate long field." into klp-dev 2013-08-26 22:28:12 +00:00
Vinit Deshapnde
d0fec8c885 Increase sampling data size limits
Integer doesn't seem to like number > 2 Gig; so converting all bits of
samples to long; and handling exceptions that may crash the service

Bug: 10459447
Change-Id: I1291e97ba6d0ab7304dc6a6e8ef819d17491e017
2013-08-26 15:11:01 -07:00
Vinit Deshapnde
402334a09b Merge "Fix an exception caused by incorrect data handling" into klp-dev 2013-08-26 21:50:20 +00:00
Tom O'Neill
a324ac7875 Address API council comments on location mode API council
- Start fixing b/10461763

Change-Id: Ic5305bdca38329765a1de565c0a25da12e8ab19d
2013-08-26 14:40:23 -07:00
Adam Powell
0da4a282ee Expand documentation around ViewParent#childHasTransientStateChanged
Bug 10461020

Change-Id: Id27df5de171b01effae949bcb1ce69bd4101b5ee
2013-08-26 21:33:03 +00:00
Adam Powell
962a7093be Fix padding for simple_list_item_2
Bug 9267688

Change-Id: I33270d9661581e116e16fd9216387a4fbdd72351
2013-08-26 21:00:56 +00:00
Chris Craik
ff2c22e2a8 Merge "Move functor GL setup to just before functor" into klp-dev 2013-08-26 20:50:50 +00:00
Alan Viverette
aad4417868 Merge "Use transient state to preserve accessibility focus in ListView" into klp-dev 2013-08-26 20:49:50 +00:00
Alan Viverette
faf7a2087e Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev 2013-08-26 20:49:28 +00:00
Alan Viverette
9212e350d5 Merge "Reconcile drag-to-open and touch event interception" into klp-dev 2013-08-26 20:48:59 +00:00
Leon Scroggins III
3871fdb966 Merge "Fix unpremul setting in BitmapRegionDecoder." into klp-dev 2013-08-26 20:47:23 +00:00
Edward Jee
b2cc1d54aa Merge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev 2013-08-26 20:33:45 +00:00
Igor Murashkin
9e680685f9 Merge "camera2: CameraDevice#configureOutputs now deletes unused streams" into klp-dev 2013-08-26 20:22:14 +00:00
Scott Main
0ef8a431a5 am 032c5630: am bb6b1ff0: am d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc bugs
* commit '032c56305eb69fcbf0d0baa8dd0276d3821bc0b7':
  add jb mr2 uses-feature items to reference page and fix a couple doc bugs
2013-08-26 13:15:35 -07:00
Scott Main
032c56305e am bb6b1ff0: am d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc bugs
* commit 'bb6b1ff012edac329bf4c3e7121651220259e64c':
  add jb mr2 uses-feature items to reference page and fix a couple doc bugs
2013-08-26 13:12:20 -07:00
Scott Main
bb6b1ff012 am d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc bugs
* commit 'd608d5e3fa08cd9935f03144b192ea5934c715a8':
  add jb mr2 uses-feature items to reference page and fix a couple doc bugs
2013-08-26 13:09:46 -07:00
Scott Main
d608d5e3fa add jb mr2 uses-feature items to reference page and fix a couple doc bugs
Change-Id: I1b95d98b083af3dad55f19a9e68f69460d4e6e57
2013-08-26 12:49:39 -07:00
John Spurlock
f8388885e4 Merge "Add new logging for system bar window state." into klp-dev 2013-08-26 19:43:26 +00:00
John Spurlock
0ec64c65fb Add new logging for system bar window state.
And re-enable PhoneStatusBar dump output in bugreports.

Bug:10488453
Change-Id: If39b32e82dee59f3c166c5a948d379030da0ea01
2013-08-26 15:37:58 -04:00
Craig Mautner
2703052413 Hide stackId from prying eyes.
Member variable does not have to be publicly visible.

Fixes bug 10461556.

Change-Id: I9aeaf4f451738b1d6dc0289afb1deae6e8f7e5c2
2013-08-26 12:27:01 -07:00
Ying Wang
d3373c292a Merge "Better aidl generated dependency" into klp-dev 2013-08-26 19:18:35 +00:00
Wink Saville
3084eb999a am 59adfca6: (-s ours) am 33283a97: am dce52cdb: DO NOT MERGE: MDST is not ready until connected to DcTracker.
* commit '59adfca65dc35274684831577ec41046b418a688':
  DO NOT MERGE: MDST is not ready until connected to DcTracker.
2013-08-26 11:53:14 -07:00