OSDN Git Service

android-x86/frameworks-base.git
10 years agocamera2 docs: Fix instructions for using SurfaceView.
Eino-Ville Talvala [Thu, 12 Jun 2014 23:46:58 +0000 (16:46 -0700)]
camera2 docs: Fix instructions for using SurfaceView.

Bug: 15597178
Change-Id: I802369e61725451ddd8df855c384608c80e12693

10 years agocamera2: Remove stray </p> in CameraDevice#createCaptureSession
Sol Boucher [Wed, 11 Jun 2014 23:35:57 +0000 (16:35 -0700)]
camera2: Remove stray </p> in CameraDevice#createCaptureSession

This was causing strange indentation.
The change also clarifies how to get the supported output sizes in the
ImageReader flow: Although the doc (correctly) instructed the developer to use
StreamConfigurationMap#getOutputSizes(int) with an ImageReader, this instruction
appeared after the bulleted list of output types. Since all other items in that
list specify that getOutputSizes(Class<?>) should be used, the reader shouldn't
be expected to read beyond the list only in this specific case.

Bug: 15574400
Change-Id: Id952b46ae52322d75abbcaffea678d5ba50b22a5

10 years agoMerge "DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4...
Ihab Awad [Thu, 12 Jun 2014 17:30:38 +0000 (17:30 +0000)]
Merge "DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)" into lmp-preview-dev

10 years agoDO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)
Ihab Awad [Tue, 10 Jun 2014 20:29:47 +0000 (13:29 -0700)]
DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)

Bug: 15275904
Bug: 15196474
Change-Id: If9aeae519047b221aa2c178d8d2903c4e2054a6d

10 years agoMerge "Update PhoneWindow to new window inset dispatching" into lmp-preview-dev
Adrian Roos [Thu, 12 Jun 2014 15:28:33 +0000 (15:28 +0000)]
Merge "Update PhoneWindow to new window inset dispatching" into lmp-preview-dev

10 years agoUpdate PhoneWindow to new window inset dispatching
Adrian Roos [Thu, 12 Jun 2014 12:15:39 +0000 (14:15 +0200)]
Update PhoneWindow to new window inset dispatching

PhoneWindow was relying on an implementation detail of the
old fitSystemWindow mechanism to consume only the top inset.
In the new mechanism, the contract changed an consuming the
inset did no longer work, leading to the insets being applied
twice in some cases.

Bug: 15388544
Change-Id: Ife8361f2b1e5caf8c3ed90646344d653876e8e7d

10 years agoMerge "Add reasonable default activity transitions to theme.material.light." into...
George Mount [Thu, 12 Jun 2014 14:47:10 +0000 (14:47 +0000)]
Merge "Add reasonable default activity transitions to theme.material.light." into lmp-preview-dev

10 years agoAdd reasonable default activity transitions to theme.material.light.
George Mount [Thu, 12 Jun 2014 14:41:13 +0000 (07:41 -0700)]
Add reasonable default activity transitions to theme.material.light.

Bug 15583434

Change-Id: Ie4dd08a0392698d2e2794a82d50ad9a213658917

10 years agoMerge "Manage heads up state during notification update." into lmp-preview-dev
Chris Wren [Thu, 12 Jun 2014 10:54:50 +0000 (10:54 +0000)]
Merge "Manage heads up state during notification update." into lmp-preview-dev

10 years agoManage heads up state during notification update.
Chris Wren [Wed, 11 Jun 2014 21:37:28 +0000 (17:37 -0400)]
Manage heads up state during notification update.

Notifications can now get the heads up slot on updates.
FLAG_ONLY_ALERT_ONCE suppresses this behavior.

Bug: 15534198
Change-Id: Ie27b7c7d93c590d777670c538fb796a04252046f

10 years agoMerge "Stop sending broadcasts to RecentsActivity before boot has completed. (Bug...
Winson Chung [Wed, 11 Jun 2014 21:34:03 +0000 (21:34 +0000)]
Merge "Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)" into lmp-preview-dev

10 years agoStop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)
Winson Chung [Wed, 11 Jun 2014 21:19:53 +0000 (14:19 -0700)]
Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)

Change-Id: Ic04dc2ef73c75d63e107e7b50842dd618d3a173a

10 years agoClean up progress bars for media & other notifications.
Daniel Sandler [Thu, 5 Jun 2014 06:54:26 +0000 (02:54 -0400)]
Clean up progress bars for media & other notifications.

