OSDN Git Service

android-x86/frameworks-base.git
10 years agoam eae969c1: am 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability
Scott Main [Fri, 11 Oct 2013 19:32:48 +0000 (12:32 -0700)]
am eae969c1: am 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability

* commit 'eae969c17a6507c6985b5d9be1f6e0523766f6dd':
  media-formats.html: clarify WebP availability

10 years agoam 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability
Scott Main [Fri, 11 Oct 2013 19:30:43 +0000 (12:30 -0700)]
am 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability

* commit '439c4b4783ec9e800e9a6fd6fc38dd393c41b77b':
  media-formats.html: clarify WebP availability

10 years agoam c0da3f1d: media-formats.html: clarify WebP availability
Scott Main [Fri, 11 Oct 2013 19:27:13 +0000 (12:27 -0700)]
am c0da3f1d: media-formats.html: clarify WebP availability

* commit 'c0da3f1d60f99c3188906d429ed38edbdd934f12':
  media-formats.html: clarify WebP availability

10 years agoMerge "Treat dates near epoch as unknown." into klp-dev
Jeff Sharkey [Fri, 11 Oct 2013 19:18:50 +0000 (19:18 +0000)]
Merge "Treat dates near epoch as unknown." into klp-dev

10 years agomedia-formats.html: clarify WebP availability
Scott Main [Fri, 11 Oct 2013 19:03:12 +0000 (12:03 -0700)]
media-formats.html: clarify WebP availability

Lossless and transparency support were added in JB-MR1

CL copied from https://critique.corp.google.com/#review/53655564

Change-Id: I2c568525ff7c7a540328e41a57b6f16647733e4e

10 years agoMerge "Make an exception for screenshot optimization." into klp-dev
Craig Mautner [Fri, 11 Oct 2013 18:41:45 +0000 (18:41 +0000)]
Merge "Make an exception for screenshot optimization." into klp-dev

10 years agoMake an exception for screenshot optimization.
Craig Mautner [Fri, 11 Oct 2013 18:05:35 +0000 (11:05 -0700)]
Make an exception for screenshot optimization.

Screenshots were not being made for tasks with the flag
FLAG_EXCLUDE_FROM_RECENTS set. But if the task is in the foreground
the shot should be taken even with the flag set. This fix adds a test
for tasks being in the foreground.

Fixes bug 11170567.

Change-Id: If42db7f43ed1dd8d2b16b68824adc813b31c94f0

10 years agoMerge "Resize lock screen widgets when IME is open." into klp-dev
Alan Viverette [Fri, 11 Oct 2013 17:30:58 +0000 (17:30 +0000)]
Merge "Resize lock screen widgets when IME is open." into klp-dev

10 years agoMerge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev
John Spurlock [Fri, 11 Oct 2013 17:27:25 +0000 (17:27 +0000)]
Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev

10 years agoEnsure fitSystemWindows is called on the IME at least once.
John Spurlock [Fri, 11 Oct 2013 17:16:23 +0000 (13:16 -0400)]
Ensure fitSystemWindows is called on the IME at least once.

InputMethodService will recreate the entire layout on config changes.
Until the system insets change again, the new instance will not
hear about the insets.

This change ensures fitSystemWindows is called at least once for all
input method root views that are added to a window.

Bug:11174545
Change-Id: Id0f02f32c0d6e9c2d6b6aeef74a12a13acfbb9e6

10 years agoMerge "Added UI for errors during layout and write." into klp-dev
Svetoslav Ganov [Fri, 11 Oct 2013 17:06:12 +0000 (17:06 +0000)]
Merge "Added UI for errors during layout and write." into klp-dev

10 years agoAdded UI for errors during layout and write.
Svetoslav Ganov [Wed, 9 Oct 2013 17:53:26 +0000 (10:53 -0700)]
Added UI for errors during layout and write.

1. If an error happens during layout or write we show an error
   message with the string provided by the application which
   has an OK button to retry or tap outside to cancel.

2. Updated the targed and min SDK version for the PrintSpooler.

bug:11127269

Change-Id: I4301cf3716119b1e33b95347a8451fc1c128343b

10 years agoMerge "Refactor how the print dialog activity is started." into klp-dev
Svetoslav [Fri, 11 Oct 2013 17:01:14 +0000 (17:01 +0000)]
Merge "Refactor how the print dialog activity is started." into klp-dev