Bug: 15147533
Change-Id: Ib4905203c004232bd7d78fe9fa316aa5688eaaa2

10 years agoUpdate documentation so it meets api requirements
Jessica Hummel [Wed, 21 May 2014 11:32:57 +0000 (12:32 +0100)]
Update documentation so it meets api requirements

Change-Id: Ice52dc3d5ecca77f81d3df1b43179c94aece6fef
bug:15023443

Conflicts:
api/current.txt
core/java/android/app/admin/DeviceAdminReceiver.java

10 years agoMerge "Fix Material Preference Framework layout" into lmp-preview-dev
Fabrice Di Meglio [Wed, 11 Jun 2014 21:26:02 +0000 (21:26 +0000)]
Merge "Fix Material Preference Framework layout" into lmp-preview-dev

10 years agoFix Material Preference Framework layout
Fabrice Di Meglio [Wed, 11 Jun 2014 21:18:00 +0000 (14:18 -0700)]
Fix Material Preference Framework layout

- replace "left" with "start"

Change-Id: I02f3ce5ce98bab7eb9eb2f2928cd5eb8f6b155d2

10 years agoMerge "Support fake italics" into lmp-preview-dev
Raph Levien [Wed, 11 Jun 2014 21:18:43 +0000 (21:18 +0000)]
Merge "Support fake italics" into lmp-preview-dev

10 years agoSupport fake italics
Raph Levien [Sat, 7 Jun 2014 05:31:15 +0000 (22:31 -0700)]
Support fake italics

This patch adds fake italics, using essentially the same mechanism as
the fake bold implementation. Also combines fake bold/italic settings
with ones explicitly set in the paint.

Change-Id: Ia7eb3ddc8a6192d191711ba723ffd0d1d9d93f2e

10 years agoSupport for fake bold in Minikin builds
Raph Levien [Sat, 7 Jun 2014 01:05:22 +0000 (18:05 -0700)]
Support for fake bold in Minikin builds

Part of the fix for bug 15436379 Fake bold doesn't fully work (Minikin)

This patch queries the Minikin layout for when fake bold is needed,
and applies that to both shaping and drawing paint.

Also simplifies refcounting (the lifetime of all MinikinFont objects
is subsumed by the enclosing FontCollection).

Note: the fake bold flag set by the user is ignored in this patch.

Fake italics would be possible using the same mechanism, but it's
slightly more complicated (fake and user-set textSkewX values would need
to be combined, and the latter restored after drawing).

Change-Id: Ica2c4604846cbb37e5a783778b18d8993c9d4563

10 years agoFix getFontMetrics problems
Raph Levien [Fri, 6 Jun 2014 05:38:08 +0000 (22:38 -0700)]
Fix getFontMetrics problems

Fixes a number of individual problems. In Minikin builds, gets base font
from TypefaceImpl rather than using whatever random font was in the
paint. Respects elegant metrics in ascent and descent methods as well as
getFontMetrics. Sets fixed ascent and descent values to 1900, -500,
which matches the Roboto font.

Part of the fix for bug 15467288 "Inconsistent line heights on
Minikin builds"

Change-Id: I12915f4a62de28932469c7279241eecf7320c47b

10 years agoMerge "Camera2: Misc + enum value documentation updates" into lmp-preview-dev
Eino-Ville Talvala [Wed, 11 Jun 2014 19:25:09 +0000 (19:25 +0000)]
Merge "Camera2: Misc + enum value documentation updates" into lmp-preview-dev

10 years agoMerge "Support for fake bold in Minikin builds" into lmp-preview-dev
Raph Levien [Wed, 11 Jun 2014 21:18:33 +0000 (21:18 +0000)]
Merge "Support for fake bold in Minikin builds" into lmp-preview-dev

10 years agoMerge "Fix public API of LinkProperties." into lmp-preview-dev
Robert Greenwalt [Wed, 11 Jun 2014 19:11:34 +0000 (19:11 +0000)]
Merge "Fix public API of LinkProperties." into lmp-preview-dev

10 years agoFix public API of LinkProperties.
Robert Greenwalt [Fri, 6 Jun 2014 17:30:11 +0000 (10:30 -0700)]
Fix public API of LinkProperties.

bug:15142362
(cherry picked from commit 51d898fd0223a4b7c728980ab987dd985c02df5f)
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc

10 years agoMerge "Fix getFontMetrics problems" into lmp-preview-dev
Raph Levien [Wed, 11 Jun 2014 21:18:07 +0000 (21:18 +0000)]
Merge "Fix getFontMetrics problems" into lmp-preview-dev

10 years agoMerge "Fix race in shadow tessellation by deep copying task params" into lmp-preview-dev
Chris Craik [Wed, 11 Jun 2014 21:01:19 +0000 (21:01 +0000)]
Merge "Fix race in shadow tessellation by deep copying task params" into lmp-preview-dev

10 years agoFix race in shadow tessellation by deep copying task params
Chris Craik [Wed, 11 Jun 2014 20:44:19 +0000 (13:44 -0700)]
Fix race in shadow tessellation by deep copying task params

bug:15369119
Change-Id: Ica1445f06693b1cfd038cf3494afe1210d5507c1

10 years agoMerge "DO NOT MERGE: camera2: Disallow shim usage for preview." into lmp-preview-dev
Ruben Brunk [Wed, 11 Jun 2014 00:09:36 +0000 (00:09 +0000)]
Merge "DO NOT MERGE: camera2: Disallow shim usage for preview." into lmp-preview-dev

10 years agoMerge "Fix calling startConfirmation instead of startCommand." into lmp-preview-dev
Dianne Hackborn [Wed, 11 Jun 2014 20:37:17 +0000 (20:37 +0000)]
Merge "Fix calling startConfirmation instead of startCommand." into lmp-preview-dev

10 years agoFix calling startConfirmation instead of startCommand.
Dianne Hackborn [Wed, 11 Jun 2014 20:23:18 +0000 (13:23 -0700)]
Fix calling startConfirmation instead of startCommand.

Duh!

Change-Id: Ia9785a1ab37e38b7a044c2d389a1015a209654c9

10 years agoChanged the visual appearance of the speedbump view.
Selim Cinek [Wed, 11 Jun 2014 18:03:14 +0000 (20:03 +0200)]
Changed the visual appearance of the speedbump view.

The colorfulldots are replaced by a simple line to avoid
catching too much attention.

Bug: 15188625
Change-Id: I41be50dcc61d495f3bc88e4731388f770fda83d0

10 years agoMerge "Camera2: Many docs updates" into lmp-preview-dev
Eino-Ville Talvala [Wed, 11 Jun 2014 00:04:08 +0000 (00:04 +0000)]
Merge "Camera2: Many docs updates" into lmp-preview-dev

10 years agoMerge "Apply API review to android.net.Network:" into lmp-preview-dev
Robert Greenwalt [Tue, 10 Jun 2014 23:30:34 +0000 (23:30 +0000)]
Merge "Apply API review to android.net.Network:" into lmp-preview-dev

10 years agoApply API review to android.net.Network:
Paul Jensen [Thu, 29 May 2014 14:12:39 +0000 (10:12 -0400)]
Apply API review to android.net.Network:

- socketFactory() renamed to getSocketFactory()
- Make sure bindProcess() documentation points developers to getSocketFactory() as the preferred approach
- Move bindProcess() and unbindProcess() to ConnectivityManager.setProcessBoundNetwork() -- passing null clears it.
- Move getProcessBoundNetwork() to ConnectivityManager.getProcessBoundNetwork().

Bug:15142362
Bug:13885501

Change-Id: Ia55c59d52e1ec8bf10dd0d9d037bd04c0998bc71
(cherry picked from commit 5ca1e6675bf4182b6e9ca76a7696bf2e38e96c4f)

10 years agoCamera2: Misc + enum value documentation updates
Eino-Ville Talvala [Mon, 9 Jun 2014 21:25:50 +0000 (14:25 -0700)]
Camera2: Misc + enum value documentation updates

- Update enum values for many entries
- Reword various sections of documentation for clarity.

Bug: 15475465
Change-Id: I2b03cac8d478e945c7d93717845a9ae44b97639b

10 years agoMerge "Implement control of auto power save mode." into lmp-preview-dev
Dianne Hackborn [Wed, 11 Jun 2014 17:42:35 +0000 (17:42 +0000)]
Merge "Implement control of auto power save mode." into lmp-preview-dev

10 years agoImplement control of auto power save mode.
Dianne Hackborn [Wed, 11 Jun 2014 06:13:02 +0000 (23:13 -0700)]
Implement control of auto power save mode.