10 years agoMerge "Reduce jank on incoming phone call during dream." into klp-dev
Craig Mautner [Fri, 11 Oct 2013 16:49:55 +0000 (16:49 +0000)]
Merge "Reduce jank on incoming phone call during dream." into klp-dev

10 years agoTreat dates near epoch as unknown.
Jeff Sharkey [Fri, 11 Oct 2013 16:49:03 +0000 (09:49 -0700)]
Treat dates near epoch as unknown.

Also document that rootIds need to be stable, so removable media
roots should use the media serial number.

Bug: 11151557
Change-Id: I1f3dcabcd0474f1bf92d2cafb0f37e82abe34e05

10 years agoMerge "Small IntentFilter docs improvement." into klp-dev
Dianne Hackborn [Fri, 11 Oct 2013 16:42:39 +0000 (16:42 +0000)]
Merge "Small IntentFilter docs improvement." into klp-dev

10 years agoSmall IntentFilter docs improvement.
Dianne Hackborn [Fri, 11 Oct 2013 16:40:18 +0000 (09:40 -0700)]
Small IntentFilter docs improvement.

Change-Id: I52522e1c007c02d2c4fae8665369d92971689fd2

10 years agoMerge "Add internal resource symbol used by WebViewChromium." into klp-dev
Torne (Richard Coles) [Fri, 11 Oct 2013 16:17:41 +0000 (16:17 +0000)]
Merge "Add internal resource symbol used by WebViewChromium." into klp-dev

10 years agoRefactor how the print dialog activity is started.
Svetoslav [Thu, 10 Oct 2013 20:36:23 +0000 (13:36 -0700)]
Refactor how the print dialog activity is started.

1. Before the print job activity was started asyncronously with
   respect to the print call on to the print manager. This was
   creating a situation where the starting activity may finish
   before the print dialog appears which may lead to an orphaned
   print document adapter with no data to print (as the UI is
   is gone), or strange behaviors where the print dialog starts
   on as a separate task.

   To address this the pending intent for starting the print
   dialog is not started by the print spooler since we cannot
   call into it synchronously as we have to start its process
   and bind to the spooler service which leads to jankyness in
   the client app. Now the pending intent is created by the
   print manager service in the synchronous print call so
   from an app's perspective calling print starts the activity.

   The side effect of this design is that the print dialog
   activity may start before the system is bound to the spooler
   service. In such a case the print activity cannot start
   poking the print spooler state as the system registers
   callback to observe the spooler state. To address this
   the print spooler activity disables the UI and also binds
   to the spooler service which happenes immediately after it
   is started. As soon as the print dialog binds to the
   service it starts the UI.

2. Fixed an bug in the printer adapter of the print dialog that
   was leading to a crash if the only item in the adater is the
   all pritners option and it is selected.

3. Piping the package name that started the printing so we can
   pass it to the storage UI as a hint to open the last location
   the app used.

bug:11127269

Change-Id: Ia93820bdae0b0e7600a0930b1f10d9708bd86b68