Follow the setting for auto power save mode in both
battery service and battery UI.  Default level is 15 when
setting is not set; otherwise it is whatever the setting
gives, with 0 meaning auto battery save is off.

Change how we define the "turn off warn" level to be
an adjustment from the warn level, so we can have a good
value for whatever auto setting is set.

Fix power manager to never go in to power save mode when
plugged in, even if the user has manually turned it on.

Add new delete option to settings command, because I needed
it for testing.

Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85

10 years agoMerge "Fix battery controller non-fire bug" into lmp-preview-dev
Matthew Williams [Tue, 10 Jun 2014 23:22:47 +0000 (23:22 +0000)]
Merge "Fix battery controller non-fire bug" into lmp-preview-dev

10 years agoFix battery controller non-fire bug
Matthew Williams [Tue, 10 Jun 2014 19:59:29 +0000 (12:59 -0700)]
Fix battery controller non-fire bug

Receiver wasn't registered to listen for the action coming
back from the Alarm Manager.
Also, if a task starts being tracked by the battery controller
and the device is on power, the batt. controller will notify
the scheduler as such.
Added dumpsys for battery controller to help debugging.
Change-Id: I7ce305b816aea69e8d05a3daf23124c163546788

10 years agoFix build.
Matthew Williams [Tue, 10 Jun 2014 23:06:13 +0000 (16:06 -0700)]
Fix build.

Two tests were breaking the build.

Change-Id: If424a552d3fedb912fa94870b88c60dc3750b69a

10 years agoMerge "Some tweaks to improve document task creation." into lmp-preview-dev
Dianne Hackborn [Wed, 11 Jun 2014 17:20:58 +0000 (17:20 +0000)]
Merge "Some tweaks to improve document task creation." into lmp-preview-dev

10 years agoSome tweaks to improve document task creation.
Dianne Hackborn [Wed, 11 Jun 2014 04:36:35 +0000 (21:36 -0700)]
Some tweaks to improve document task creation.

- Mark the chooser activity as never launching in to a new
  task, even if the caller asks for it.  These are dialogs
  so don't make sense as stand-alone tasks.  (Maybe later
  the policy should be to not launch into a new task in any
  case that the activity is a dialog or even transparent at all.)

- Keep track in the task record of whether any activities in
  it have been shown to the user, and use this to automatically
  remove the task when all activities finish.  This leans up
  cases where apps are launching stub activities that get turned
  in to tasks but are never seen by the user because they
  immediately launch another activity in another task and
  then finish.

Change-Id: I00b641c80aa96bd5071479f36ee2e4d8e3a81aeb

10 years agoMerge "Updating Recents to make the cards slightly more visible." into lmp-preview-dev
Winson Chung [Tue, 10 Jun 2014 22:00:10 +0000 (22:00 +0000)]
Merge "Updating Recents to make the cards slightly more visible." into lmp-preview-dev

10 years agoMerge "Fix build" into lmp-preview-dev
Christopher Tate [Tue, 10 Jun 2014 22:31:31 +0000 (22:31 +0000)]
Merge "Fix build" into lmp-preview-dev

10 years agoFix build
Christopher Tate [Tue, 10 Jun 2014 22:20:49 +0000 (15:20 -0700)]
Fix build

Change-Id: I339f7f1ab82af699ee34c3baf824d0278477a4cf

10 years agoMerge "Brightness slider no longer displays the automatic icon." into lmp-preview-dev
John Spurlock [Wed, 11 Jun 2014 03:16:57 +0000 (03:16 +0000)]
Merge "Brightness slider no longer displays the automatic icon." into lmp-preview-dev

10 years agoBrightness slider no longer displays the automatic icon.
John Spurlock [Tue, 10 Jun 2014 23:26:14 +0000 (19:26 -0400)]
Brightness slider no longer displays the automatic icon.

Bug:15414855
Change-Id: I3a1b8e7758e41abd172c20177f42452077bfc7a7

10 years agoMerge "Accessibility window changes not reported." into lmp-preview-dev
Svetoslav [Wed, 11 Jun 2014 01:49:34 +0000 (01:49 +0000)]
Merge "Accessibility window changes not reported." into lmp-preview-dev

10 years agoAccessibility window changes not reported.
Svetoslav [Wed, 11 Jun 2014 01:00:12 +0000 (18:00 -0700)]
Accessibility window changes not reported.

On accessibility service side we were asking only for cached windows but since
to optimize performance the system is sending only deltas for windows the service
already introspected, new windows were not seen by the accessibility service.

bug:15092286

Change-Id: I7e9c360f624c53ff1773c485a8907dc425e3352a

10 years agoMerge "Remove lxml dependency." into lmp-preview-dev
Deepanshu Gupta [Wed, 11 Jun 2014 01:31:52 +0000 (01:31 +0000)]
Merge "Remove lxml dependency." into lmp-preview-dev

10 years agoRemove lxml dependency.
Deepanshu Gupta [Tue, 10 Jun 2014 21:43:23 +0000 (14:43 -0700)]
Remove lxml dependency.

The encoding for the .ttx file generated is now hard-coded to be utf-8.

Change-Id: I71c208327995651fcf44b6961510f84bafb05848

10 years agoMerge "LayoutLib: Support more ContextThemeWrappers" into lmp-preview-dev
Deepanshu Gupta [Wed, 11 Jun 2014 01:31:38 +0000 (01:31 +0000)]
Merge "LayoutLib: Support more ContextThemeWrappers" into lmp-preview-dev

10 years agoLayoutLib: Support more ContextThemeWrappers
Deepanshu Gupta [Tue, 10 Jun 2014 02:55:41 +0000 (19:55 -0700)]
LayoutLib: Support more ContextThemeWrappers

ContextThemeWrapper may be the base context for another
ContextThemeWrapper. We now extract the base context till we reach the
final context.

Change-Id: I034444a2d1579241543fd24248530b299e72498a

10 years agoLayoutLib: Fix EditText rendering
Deepanshu Gupta [Tue, 10 Jun 2014 01:57:18 +0000 (18:57 -0700)]
LayoutLib: Fix EditText rendering

Framework has overloaded java.lang.System.arraycopy() for char[]. The
method is not present on the Desktop VMs. This change replaces the calls
to this method by its more general alternative - the one using Objects.

TODO: Make it more configurable and flexible to allow rewrite of any
such methods in the future.

Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f

10 years agoMerge "LayoutLib: Fix EditText rendering" into lmp-preview-dev
Deepanshu Gupta [Wed, 11 Jun 2014 01:31:29 +0000 (01:31 +0000)]
Merge "LayoutLib: Fix EditText rendering" into lmp-preview-dev

10 years agoMerge "Hide the (obsolescent) android.app.maintenance APIs" into lmp-preview-dev
Christopher Tate [Wed, 11 Jun 2014 01:22:24 +0000 (01:22 +0000)]
Merge "Hide the (obsolescent) android.app.maintenance APIs" into lmp-preview-dev

10 years agoHide the (obsolescent) android.app.maintenance APIs
Christopher Tate [Wed, 11 Jun 2014 00:49:08 +0000 (17:49 -0700)]
Hide the (obsolescent) android.app.maintenance APIs

Bug 14994893

Change-Id: If3c06de006504e81c37eb6b716d613e5124d28bc

10 years agoMerge "Don't enable Ethernet on the emulator." into lmp-preview-dev
Lorenzo Colitti [Wed, 11 Jun 2014 01:18:50 +0000 (01:18 +0000)]
Merge "Don't enable Ethernet on the emulator." into lmp-preview-dev

10 years agoMerge "SystemUI asset update." into lmp-preview-dev
John Spurlock [Wed, 11 Jun 2014 17:07:53 +0000 (17:07 +0000)]
Merge "SystemUI asset update." into lmp-preview-dev

10 years agoSystemUI asset update.
John Spurlock [Wed, 11 Jun 2014 14:59:11 +0000 (10:59 -0400)]
SystemUI asset update.

- Updated location icons.
- Updated no-sim, plumb up to QS.
- Updated zen mode synthetic notification icon.
- Updated color inversion icons.

Change-Id: I4849fbe11683feab37160c3d23502b01035de66a

10 years agoHide status bars in lock task
justinzhang [Mon, 12 May 2014 21:06:01 +0000 (17:06 -0400)]
Hide status bars in lock task

Call StatusBarManager to show/hide status bars for lock task.
(Same CL as https://googleplex-android-review.git.corp.google.com/#/c/461068/,
sorry for the confusion.)

Bug: 13669575
Change-Id: I5c90bdb1d868aa02d3679e854b5ccbe434d996d6
(cherry picked from commit cc2365ac9eae0393154c863a21286c9a95311e15)