10 years agoMerge "Fix dock rect calculation when nav is translucent." into klp-dev
John Spurlock [Fri, 11 Oct 2013 15:49:54 +0000 (15:49 +0000)]
Merge "Fix dock rect calculation when nav is translucent." into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 11 Oct 2013 15:15:50 +0000 (15:15 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 11 Oct 2013 15:09:06 +0000 (15:09 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 11 Oct 2013 15:08:53 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 11 Oct 2013 15:08:39 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 11 Oct 2013 15:08:10 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 11 Oct 2013 15:07:56 +0000 (15:07 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 11 Oct 2013 15:07:42 +0000 (15:07 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Be sure to update the display metrics on config change." into klp-dev
Daniel Sandler [Fri, 11 Oct 2013 14:58:12 +0000 (14:58 +0000)]
Merge "Be sure to update the display metrics on config change." into klp-dev

10 years agoAdd internal resource symbol used by WebViewChromium.
Torne (Richard Coles) [Fri, 11 Oct 2013 13:59:50 +0000 (14:59 +0100)]
Add internal resource symbol used by WebViewChromium.

The Chromium WebView needs access to the default <video> tag poster
image, which is a framework resource. Add to the list of internal
resource symbols.

Bug: 11158656
Change-Id: I0c9ca7c25fe4c9a970b9e336ff72eda55637c201

10 years agoBe sure to update the display metrics on config change.
Daniel Sandler [Fri, 11 Oct 2013 03:38:19 +0000 (23:38 -0400)]
Be sure to update the display metrics on config change.

Regression of ancient bugs 6955586 & 7086018 (navigation bar
missing buttons since they're stacked up off the screen
along the wrong axis).

Bug: 10341684
Change-Id: I778b085bf256cb20ecceaf38fd229a7de9b75aae

10 years agoMerge "Setting MTU size for specific network" into klp-dev
Vineeta Srivastava [Fri, 11 Oct 2013 04:07:58 +0000 (04:07 +0000)]
Merge "Setting MTU size for specific network" into klp-dev

10 years agoReduce jank on incoming phone call during dream.
Craig Mautner [Fri, 11 Oct 2013 03:31:00 +0000 (20:31 -0700)]
Reduce jank on incoming phone call during dream.

- Include dreams in the conditions that disable transition animations.
  This way there is no visibility of activities that are closing
  behind the keyguard when an activity that dismisses the keyguard
  starts up.

- Do not notify the keyguard mediator when the keyguard is dismissed
  because a dream is starting up. This keeps activities from resuming
  just because the keyguard is being dismissed.

Fixes bug 11064847.

Change-Id: I9d32fc96d518b1cdab511e187226a3cb889cf6d4

10 years agoMerge "Toggle wallpaper window flag when setting custom keyguard background" into...
Adam Powell [Fri, 11 Oct 2013 03:09:35 +0000 (03:09 +0000)]
Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev

10 years agoMerge "Fit and finish for camera affordance animations in keyguard - better timing...
Jim Miller [Fri, 11 Oct 2013 03:01:48 +0000 (03:01 +0000)]
Merge "Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing. - Hide the challenge area when the camera page is settling. - Reduce jank when camera page starts snap transition. - Prevent warping from going to previous page - Smoothly blend between PagedView and Warp animations when scrolling starts." into klp-dev

10 years agoToggle wallpaper window flag when setting custom keyguard background
Adam Powell [Fri, 11 Oct 2013 03:01:49 +0000 (20:01 -0700)]
Toggle wallpaper window flag when setting custom keyguard background

Disable the wallpaper when showing a full-screen custom keyguard
background, e.g. artwork from the RemoteController. This has two nice
effects:

* The wallpaper doesn't visibly "leak" as the keyguard is dismissed
  and fades out

* We save an extra compositing/overdraw step when drawing custom
  backgrounds

Bug 11172944

Change-Id: Id635dcea6b48392f841c9c549327bccff3308c0a

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 11 Oct 2013 02:39:22 +0000 (19:39 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3bb5aab8e93b40476cf88a5266fe4343bc3848f0
Auto-generated-cl: translation import

10 years agoFix dock rect calculation when nav is translucent.
John Spurlock [Fri, 11 Oct 2013 02:10:42 +0000 (22:10 -0400)]
Fix dock rect calculation when nav is translucent.

Make sure the dock rect in PWM takes the nav bar height
into account when translucent.  This forms the basis of
many other window calculations, and has multiple downstream
effects.

Fixing this exposed the fact that the Keyguard was not allowed
to fall into the LAYOUT_HIDE_NAV codepath (since it's not an app
window) - so add TYPE_KEYGUARD to that path.

Bug:11157555
Change-Id: I6b1fc4da973a246b80ec108a561e06f6d8a6a92b

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 11 Oct 2013 02:16:51 +0000 (19:16 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4bdcff01e1271ee4a7695a9bb646cd84530f654e
Auto-generated-cl: translation import

10 years agoMerge "Fix registerListener and flush bugs." into klp-dev
Aravind Akella [Fri, 11 Oct 2013 02:05:53 +0000 (02:05 +0000)]
Merge "Fix registerListener and flush bugs." into klp-dev

10 years agoFit and finish for camera affordance animations in keyguard
Jim Miller [Thu, 26 Sep 2013 01:57:43 +0000 (18:57 -0700)]
Fit and finish for camera affordance animations in keyguard
- better timing
- animate warp back when finger is released.
- Improve on/off screen animation for warped view
- Re-use existing constants for consistent timing.
- Hide the challenge area when the camera page is settling.
- Reduce jank when camera page starts snap transition.
- Prevent warping from going to previous page
- Smoothly blend between PagedView and Warp animations when scrolling starts.

Bug 10991981

Change-Id: I84822790a040a2ce2dcea60a9486f01df9cff105

10 years agoMerge "Fixing jank when transition from print dialog to generating one." into klp-dev
Svetoslav [Fri, 11 Oct 2013 01:39:09 +0000 (01:39 +0000)]
Merge "Fixing jank when transition from print dialog to generating one." into klp-dev

10 years agoMerge "Fix issue #11175600: Proc stats is aggregating stats in the wrong direction...
Dianne Hackborn [Fri, 11 Oct 2013 01:29:25 +0000 (01:29 +0000)]
Merge "Fix issue #11175600: Proc stats is aggregating stats in the wrong direction" into klp-dev

10 years agoFix issue #11175600: Proc stats is aggregating stats in the wrong direction
Dianne Hackborn [Fri, 11 Oct 2013 01:27:24 +0000 (18:27 -0700)]
Fix issue #11175600: Proc stats is aggregating stats in the wrong direction

Change-Id: I7f06fbde8f52296cb2932003b4da77b2c68a6011

10 years agoMerge "Re-enable ActionMenuPresenter view recycling" into klp-dev
Adam Powell [Fri, 11 Oct 2013 01:27:20 +0000 (01:27 +0000)]
Merge "Re-enable ActionMenuPresenter view recycling" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 11 Oct 2013 01:25:40 +0000 (18:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4031eafe6c1d9a831c733711ddb2fcdc89400e8d
Auto-generated-cl: translation import

10 years agoRe-enable ActionMenuPresenter view recycling
Adam Powell [Fri, 11 Oct 2013 01:07:48 +0000 (18:07 -0700)]
Re-enable ActionMenuPresenter view recycling

Since action bar transitions are turned off again for now, re-enabling
item view recycling fixes an unfortunate regression with submenus.

If a menu view is invalidated while a submenu is open we need to keep
its anchor consistent. With view recycling active we preserve status
quo and the previous anchor view instance for the popup window remains
in place.

In the future this will need to get more sophisticated;
ActionMenuPresenter will need to re-parent an open submenu against the
proper anchor view by menu item id. But that is a change for another
day.

Bug 11174504

Change-Id: I7e8a444f6996ec95417d20e87938f496e9c3a4dd

10 years agoam a8914d02: am 0c74fc28: am 234101a4: Merge "Doc change: add tablet success story...
Dirk Dougherty [Fri, 11 Oct 2013 00:57:22 +0000 (17:57 -0700)]
am a8914d02: am 0c74fc28: am 234101a4: Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs

* commit 'a8914d02f41cd0ee89b6aa33407d51d43790902b':
  Doc change: add tablet success story and fix a few issues.

10 years agoam 0c74fc28: am 234101a4: Merge "Doc change: add tablet success story and fix a few...
Dirk Dougherty [Fri, 11 Oct 2013 00:53:51 +0000 (17:53 -0700)]
am 0c74fc28: am 234101a4: Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs

* commit '0c74fc28b71df1a59bd6c94e62c1247ae922cff7':
  Doc change: add tablet success story and fix a few issues.

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 11 Oct 2013 00:53:10 +0000 (17:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: I46c4f3ef25ecaeeba9a0b7d76bcaf3c07ca6f622
Auto-generated-cl: translation import

10 years agoam 234101a4: Merge "Doc change: add tablet success story and fix a few issues." into...
Dirk Dougherty [Fri, 11 Oct 2013 00:50:21 +0000 (17:50 -0700)]
am 234101a4: Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs

* commit '234101a4c597fe285703f7a012ef9eda6c751578':
  Doc change: add tablet success story and fix a few issues.

10 years agoMerge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs
Dirk Dougherty [Fri, 11 Oct 2013 00:48:14 +0000 (00:48 +0000)]
Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 11 Oct 2013 00:47:20 +0000 (17:47 -0700)]
Import translations. DO NOT MERGE

Change-Id: I902ff15c7df70eef8986dc2dcfbac59551f085fa
Auto-generated-cl: translation import

10 years agoResize lock screen widgets when IME is open.
Alan Viverette [Fri, 11 Oct 2013 00:46:03 +0000 (17:46 -0700)]
Resize lock screen widgets when IME is open.

BUG: 9942708
Change-Id: I05330b1d70aa79f72e42c118dda5e1c5f18bf45a

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 11 Oct 2013 00:44:24 +0000 (17:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: Icd16db08d07dc6156aecaa64750e91b492b9c86a
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 11 Oct 2013 00:41:38 +0000 (17:41 -0700)]
Import translations. DO NOT MERGE

Change-Id: I395f75035dd4d8e68531dda219488d7d15344ade
Auto-generated-cl: translation import

10 years agoMerge "Fix layout and invalidate in SubtitleView" into klp-dev
Alan Viverette [Fri, 11 Oct 2013 00:24:02 +0000 (00:24 +0000)]
Merge "Fix layout and invalidate in SubtitleView" into klp-dev

10 years agoFixing jank when transition from print dialog to generating one.
Svetoslav [Thu, 10 Oct 2013 23:46:06 +0000 (16:46 -0700)]
Fixing jank when transition from print dialog to generating one.

Initially we show the print dialog and when the user presses print
we show a generating dialog with an indefinite spinner and a cancel
button. The transition between the two UIs which are really different
layouts show in the print activity is animated. In the middle of
the animation from print to generating UI there was a jump of the
content and an undesired window animation kicking in. This is a
side effect of changing the activity to floating so now changing the
container size was causing window resize and hence animation. Fun!

bug:10983508

Change-Id: I7d88e073c55863b945cdb50822401592f32d44c3

10 years agoMerge "Adding missing resourcs for the defaul PDF printer media sizes." into klp-dev
Svetoslav Ganov [Thu, 10 Oct 2013 23:52:06 +0000 (23:52 +0000)]
Merge "Adding missing resourcs for the defaul PDF printer media sizes." into klp-dev

10 years agoDoc change: add tablet success story and fix a few issues.
Dirk Dougherty [Thu, 10 Oct 2013 23:34:40 +0000 (16:34 -0700)]
Doc change: add tablet success story and fix a few issues.

Change-Id: Ifdc494270d200604b9a228601b5ead0e8b2c4e3f

10 years agoTelephony: SMS over IMS
Rika Brooks [Tue, 7 Aug 2012 21:51:19 +0000 (14:51 -0700)]
Telephony: SMS over IMS

Add RIL_REQUEST_IMS_REGISTRATION_STATE, RIL_REQUEST_IMS_SEND_SMS, and
RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED.  Add FORMAT_UNKNOWN to
SmsConstants.

Bug: 9626411
Change-Id: I87ca9841b4ace931c55e2d379fe6d7589b2dc8a5
Signed-off-by: Ed Tam <etam@google.com>
10 years agoMerge "Fix issue #11157301: Bad process stats when apps are binding to long-running...
Dianne Hackborn [Thu, 10 Oct 2013 23:11:59 +0000 (23:11 +0000)]
Merge "Fix issue #11157301: Bad process stats when apps are binding to long-running services" into klp-dev

10 years agoFix issue #11157301: Bad process stats when apps are binding to long-running services
Dianne Hackborn [Thu, 10 Oct 2013 02:11:20 +0000 (19:11 -0700)]
Fix issue #11157301: Bad process stats when apps are binding to long-running services

We now treat PROCESS_STATE_TOP more specially.  When a process has another
client bound to it that is TOP, it will only allow itself to go in the TOP
state if it is not already running for another significant reason.

Change-Id: Ia3856406bd481bf6e98d55100a5513ccf4060e0d

10 years agoMerge "Fix SystemUI crash on devices with WiFi only" into klp-dev
Adam Lesinski [Thu, 10 Oct 2013 23:03:53 +0000 (23:03 +0000)]
Merge "Fix SystemUI crash on devices with WiFi only" into klp-dev

10 years agoMerge "getProxy in ConnectivityService returns port w/PAC" into klp-dev
Jason Monk [Thu, 10 Oct 2013 22:52:02 +0000 (22:52 +0000)]
Merge "getProxy in ConnectivityService returns port w/PAC" into klp-dev

10 years agoFix SystemUI crash on devices with WiFi only
Adam Lesinski [Thu, 10 Oct 2013 22:49:57 +0000 (15:49 -0700)]
Fix SystemUI crash on devices with WiFi only

A recent change to QuickSettings forgot to
check whether the device has a radio or not.

Change-Id: I0b89634b290e82a1702de7b2f539cef3efa6d246

10 years agoSetting MTU size for specific network
seonju.oh [Thu, 10 Oct 2013 06:41:50 +0000 (15:41 +0900)]
Setting MTU size for specific network

UK H3G - MTU:1440, HPLMN:234-20, 235-94

Bug:10195070
Change-Id: I42b4472ee1c64044872ea1fcaf268faf500dd879

10 years agoMerge "New icons that eliminate location "crosshair" -b/8142654" into klp-dev
David Christie [Thu, 10 Oct 2013 22:29:45 +0000 (22:29 +0000)]
Merge "New icons that eliminate location "crosshair" -b/8142654" into klp-dev

10 years agoMerge "Check callback null condition for register/unregsiter state change callback...
Matthew Xie [Thu, 10 Oct 2013 21:56:19 +0000 (21:56 +0000)]
Merge "Check callback null condition for register/unregsiter state change callback" into klp-dev

10 years agogetProxy in ConnectivityService returns port w/PAC
Jason Monk [Thu, 10 Oct 2013 18:02:51 +0000 (14:02 -0400)]
getProxy in ConnectivityService returns port w/PAC

Changes the PacManager to report message back to ConnectivityService
to send a broadcast once the download has completed.  This allows the
ConnectivityService to store the correct proxy info for getProxy().

This made the problem arise that ProxyProperties was not handling port
while it had PAC.  Added small fix for equals() and parcelization.

The combination of these fixes seems to resolve Bug: 11028616.

Bug: 11168706
Change-Id: I92d1343a8e804391ab77596b8167a2ef8d76b378

10 years agoMerge "Properly size KG camera animation for translucent bars." into klp-dev
Daniel Sandler [Thu, 10 Oct 2013 20:40:28 +0000 (20:40 +0000)]
Merge "Properly size KG camera animation for translucent bars." into klp-dev

10 years agoMerge "Update navigation bar gradient." into klp-dev
John Spurlock [Thu, 10 Oct 2013 20:33:09 +0000 (20:33 +0000)]
Merge "Update navigation bar gradient." into klp-dev

10 years agoUpdate navigation bar gradient.
John Spurlock [Thu, 10 Oct 2013 20:28:34 +0000 (16:28 -0400)]
Update navigation bar gradient.

Bug:10967264
Change-Id: I6a057fb0895ab46bddb4082d49c8b53b329f0c73

10 years agoMerge "Keyguard customization for mcc262-mnc07" into klp-dev
Jim Miller [Thu, 10 Oct 2013 20:28:00 +0000 (20:28 +0000)]
Merge "Keyguard customization for mcc262-mnc07" into klp-dev

10 years agoProperly size KG camera animation for translucent bars.
Daniel Sandler [Thu, 10 Oct 2013 16:44:12 +0000 (12:44 -0400)]
Properly size KG camera animation for translucent bars.

The KGHV now plumbs insets information down into the camera
so that it can leave space for the navigation bar if the KG
window happens to extend underneath it. The camera widget
preview must therefore be rendered to fit the size of the
smaller inset content area, which means there's now a hole
at the bottom; we fill this bottom area during animation
with a fake navigation bar: a black view occupying the area
underneath the real navbar.

Bug: 11048015
Change-Id: Ia23b62e155686ad9f17a25ccc14f6c97b53dafea

10 years agoMerge "Makes ACTION_PAIRING_REQUEST require BLUETOOTH_PRIVILEGED." into klp-dev
Edward Jee [Thu, 10 Oct 2013 20:07:41 +0000 (20:07 +0000)]
Merge "Makes ACTION_PAIRING_REQUEST require BLUETOOTH_PRIVILEGED." into klp-dev

10 years agoMerge "Reinflate QSB RSSI Tile on config change" into klp-dev
Adam Lesinski [Thu, 10 Oct 2013 19:54:42 +0000 (19:54 +0000)]
Merge "Reinflate QSB RSSI Tile on config change" into klp-dev

10 years agoReinflate QSB RSSI Tile on config change
Adam Lesinski [Thu, 10 Oct 2013 01:53:31 +0000 (18:53 -0700)]
Reinflate QSB RSSI Tile on config change

Resources that change based on MCC or MNC will now
show on the RSSI tile in Quick Settings.

bug:10518893
Change-Id: I55a77f967d2630b5c1aa17382069a15f37745405

10 years agoCheck callback null condition for register/unregsiter state change callback
Matthew Xie [Thu, 10 Oct 2013 18:21:40 +0000 (11:21 -0700)]
Check callback null condition for register/unregsiter state change callback

Fix BluetoothPan closing sequence for unregsiter state change callback
bug 11160007

Change-Id: I405ec91a938289fe9541de2ebd9abc1fb938f44a

10 years agoMerge "Revert "Headphones volume warning disabled by default"" into klp-dev
Eric Laurent [Thu, 10 Oct 2013 18:43:11 +0000 (18:43 +0000)]
Merge "Revert "Headphones volume warning disabled by default"" into klp-dev

10 years agoMakes ACTION_PAIRING_REQUEST require BLUETOOTH_PRIVILEGED.
Edward Jee [Tue, 8 Oct 2013 01:12:15 +0000 (18:12 -0700)]
Makes ACTION_PAIRING_REQUEST require BLUETOOTH_PRIVILEGED.

Bug: 11087521
Change-Id: I99cc584987bf12fe0648b048398b4eb9836e6172

10 years agoMerge "Make LayoutTransition.setInterpolator() actually do something" into klp-dev
Chet Haase [Thu, 10 Oct 2013 18:22:08 +0000 (18:22 +0000)]
Merge "Make LayoutTransition.setInterpolator() actually do something" into klp-dev

10 years agoMerge "Ensure accessibility node cache is synced with service state" into klp-dev
Alan Viverette [Thu, 10 Oct 2013 18:19:24 +0000 (18:19 +0000)]
Merge "Ensure accessibility node cache is synced with service state" into klp-dev

10 years agoMake LayoutTransition.setInterpolator() actually do something
Chet Haase [Thu, 10 Oct 2013 18:11:37 +0000 (11:11 -0700)]
Make LayoutTransition.setInterpolator() actually do something

Previously, you could set a new interpolator on a LayoutTransition object,
but it wouldn't have any effect, since the value was only used at construction
time. This change makes the intended behavior work, byt assigning that
new interpolator to the appropriate animations when they are run.

Issue #11163487 LayoutTransition.setInterpolator() has no effect

Change-Id: I1b390a30c008ac2bf26491dc352e28f276357388

10 years agoMerge "IME navigation guard implemented as a View." into klp-dev
John Spurlock [Thu, 10 Oct 2013 18:15:00 +0000 (18:15 +0000)]
Merge "IME navigation guard implemented as a View." into klp-dev

10 years agoRevert "Headphones volume warning disabled by default"
Eric Laurent [Thu, 10 Oct 2013 17:43:13 +0000 (10:43 -0700)]
Revert "Headphones volume warning disabled by default"

This reverts commit 7cf06209dcdbadd41fabd7e4e7229832aa8ffff2.

Bug: 10297243.
Change-Id: I95b9b34bb38550af493f9a585b6940c4e18e39cc

10 years agoMerge "Remove unused time tile and resources" into klp-dev
Chris Craik [Thu, 10 Oct 2013 17:37:22 +0000 (17:37 +0000)]
Merge "Remove unused time tile and resources" into klp-dev

10 years agoMerge "Guard against NPE when using existing process." into klp-dev
Jeff Sharkey [Thu, 10 Oct 2013 17:17:14 +0000 (17:17 +0000)]
Merge "Guard against NPE when using existing process." into klp-dev

10 years agoMerge "Sometimes the print button not enabled and an accessibility fix." into klp-dev
Svetoslav [Thu, 10 Oct 2013 17:11:20 +0000 (17:11 +0000)]
Merge "Sometimes the print button not enabled and an accessibility fix." into klp-dev

10 years agoMerge "Coalescing multiple print job notifications." into klp-dev
Svetoslav Ganov [Thu, 10 Oct 2013 17:10:59 +0000 (17:10 +0000)]
Merge "Coalescing multiple print job notifications." into klp-dev

10 years agoIME navigation guard implemented as a View.
John Spurlock [Thu, 10 Oct 2013 14:27:44 +0000 (10:27 -0400)]
IME navigation guard implemented as a View.

Instead of a custom onDraw in order to stay 100% in sync with abrupt
layout changes.

Also use the unrestricted layout bottom to avoid unnecessary
fitSystemWindows churn.

Bug:11162351
Change-Id: If9bb9a52d503e348d642bf1238f75c4a418ad805

10 years agoGuard against NPE when using existing process.
Jeff Sharkey [Thu, 10 Oct 2013 16:52:48 +0000 (09:52 -0700)]
Guard against NPE when using existing process.

Bug: 11167561
Change-Id: I51ca7daa71504119fb64bc7bc2b7da4e03b13861

10 years agoMerge "NotificationPanel now shows correct date" into klp-dev
Chet Haase [Thu, 10 Oct 2013 16:25:56 +0000 (16:25 +0000)]
Merge "NotificationPanel now shows correct date" into klp-dev

10 years agoMerge "WifiStateMachine: fix for exiting L2ConnectedState" into klp-dev
Yuhao Zheng [Thu, 10 Oct 2013 16:18:59 +0000 (16:18 +0000)]
Merge "WifiStateMachine: fix for exiting L2ConnectedState" into klp-dev

10 years agoNotificationPanel now shows correct date
Chet Haase [Thu, 10 Oct 2013 16:03:19 +0000 (09:03 -0700)]
NotificationPanel now shows correct date

There was a problem with a cached instance of a Date object such that it
would retain information about the default TimeZone that was not updated
when the TimeZone was set to the correct value. This resulted in NotificationPanel
sometimes showing the wrong date, based on the time and the delta between
the local timezone and GMT.

The fix is to use an ACTION_TIMEZONE_CHANGED broadcast to recreate the cached
Date object appropriately.

Issue #10854196 Incorrect date showing in notification shade

Change-Id: Ibf883e1ff37f4d0aae6840fb19e43e7e9e45bcc2

10 years agoAdding missing resourcs for the defaul PDF printer media sizes.
Svetoslav Ganov [Thu, 10 Oct 2013 07:52:29 +0000 (00:52 -0700)]
Adding missing resourcs for the defaul PDF printer media sizes.

Some regions have different media size standards and the fake PDF
printer shows the media sizes for the current locale. Interestingly,
these files were skipped in my previous change while I remember
adding them - maybe did not upload the patch.

bug:11147920

Change-Id: I819ab08fbef08305be89e3acf297328b1a0ded11

10 years agoSometimes the print button not enabled and an accessibility fix.
Svetoslav [Wed, 9 Oct 2013 00:17:08 +0000 (17:17 -0700)]
Sometimes the print button not enabled and an accessibility fix.

1. Sometimes the print button is not enabled after selecting a printer
   from the all printers activity. This was happening after a printer
   was selected, we had to do a layout due to changed print attributes
   (because of the new printer's capabilities), and the content did not
   change. In this case we did not call the updateUi function which
   enables the print button after layout is completed.

2. The accessibility code in the all printers activity was not checking
   whether accessibility is on and doing some unnecessary work - not sending
   events though but still. Further, the delayed runnable that was
   doing the accessibilty announcements was not removed when the activity
   was paused.

bug:10983508

Change-Id: Ib263116a3e21e4c75a25aa051cecbd9194417319

10 years agoCoalescing multiple print job notifications.
Svetoslav Ganov [Thu, 10 Oct 2013 05:55:49 +0000 (22:55 -0700)]
Coalescing multiple print job notifications.

1. We used to show a single notificaiton for every print job but
   this is against th UX guidelines. Since we have to lead by
   example, this change adds coalescing of multiple notifications.

bug:11155212

2. Print job state callback in the PrintManager now correctly
   invoked on the main thread.

bug:10983508

Change-Id: I906e9e62198fa37cb4d2f71fce07ed475d61e1bd

10 years agoMerge "Update preloaded-classes for KLP" into klp-dev
Brian Carlstrom [Thu, 10 Oct 2013 05:19:12 +0000 (05:19 +0000)]
Merge "Update preloaded-classes for KLP" into klp-dev

10 years agoUpdate preloaded-classes for KLP
Brian Carlstrom [Thu, 10 Oct 2013 03:45:30 +0000 (20:45 -0700)]
Update preloaded-classes for KLP

Bug: 9189353
Change-Id: I9136692d7f23a513553981eca398351f28b5ddc6

10 years agoFix registerListener and flush bugs.
Aravind Akella [Wed, 2 Oct 2013 00:58:35 +0000 (17:58 -0700)]
Fix registerListener and flush bugs.

1) Fix registerListener to return false when called with a Trigger sensor. Correct java documentation.
2) Remove reservedFlags and FlushCompleteListener parameters from the public API.
3) Create SensorEventListener2 which extends SensorEventListener and has the onFlushCompleted callback.
3) Change flush(Sensor) API to flush(SensorEventListener).

Change-Id: I56ce4e0b6e329483e129a14ad7e8a0cd35665ffe
Bug: 10894703