10 years agoMerge "Fix blank lockscreen." into lmp-preview-dev
Jorim Jaggi [Wed, 11 Jun 2014 14:51:14 +0000 (14:51 +0000)]
Merge "Fix blank lockscreen." into lmp-preview-dev

10 years agoFix blank lockscreen.
Jorim Jaggi [Wed, 11 Jun 2014 01:22:39 +0000 (03:22 +0200)]
Fix blank lockscreen.

Bug: 15281241
Change-Id: If315891274a97fa5cc579554b83b85cf3c87f0fb

10 years agoMerge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev
Chris Wren [Wed, 11 Jun 2014 14:44:00 +0000 (14:44 +0000)]
Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Allow enter activity transitions to be delayed until data is...
George Mount [Wed, 11 Jun 2014 14:11:30 +0000 (14:11 +0000)]
Merge "DO NOT MERGE Allow enter activity transitions to be delayed until data is ready." into lmp-preview-dev

10 years agoDO NOT MERGE Allow enter activity transitions to be delayed until data is ready.
George Mount [Tue, 10 Jun 2014 18:12:01 +0000 (11:12 -0700)]
DO NOT MERGE Allow enter activity transitions to be delayed until data is ready.

Bug 15539194

Change-Id: I8de9806b0bcdf8129eb3b5a555a2433f0c7be634

10 years agoMerge "Improve unlock motion." into lmp-preview-dev
Jorim Jaggi [Thu, 12 Jun 2014 04:12:50 +0000 (04:12 +0000)]
Merge "Improve unlock motion." into lmp-preview-dev

10 years agoImprove unlock motion.
Jorim Jaggi [Thu, 12 Jun 2014 02:27:38 +0000 (04:27 +0200)]
Improve unlock motion.

Bug: 15244051
Change-Id: Ib33a7a8e27a2dc191c6e18ffe1cd2725dfa3bb37

10 years agoMerge "Introduced fading views for the camera interaction on the lockscreen." into...
Selim Cinek [Thu, 12 Jun 2014 04:08:24 +0000 (04:08 +0000)]
Merge "Introduced fading views for the camera interaction on the lockscreen." into lmp-preview-dev

10 years agoIntroduced fading views for the camera interaction on the lockscreen.
Selim Cinek [Wed, 11 Jun 2014 20:48:05 +0000 (22:48 +0200)]
Introduced fading views for the camera interaction on the lockscreen.

Bug: 15126905
Change-Id: I82b0050a4216873d9cd191b32d1e5bf6871acbd6

10 years agoMerge "Fix a CTS test" into lmp-preview-dev
Jean Chalard [Thu, 12 Jun 2014 03:13:02 +0000 (03:13 +0000)]
Merge "Fix a CTS test" into lmp-preview-dev

10 years agoFix a CTS test
Jean Chalard [Wed, 11 Jun 2014 09:03:05 +0000 (18:03 +0900)]
Fix a CTS test

SpannableStringBuilder should throw an exception when the
parameters to #insert and related methods are in the wrong
order.
We'll have to reopen b/9570771 and deal with it separately.

Bug: 14965397
Change-Id: I01847e0010d23f98ad3def8ba030d36570528900

10 years agoMerge "Rename CursorAnchorInfoBuilder with Builder" into lmp-preview-dev
Yohei Yukawa [Thu, 12 Jun 2014 03:11:30 +0000 (03:11 +0000)]
Merge "Rename CursorAnchorInfoBuilder with Builder" into lmp-preview-dev

10 years agoMerge "Heads-up notifications for low battery warnings." into lmp-preview-dev
John Spurlock [Thu, 12 Jun 2014 03:06:04 +0000 (03:06 +0000)]
Merge "Heads-up notifications for low battery warnings." into lmp-preview-dev

10 years agoAllow action bar navigation icon resource id of 0
Adam Powell [Thu, 12 Jun 2014 02:57:12 +0000 (19:57 -0700)]
Allow action bar navigation icon resource id of 0

Fix a bug preventing this from being treated properly.

Bug 15458868

Change-Id: Ib1a7def482755757e524dfddd1eb6a02522c5d6b

10 years agoHeads-up notifications for low battery warnings.
John Spurlock [Mon, 10 Mar 2014 21:44:07 +0000 (17:44 -0400)]
Heads-up notifications for low battery warnings.

Falls back to dialogs when heads-up are N/A.

Add new ongoing notification if battery saver mode
is active.  Offer to start battery saver on warnings,
if not already started.

True up BatteryMeterView's levels to the latest threshold
levels.  15% for first warning.

Bug:13329308
Change-Id: Id8ad11a1997079ee7165ae003a8fa1c744462ab3

10 years agoMerge "Enable collapsing empty Toolbar-based ActionBars above tabs" into lmp-preview-dev
Adam Powell [Thu, 12 Jun 2014 02:42:27 +0000 (02:42 +0000)]
Merge "Enable collapsing empty Toolbar-based ActionBars above tabs" into lmp-preview-dev

10 years agoEnable collapsing empty Toolbar-based ActionBars above tabs
Adam Powell [Thu, 12 Jun 2014 02:31:41 +0000 (19:31 -0700)]
Enable collapsing empty Toolbar-based ActionBars above tabs

Fixes a regression where Toolbar ActionBars would hold empty space
when previous platform versions would collapse to tabs-only.

Bug 15573337

Change-Id: I6da379d2ed58e8ba8cadcd727606c7fc160ecf91

10 years agoMerge "Limit path approximation recursion depth" into lmp-preview-dev
Chris Craik [Thu, 12 Jun 2014 02:21:52 +0000 (02:21 +0000)]
Merge "Limit path approximation recursion depth" into lmp-preview-dev

10 years agoLimit path approximation recursion depth
Chris Craik [Thu, 12 Jun 2014 00:24:51 +0000 (17:24 -0700)]
Limit path approximation recursion depth

bug:15369119
Change-Id: I6f009f5e8790129e1aa8a51e1fc6cdd1415dd617

10 years agoMerge "Explicitly track consumed state for WindowInsets" into lmp-preview-dev
Adam Powell [Wed, 11 Jun 2014 22:54:16 +0000 (22:54 +0000)]
Merge "Explicitly track consumed state for WindowInsets" into lmp-preview-dev

10 years agoExplicitly track consumed state for WindowInsets
Adam Powell [Wed, 11 Jun 2014 22:33:08 +0000 (15:33 -0700)]
Explicitly track consumed state for WindowInsets

Treating 0-insets as fully consumed is incorrect since it means that
you can't dispatch empty insets down the view hierarchy - traversal
terminates immediately. Track consumed state independent of actual
values. Replacing a given set of insets with all zeroes will mark it
consumed.

Bug 15341653

Change-Id: I55b33b7dfbf4cae1e906a82140537156cffdbf47

10 years agoMerge "Relax duplicate-permission-definition constraints slightly" into lmp-preview-dev
Christopher Tate [Wed, 11 Jun 2014 22:44:31 +0000 (22:44 +0000)]
Merge "Relax duplicate-permission-definition constraints slightly" into lmp-preview-dev

10 years agoMerge "Fix Build" into lmp-preview-dev
Robert Greenwalt [Thu, 12 Jun 2014 01:43:25 +0000 (01:43 +0000)]
Merge "Fix Build" into lmp-preview-dev

10 years agoFix Build
Robert Greenwalt [Thu, 12 Jun 2014 01:36:36 +0000 (18:36 -0700)]
Fix Build

Change-Id: Iebbce8eaf21b3d2ba01ec720812d38018b13529e

10 years agoFix build breakage.
Robert Greenwalt [Thu, 12 Jun 2014 01:06:55 +0000 (18:06 -0700)]
Fix build breakage.

Change-Id: Ideb32704ce5dc37ef36b05609f88da2aa55b3a00

10 years agoMerge "Missed an api update." into lmp-preview-dev
Robert Greenwalt [Thu, 12 Jun 2014 00:00:16 +0000 (00:00 +0000)]
Merge "Missed an api update." into lmp-preview-dev

10 years agoMissed an api update.
Robert Greenwalt [Wed, 11 Jun 2014 23:57:03 +0000 (16:57 -0700)]
Missed an api update.

Fix build.

Change-Id: I2563ec3c26e1c8dbb9abea9f87537a87ce5fda41

10 years agoMerge "Fix wifi connectivity issues." into lmp-preview-dev
Robert Greenwalt [Wed, 11 Jun 2014 23:48:25 +0000 (23:48 +0000)]
Merge "Fix wifi connectivity issues." into lmp-preview-dev

10 years agoFix wifi connectivity issues.
Sreeram Ramachandran [Wed, 11 Jun 2014 22:56:51 +0000 (15:56 -0700)]
Fix wifi connectivity issues.

http://ag/480881 changed RouteInfo.getDestination() to return an IpPrefix
instead of a LinkAddress. This makes the equals() comparison always fail.

So, when ConnectivityService.updateRoutes() is given identical routes, instead
of realizing that there's no diff, it would consider them different, and thus
add and remove the same route. The add would fail, since the route already
existed in netd, but the remove would succeed, leaving the system with no routes
and thus no connectivity.

Bug: 15564210
Change-Id: I2003b0fcb809cc20837dc489c58af37891ca4556

10 years agoMerge "Workaround to avoid polygon flashing DO NOT MERGE" into lmp-preview-dev
Chris Craik [Thu, 12 Jun 2014 02:21:33 +0000 (02:21 +0000)]
Merge "Workaround to avoid polygon flashing DO NOT MERGE" into lmp-preview-dev

10 years agoWorkaround to avoid polygon flashing DO NOT MERGE
Chris Craik [Thu, 12 Jun 2014 02:10:26 +0000 (19:10 -0700)]
Workaround to avoid polygon flashing DO NOT MERGE

b/15539571

Temporarily disables caching of tessellation.

Change-Id: If014b8c40664711aef761eec606d28aff1859b14

10 years agoMerge "Add Settings theme, fix DialogWhenLarge theme" into lmp-preview-dev
Alan Viverette [Thu, 12 Jun 2014 01:39:52 +0000 (01:39 +0000)]
Merge "Add Settings theme, fix DialogWhenLarge theme" into lmp-preview-dev

10 years agoAdd Settings theme, fix DialogWhenLarge theme
Alan Viverette [Thu, 12 Jun 2014 01:33:33 +0000 (18:33 -0700)]
Add Settings theme, fix DialogWhenLarge theme

Adds dialog background with baked-in shadow. Temporary until we get
window shadow management sorted out.

Change-Id: I2bafed620ac00f8a4e4a17cf19255aaba41858b2

10 years agoMerge "Minor changes to the LinkAddress API docs." into lmp-preview-dev
Robert Greenwalt [Wed, 11 Jun 2014 23:42:21 +0000 (23:42 +0000)]
Merge "Minor changes to the LinkAddress API docs." into lmp-preview-dev

10 years agoMerge "Add a new IpPrefix class and use it in RouteInfo." into lmp-preview-dev
Robert Greenwalt [Wed, 11 Jun 2014 23:42:05 +0000 (23:42 +0000)]
Merge "Add a new IpPrefix class and use it in RouteInfo." into lmp-preview-dev

10 years agoAdd a new IpPrefix class and use it in RouteInfo.
Sreeram Ramachandran [Wed, 4 Jun 2014 01:41:43 +0000 (18:41 -0700)]
Add a new IpPrefix class and use it in RouteInfo.

This change uses IpPrefix only in the public API and continues
to use LinkAddress for everything else. It does not change the
callers to use the new APIs, with the exception of changing
all current uses of getDestination to getDestinationLinkAddress
to make room for the new getDestination method that returns an
IpPrefix.

Based on Sreeram's earlier change:
https://googleplex-android-review.git.corp.google.com/#/c/477874/
but a bit simplified and with a bit more documentation.

Bug: 15142362
Bug: 13885501
Change-Id: Ib4cd96b22cbff4ea31bb26a7853989f50da8de4e
(cherry picked from commit 7d3b4b9a3d4de9673119632da0ebd583e50126f7)

10 years agoMerge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev
Robert Greenwalt [Wed, 11 Jun 2014 23:39:56 +0000 (23:39 +0000)]
Merge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev

10 years agoMake NetworkCapabilities publicly immutable.
Robert Greenwalt [Sun, 8 Jun 2014 23:42:59 +0000 (16:42 -0700)]
Make NetworkCapabilities publicly immutable.

Applying API council comments.

bug: 15142362

(cherry picked from commit Ie0bde68b72656a676d90c0343b9756fe9268d8d6)
Change-Id: Ie0bde68b72656a676d90c0343b9756fe9268d8d6

10 years agoMerge "b/15330955 Make RemoteController use the new session APIs" into lmp-preview-dev
RoboErik [Wed, 11 Jun 2014 23:38:54 +0000 (23:38 +0000)]
Merge "b/15330955 Make RemoteController use the new session APIs" into lmp-preview-dev