OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Resolve invalid Typeface style to default" into lmp-dev
Raph Levien [Wed, 13 Aug 2014 15:26:38 +0000 (15:26 +0000)]
Merge "Resolve invalid Typeface style to default" into lmp-dev

10 years agoMerge "Send LED signal up to SystemUI regardless of setting." into lmp-dev
John Spurlock [Wed, 13 Aug 2014 15:11:30 +0000 (15:11 +0000)]
Merge "Send LED signal up to SystemUI regardless of setting." into lmp-dev

10 years agoSend LED signal up to SystemUI regardless of setting.
John Spurlock [Wed, 13 Aug 2014 15:00:59 +0000 (11:00 -0400)]
Send LED signal up to SystemUI regardless of setting.

Let it make an independent decision about whether or not to
do anything with it.

Bug:17001245
Change-Id: Ie494abec423f3620bf142ad332bb5f0a4d4341a5

10 years agoSwitch RouteInfo to use IpPrefix instead of LinkAddress.
Lorenzo Colitti [Tue, 12 Aug 2014 03:37:50 +0000 (12:37 +0900)]
Switch RouteInfo to use IpPrefix instead of LinkAddress.

This addresses a TODO and also makes it possible to create
routes to destinations that are not valid LinkAddresses, such as
multicast addresses.

Bug: 16875580
Change-Id: Id4c77b00dc3064bf27d78cdcbbe035e645748cfe

10 years agoPersist the cpuAbiOverride setting.
Narayan Kamath [Mon, 11 Aug 2014 12:33:45 +0000 (13:33 +0100)]
Persist the cpuAbiOverride setting.

If an app is installed with an ABI override (adb install -r --abi)
we should remember this so that we don't revert to the scan derived
ABI on the next reboot.

bug: 16476618

Change-Id: I6085bc0099eb613dd9d3b07113c7c13859780697

10 years agoMerge "Lockscreen launch animations" into lmp-dev
Jorim Jaggi [Wed, 13 Aug 2014 14:03:30 +0000 (14:03 +0000)]
Merge "Lockscreen launch animations" into lmp-dev

10 years agoMerge "Reuse existing TouchHelpers on rotation" into lmp-dev
Selim Cinek [Wed, 13 Aug 2014 13:58:37 +0000 (13:58 +0000)]
Merge "Reuse existing TouchHelpers on rotation" into lmp-dev

10 years agoMerge "Reset the notification expanded states on screen off" into lmp-dev
Selim Cinek [Wed, 13 Aug 2014 13:46:55 +0000 (13:46 +0000)]
Merge "Reset the notification expanded states on screen off" into lmp-dev

10 years agoMerge "Fix hashCode of TvContentRating" into lmp-dev
Sungsoo Lim [Wed, 13 Aug 2014 11:13:34 +0000 (11:13 +0000)]
Merge "Fix hashCode of TvContentRating" into lmp-dev

10 years agoFix a couple of PM warnings.
Narayan Kamath [Mon, 11 Aug 2014 10:45:24 +0000 (11:45 +0100)]
Fix a couple of PM warnings.

- "Could not delete native binary" : This one is a bit of
  a WTF. git history tells us this code has been around for
  a very long time (the warning's new though). It's a no-op
  because codePath always contains the *current* codePath and
  trying to remove native libs from the current codePath will
  do nothing for bundled apps. This code sounds like it wants
  to delete dangling native binaries for system apps that were
  upgraded during an OTA. This sounds like a wrong place to do
  that, though.

- "Unrecognized code path" : This one's harmless and removed
  by moving this call closer to where it's used.

bug: 16823001

Change-Id: I9b40ae507b2c80ff3fdd45d5699df62bfc86514f

10 years agoFix hashCode of TvContentRating
Sungsoo Lim [Wed, 13 Aug 2014 08:30:04 +0000 (17:30 +0900)]
Fix hashCode of TvContentRating

Bug: 16963556
Change-Id: I0d419e4a47cd4b0a364d3b05063dcdbfc8a168ae

10 years agoMerge "Bugfix: adds extra null check" into lmp-dev
Alexandra Gherghina [Wed, 13 Aug 2014 09:55:41 +0000 (09:55 +0000)]
Merge "Bugfix: adds extra null check" into lmp-dev

10 years agoSuppress warnings of redundant calls of #updateCursorAnchorInfo
Yohei Yukawa [Wed, 13 Aug 2014 07:49:35 +0000 (16:49 +0900)]
Suppress warnings of redundant calls of #updateCursorAnchorInfo

Warnings of redundant calls of #updateCursorAnchorInfo should be
suppressed at least until such redundant calls from
android.widget.Editor are addressed.

BUG: 16996008
Change-Id: I62b6acdab06178520473bd53e56e2cfb62fb17be

10 years agoMerge "TIF: Fix release logic for hardware wrapper input" into lmp-dev
Ji-Hwan Lee [Wed, 13 Aug 2014 06:43:11 +0000 (06:43 +0000)]
Merge "TIF: Fix release logic for hardware wrapper input" into lmp-dev

10 years agoTIF: Fix release logic for hardware wrapper input
Ji-Hwan Lee [Tue, 12 Aug 2014 22:33:50 +0000 (07:33 +0900)]
TIF: Fix release logic for hardware wrapper input

Change-Id: I7aad26682738e7a20bc6a053c3827ab79e83e925

10 years agoMerge "TIF: fix parental control data inconsistency" into lmp-dev
Wonsik Kim [Wed, 13 Aug 2014 05:46:44 +0000 (05:46 +0000)]
Merge "TIF: fix parental control data inconsistency" into lmp-dev

10 years agoTIF: fix parental control data inconsistency
Wonsik Kim [Wed, 13 Aug 2014 05:34:28 +0000 (14:34 +0900)]
TIF: fix parental control data inconsistency

Bug: 16987144
Change-Id: I43cc7de92663d50073d5c4da1dbffe4e9a2b26a6

10 years agoFix some minor print UX bugs.
Svet Ganov [Tue, 12 Aug 2014 07:57:07 +0000 (00:57 -0700)]
Fix some minor print UX bugs.

1. The last row of print options was not visible on a phone.

2. The preview page size on a phone in landscape unusably small.

3. Updated the Save to PDF icon.

bug:16966145

Change-Id: I25ce1572758c62f34344683af2452fb045bb857e

10 years agoCheck accessibility cache integrity only on eng builds.
Svet Ganov [Fri, 8 Aug 2014 22:11:22 +0000 (15:11 -0700)]
Check accessibility cache integrity only on eng builds.

The checks may have false ositives and spam test logs.

bug:1689853:

Change-Id: I576600192823f159e28ecea29f888187eeceb98b

10 years agoLarge text support for notifications.
Dan Sandler [Mon, 4 Aug 2014 04:43:39 +0000 (00:43 -0400)]
Large text support for notifications.

Bug: 7216066
Bug: 15437369
Change-Id: I01a07f04c18d374fc1656f0b1f439a7c33c9d80c

10 years agoCEC: Remove timeout from deviceSelect processing
Jinsuk Kim [Tue, 12 Aug 2014 09:10:21 +0000 (18:10 +0900)]
CEC: Remove timeout from deviceSelect processing

20-second timeout set for incoming <active source> command after
<set stream path> is moved out of HdmiControlService, to
HDMI input service.

Bug: 16967429
Change-Id: I5b50b0187e562b51e227a29e54824740ca37906e

10 years agoMerge "Implement MHL RAP reception." into lmp-dev
Yuncheol Heo [Wed, 13 Aug 2014 01:27:09 +0000 (01:27 +0000)]
Merge "Implement MHL RAP reception." into lmp-dev

10 years agoImplement MHL RAP reception.
Yuncheol Heo [Tue, 12 Aug 2014 11:58:41 +0000 (20:58 +0900)]
Implement MHL RAP reception.

Bug: 16966458
Change-Id: I77effc917e19072c387be8ba28d6ce1664d16415

10 years agofix wrong flag check for virtual display
keunyoung [Wed, 13 Aug 2014 00:50:19 +0000 (17:50 -0700)]
fix wrong flag check for virtual display

- FLAG_NEVER_BLANK was always set for non-public display

bug: 16958538
Change-Id: Ia147ac3ca39d687e60ec4b77726f6b6e4c3aeb3b

10 years agoMerge "Turn off voice interaction service restrction for now" into lmp-dev
Dianne Hackborn [Wed, 13 Aug 2014 06:07:09 +0000 (06:07 +0000)]
Merge "Turn off voice interaction service restrction for now" into lmp-dev

10 years agoTurn off voice interaction service restrction for now
Dianne Hackborn [Wed, 13 Aug 2014 06:05:24 +0000 (23:05 -0700)]
Turn off voice interaction service restrction for now

Need to wait for the prebuilt to update.

Change-Id: I5501c2ba23e6e18379aa0859b248446c82de6cdc

10 years agoMerge "Add API for obtaining max text length for accessibility" into lmp-dev
Alan Viverette [Wed, 13 Aug 2014 00:28:27 +0000 (00:28 +0000)]
Merge "Add API for obtaining max text length for accessibility" into lmp-dev

10 years agoMerge "Add 560dpi, and some other stuff." into lmp-dev
Dianne Hackborn [Wed, 13 Aug 2014 01:27:08 +0000 (01:27 +0000)]
Merge "Add 560dpi, and some other stuff." into lmp-dev

10 years agoMerge "TIF: Temporarily disable permission check for parental controls" into lmp-dev
Jae Seo [Wed, 13 Aug 2014 01:13:02 +0000 (01:13 +0000)]
Merge "TIF: Temporarily disable permission check for parental controls" into lmp-dev

10 years agoTIF: Temporarily disable permission check for parental controls
Jae Seo [Wed, 13 Aug 2014 00:50:37 +0000 (17:50 -0700)]
TIF: Temporarily disable permission check for parental controls

Bug: 16979343
Change-Id: I00ff70194faaf7218151388dc10ce8e4dd3d2728

10 years agoMerge "Changed flow in export methods to continue through the loop if it encounters...
Jon Miranda [Tue, 12 Aug 2014 23:58:26 +0000 (23:58 +0000)]
Merge "Changed flow in export methods to continue through the loop if it encounters an int[] return type." into lmp-dev

10 years agoMerge "Prevent re-entry when clearing animating hotspots" into lmp-dev
Alan Viverette [Tue, 12 Aug 2014 23:51:48 +0000 (23:51 +0000)]
Merge "Prevent re-entry when clearing animating hotspots" into lmp-dev

10 years agoMerge "fix ghost clipBounds problem" into lmp-dev
Dake Gu [Tue, 12 Aug 2014 23:51:22 +0000 (23:51 +0000)]
Merge "fix ghost clipBounds problem" into lmp-dev

10 years agoMerge "Implementing Recents focus states. (Bug 16950262)" into lmp-dev
Winson Chung [Tue, 12 Aug 2014 23:51:14 +0000 (23:51 +0000)]
Merge "Implementing Recents focus states. (Bug 16950262)" into lmp-dev

10 years agoRevert "Update attrs / public.xml for VectorDrawable opacity removal"
Tenghui Zhu [Tue, 12 Aug 2014 23:41:42 +0000 (23:41 +0000)]
Revert "Update attrs / public.xml for VectorDrawable opacity removal"

This reverts commit 9c44a95d5168c219facb39e7cca275d1e0a02cee.

Change-Id: If328d3101ce44c63d643217218109bb82e4f20ae

10 years agoImplementing Recents focus states. (Bug 16950262)
Winson Chung [Tue, 12 Aug 2014 02:25:42 +0000 (19:25 -0700)]
Implementing Recents focus states. (Bug 16950262)

- Fixed issue with focus going to send front most task when coming from Home
- Adding shortcut to dismiss a task
- Refactoring code to get secondary overlay and affiliation color
- Throttling alt-tab key presses
- Fixing issue with slivers of the task thumbnail being visible for affiliated tasks

Change-Id: Iaafe408318646a423fd58b51bbe93dbe0f2eed99

10 years agoMerge "Switch to cos interpolation of shadow alpha" into lmp-dev
Chris Craik [Wed, 13 Aug 2014 00:07:59 +0000 (00:07 +0000)]
Merge "Switch to cos interpolation of shadow alpha" into lmp-dev

10 years agofix ghost clipBounds problem
Dake Gu [Tue, 12 Aug 2014 21:54:53 +0000 (14:54 -0700)]
fix ghost clipBounds problem

OverlayViewGroup clipChildren=true, so that RenderNode
of GhostView will be forced clip its content to its bounds.
Because GhostView is transformed to a different location
other than (0,0),  the content left/up to the bounds
is clipped out.

Introduce another clipChildren=false view between
OverlayViewGroup and GhostView.

b/16982904

Change-Id: Ia11926c78e19bffe80c3d4584a59b83b2fbee6df

10 years agoDisable GPS when battery saver is on and screen is off.
David Christie [Tue, 12 Aug 2014 22:22:27 +0000 (15:22 -0700)]
Disable GPS when battery saver is on and screen is off.
Bug: 15348895

Change-Id: Iae2c3898ff48dc4d22e0ff872d7417ef6945c5e3

10 years agoSwitch to cos interpolation of shadow alpha
Chris Craik [Tue, 12 Aug 2014 21:31:35 +0000 (14:31 -0700)]
Switch to cos interpolation of shadow alpha

bug:16852257

Updates default shadow opacities to compensate.

Also, update variable/constant naming related to vertex alpha.

Change-Id: I9055b4ac3c9ac305ca9d515f21b52d6aa6dc9c5c

10 years agoDNG: Fix row stride check.
Ruben Brunk [Tue, 12 Aug 2014 18:09:01 +0000 (11:09 -0700)]
DNG: Fix row stride check.

Bug: 16986715

Change-Id: I5337194f7078d394b9e972e81861794283925612

10 years agoam eb4d136e: am a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and...
Quddus Chong [Tue, 12 Aug 2014 22:52:08 +0000 (22:52 +0000)]
am eb4d136e: am a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs

* commit 'eb4d136e5a8833a7071b797ab6e6e455ae85b063':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.

10 years agoLockscreen launch animations
Jorim Jaggi [Mon, 11 Aug 2014 20:36:20 +0000 (22:36 +0200)]
Lockscreen launch animations

- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
  used for two different things: Dismiss keyguard from somewhere else
  (not really necessary anymore), wait to actually dismiss keyguard
  after the window behind is drawn. Instead, introduce
  keyguardWaitingForActivityDrawn(), and change the semantics where
  necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
  Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
  notification don't play the disappear animation immediately after
  having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab

10 years agoam a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and support page...
Quddus Chong [Tue, 12 Aug 2014 22:46:41 +0000 (22:46 +0000)]
am a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs

* commit 'a5365ed9dd080529609078c0b262e775ba3b460e':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.

10 years agoChanged flow in export methods to continue through the loop if it encounters
Jon Miranda [Fri, 8 Aug 2014 17:49:47 +0000 (10:49 -0700)]
Changed flow in export methods to continue through the loop if it encounters
an int[] return type.

There are two such instances:

1. "private int[] mRules" within RelativeLayout LayoutParams.
2. "public int[] getLocationOnScreen" in View.

When I added #2, we noticed missing annotated fields/methods in Hierarchy
Viewer, but #1 also caused the same issue (mainly not exporting
alignWithParent field)

Bug: 16844914
Change-Id: I0d83a4391aa0565897cd7f0523995c97b7a4976d

10 years agoam ac605c84: Merge "docs: Updated L Preview Overview and support page with informatio...
Quddus Chong [Tue, 12 Aug 2014 22:42:19 +0000 (22:42 +0000)]
am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs

* commit 'ac605c8488a3092c1451ac29cad35ff2ff9f7f98':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.

10 years agoFix CellIdentityLte.equals
Wink Saville [Mon, 11 Aug 2014 16:58:44 +0000 (09:58 -0700)]
Fix CellIdentityLte.equals

Bug: 16902094
Change-Id: I92786dc792bf318d2236212eb2acf955ec41e066

10 years agoAdd 560dpi, and some other stuff.
Dianne Hackborn [Tue, 12 Aug 2014 22:06:50 +0000 (15:06 -0700)]
Add 560dpi, and some other stuff.

Like new settings actions for some of the new settings panels.
And fix voice interaction services so they require a recognizer.
And tweak array map doc to be correct.

Blah blah blah.

Change-Id: Ib5e66b574b10e7b3fa39723b21046a74e6ead204

10 years agoPrevent re-entry when clearing animating hotspots
Alan Viverette [Tue, 12 Aug 2014 22:03:01 +0000 (15:03 -0700)]
Prevent re-entry when clearing animating hotspots

BUG: 16651728
Change-Id: I2b1b1501a4adfded833d0ed95ec3537ae217a6d7

10 years agoAdd API for obtaining max text length for accessibility
Alan Viverette [Tue, 12 Aug 2014 21:55:56 +0000 (14:55 -0700)]
Add API for obtaining max text length for accessibility

BUG: 16736956
Change-Id: I15ffb9bf68e074adf3e0dbcd230367e115c03e3c

10 years agoMerge "docs: Updated L Preview Overview and support page with information about using...
Quddus Chong [Tue, 12 Aug 2014 22:38:14 +0000 (22:38 +0000)]
Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs

10 years agodocs: Updated L Preview Overview and support page with information about using NDK...
Quddus Chong [Fri, 18 Jul 2014 20:21:48 +0000 (13:21 -0700)]
docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.

Change-Id: Ib759f6a187a8a1298d01f8485a8e05e5d9b67e27

10 years agoMerge "New lock pattern assets and animations" into lmp-dev
Jorim Jaggi [Tue, 12 Aug 2014 19:56:55 +0000 (19:56 +0000)]
Merge "New lock pattern assets and animations" into lmp-dev

10 years agoam 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
Robert Ly [Tue, 12 Aug 2014 19:52:21 +0000 (19:52 +0000)]
am 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs

* commit '378b25584f3ddeb242dfc3c9c161512a897cc0d8':
  docs: update dashboard

10 years agoam 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
Robert Ly [Tue, 12 Aug 2014 19:45:28 +0000 (19:45 +0000)]
am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs

* commit '41e836a644b1fa767fdcce629bbb4753e0f5ecd6':
  docs: update dashboard

10 years agoMerge "Use correct checked value when animating Switch" into lmp-dev
Alan Viverette [Tue, 12 Aug 2014 22:32:17 +0000 (22:32 +0000)]
Merge "Use correct checked value when animating Switch" into lmp-dev

10 years agoUse correct checked value when animating Switch
Alan Viverette [Tue, 12 Aug 2014 22:13:19 +0000 (15:13 -0700)]
Use correct checked value when animating Switch

BUG: 16984959
Change-Id: I1b4ffea568619663e26c097a28b86579d090c0ce

10 years agoMerge "Rework shadow interpolation" into lmp-dev
Chris Craik [Tue, 12 Aug 2014 19:47:22 +0000 (19:47 +0000)]
Merge "Rework shadow interpolation" into lmp-dev

10 years agoRework shadow interpolation
Chris Craik [Mon, 11 Aug 2014 23:00:44 +0000 (16:00 -0700)]
Rework shadow interpolation

bug:16852257

Use pow(alpha, 1.5) to avoid harsh edges on shadow alpha ramps.

Also adjusts shadow constants to compensate.

Change-Id: I5869956d7d292db2a8e496bc320084b6d64c3fb7

10 years agoFix ripples projecting to scrolled view
Chris Craik [Sat, 9 Aug 2014 01:42:51 +0000 (18:42 -0700)]
Fix ripples projecting to scrolled view

bug:16873774

1) Fix projectionReceiveIndex, which could in some cases point at
translate/restore ops.

2) Use background translateX / translateY for projected RenderNodes.
This makes them match background position, and thus properly account
for scroll.

Change-Id: Idbd5700858fd67c5abea0270a1012952fe09ac22

10 years agoMerge "AAPT: Dump an APK's split name attribute" into lmp-dev
Adam Lesinski [Tue, 12 Aug 2014 22:20:21 +0000 (22:20 +0000)]
Merge "AAPT: Dump an APK's split name attribute" into lmp-dev

10 years agoAAPT: Dump an APK's split name attribute
Adam Lesinski [Mon, 11 Aug 2014 16:41:56 +0000 (09:41 -0700)]
AAPT: Dump an APK's split name attribute

Bug:16919497

Change-Id: I109e21bff9e4a64a10f48dce7f2d41102b32ee1d

10 years agoMerge "Invalidate root render node when accessibility focus moves" into lmp-dev
Alan Viverette [Tue, 12 Aug 2014 22:14:15 +0000 (22:14 +0000)]
Merge "Invalidate root render node when accessibility focus moves" into lmp-dev

10 years agoMerge "Clearing tasks along with application data. (Bug 16952119)" into lmp-dev
Winson Chung [Tue, 12 Aug 2014 22:04:55 +0000 (22:04 +0000)]
Merge "Clearing tasks along with application data. (Bug 16952119)" into lmp-dev

10 years agoImplement final lock now affordance
Adrian Roos [Tue, 12 Aug 2014 21:33:49 +0000 (23:33 +0200)]
Implement final lock now affordance

Also removes the GlobalAction. Also fixes the animation not
being applied to the background of the affordance.

Bug: 15344542
Bug: 16952834

Change-Id: Ie790b40a5d1ba10fa42a793c8cfeaf6687d17c61

10 years agoRemove extraneous clearing of inet condition
Robert Greenwalt [Fri, 8 Aug 2014 21:19:58 +0000 (14:19 -0700)]
Remove extraneous clearing of inet condition

This was old code I missed in previous inet condition refactor
and caused us to show "not connect" icon any time we connected
to a secondary network (mms/supl/etc).

bug:16896743
Change-Id: I0fa62e09bb0b7c0ee0864bb1f95967eac5f60d3e

10 years agoClearing tasks along with application data. (Bug 16952119)
Winson Chung [Tue, 12 Aug 2014 18:39:53 +0000 (11:39 -0700)]
Clearing tasks along with application data. (Bug 16952119)

Change-Id: Ie986712a7d7d0911b6de7a4b34b7d03bf7874d6f

10 years agoMerge "Fix NPE in NinePatchDrawable, propagate theme in StateListDrawable" into lmp-dev
Alan Viverette [Tue, 12 Aug 2014 21:12:55 +0000 (21:12 +0000)]
Merge "Fix NPE in NinePatchDrawable, propagate theme in StateListDrawable" into lmp-dev

10 years agoUpdate brightness slider thumb and spacing
Adrian Roos [Tue, 12 Aug 2014 20:25:35 +0000 (22:25 +0200)]
Update brightness slider thumb and spacing

Also fixes a few errors in the measuring logic.

Bug: 15170399
Change-Id: I7ce7edef0a08dc00ef747988cd64e40a9fbae192

10 years agoPreparations for lockscreen launch animations
Jorim Jaggi [Fri, 8 Aug 2014 15:00:47 +0000 (17:00 +0200)]
Preparations for lockscreen launch animations

- Update unlock animations to new spec to make the consistent with
  lockscreen launch animations.
- Introduce disappearing motion for security views which runs before
  we actually dismiss Keyguard.
- If a window is running the un-force-hide animation, treat as it
  would have the wallpaper flag set so the wallpaper stays until
  the animation is completely done.
- Run an animation on the wallpaper if the wallpaper is going away.

Bug: 15991916
Bug: 16234603
Bug: 15326120
Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642

10 years agoFix NPE in UsageStats for new User
Adam Lesinski [Mon, 11 Aug 2014 22:03:32 +0000 (15:03 -0700)]
Fix NPE in UsageStats for new User

Bug:16946585

Change-Id: Ibd0d674681f3f49087305cea33ce7292f5d2229d

10 years agoam ecae7cb0: am 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modula...
Robert Ly [Tue, 12 Aug 2014 20:06:20 +0000 (20:06 +0000)]
am ecae7cb0: am 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs

* commit 'ecae7cb04fd16b2d79f156c0c50c48c1fc592a1e':
  docs: update dashboard

10 years agoMerge "docs: update dashboard" into klp-modular-docs
Robert Ly [Tue, 12 Aug 2014 19:40:31 +0000 (19:40 +0000)]
Merge "docs: update dashboard" into klp-modular-docs

10 years agodocs: update dashboard
Robert Ly [Tue, 12 Aug 2014 19:26:37 +0000 (12:26 -0700)]
docs: update dashboard

Change-Id: I3a11a4ffbd9e5544c598bdebacd67e236305602f

10 years agoNew lock pattern assets and animations
Jorim Jaggi [Thu, 7 Aug 2014 20:15:48 +0000 (22:15 +0200)]
New lock pattern assets and animations

Also removes the arrows.

Bug: 16196240
Bug: 13735707
Change-Id: I5a6606d916192fff594c7e6211e80b73ccd30456

10 years agoFix NPE in NinePatchDrawable, propagate theme in StateListDrawable
Alan Viverette [Tue, 12 Aug 2014 18:16:01 +0000 (11:16 -0700)]
Fix NPE in NinePatchDrawable, propagate theme in StateListDrawable

BUG: 16979150
BUG: 16957778
Change-Id: I5e7116fe7fd3d5d177bafa88aad08ab21ae1677d

10 years agoMerge "Ensuring that we update the calling uid/package when updating a task's origina...
Winson Chung [Tue, 12 Aug 2014 18:29:31 +0000 (18:29 +0000)]
Merge "Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636)" into lmp-dev

10 years agoMerge "Don't use libhwui to draw starting window" into lmp-dev
John Reck [Tue, 12 Aug 2014 18:17:45 +0000 (18:17 +0000)]
Merge "Don't use libhwui to draw starting window" into lmp-dev

10 years agoDon't use libhwui to draw starting window
John Reck [Tue, 12 Aug 2014 16:27:33 +0000 (09:27 -0700)]
Don't use libhwui to draw starting window

 Bug: 16735410

Change-Id: I763c10b9d34eadcb768ad580d2387b1e825cbd53

10 years agoEnsuring that we update the calling uid/package when updating a task's original inten...
Winson Chung [Tue, 5 Aug 2014 19:21:52 +0000 (12:21 -0700)]
Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636)

Change-Id: I5d75a912e86e83f05717cb19e9b6edb02eb053e6

10 years agoReuse existing TouchHelpers on rotation
Selim Cinek [Tue, 12 Aug 2014 18:06:19 +0000 (20:06 +0200)]
Reuse existing TouchHelpers on rotation

Recreating them caused some bugs when touching during
the rotation. Currently there is no need to recreate them.

Bug: 15598792
Change-Id: I7255bd0102427e6847b63ce7f6346248aaa4054f

10 years agoBugfix: adds extra null check
Alexandra Gherghina [Tue, 12 Aug 2014 17:20:47 +0000 (18:20 +0100)]
Bugfix: adds extra null check

Bug: 16976436
Change-Id: Id51fd3125b4e68ff7c0ec37ec031fcb8ff882ed4

10 years agoReset the notification expanded states on screen off
Selim Cinek [Tue, 12 Aug 2014 16:53:24 +0000 (18:53 +0200)]
Reset the notification expanded states on screen off

To avoid having expanded notifications sticking around

Bug: 16005498
Change-Id: Ib5b184fa7eb67ada85305e7ca4afad68a1514327

10 years agoMerge "Override StatusHints.equals" into lmp-dev
Sailesh Nepal [Tue, 12 Aug 2014 19:08:21 +0000 (19:08 +0000)]
Merge "Override StatusHints.equals" into lmp-dev

10 years agoOverride StatusHints.equals
Sailesh Nepal [Tue, 12 Aug 2014 18:53:32 +0000 (11:53 -0700)]
Override StatusHints.equals

Bug: 16979621
Change-Id: I858a4718a8815be18214400d3bc1d9054b99434e

10 years agoMerge "HDMI plug intent and associated information" into lmp-dev
Jean-Michel Trivi [Tue, 12 Aug 2014 17:47:44 +0000 (17:47 +0000)]
Merge "HDMI plug intent and associated information" into lmp-dev

10 years agoHDMI plug intent and associated information
Jean-Michel Trivi [Sun, 10 Aug 2014 21:59:15 +0000 (14:59 -0700)]
HDMI plug intent and associated information

Read HDMI device information from audio ports and add it as
 extras in the connection intent.
Document the new extras in the connection intent.
Make Intent.ACTION_HDMI_AUDIO_PLUG public.

Bug 10549017

Change-Id: I6236b5363f00c433e443195fae8c43af2fc834f7

10 years agoMerge "Improve error reporting when renaming fonts." into lmp-dev
Deepanshu Gupta [Tue, 12 Aug 2014 17:13:16 +0000 (17:13 +0000)]
Merge "Improve error reporting when renaming fonts." into lmp-dev

10 years agoMerge "Don't show warnings for fonts not bundled." into lmp-dev
Deepanshu Gupta [Tue, 12 Aug 2014 17:13:15 +0000 (17:13 +0000)]
Merge "Don't show warnings for fonts not bundled." into lmp-dev

10 years agoImprove error reporting when renaming fonts.
Deepanshu Gupta [Mon, 11 Aug 2014 22:24:38 +0000 (15:24 -0700)]
Improve error reporting when renaming fonts.

Log a better error in case of invalid input.

Change-Id: Ifb122c1cc624111769e650439aa24290155dbbc4

10 years agoDon't show warnings for fonts not bundled.
Deepanshu Gupta [Sat, 9 Aug 2014 21:14:32 +0000 (14:14 -0700)]
Don't show warnings for fonts not bundled.

The extended font set, used on Nexus 5, new Nexus 7 etc., uses OpenType
CFF fonts which don't work well with Java. These fonts are deliberately
excluded from the SDK build.

This change skips the warnings for the missing fonts. However, we still
show warnings for other fonts that failed to load. If the set of fonts
bundled with the SDK changes, we will need to update the list of missing
fonts in FontFamily_Delegate.java.

Change-Id: I3197b5350d048daa09512e8024188909179b1799

10 years agoResolve invalid Typeface style to default
Raph Levien [Mon, 11 Aug 2014 21:26:37 +0000 (14:26 -0700)]
Resolve invalid Typeface style to default

Setting a textAppearance that specified a fontFamily but not a textStyle
results in a styleIndex of -1 being passed to the Typeface.create()
call. This patch resolves such invalid style indices to the default.

Fix for bug 16880318 "Applying TextAppearance To TextView with custom
font family incorrectly adds italics style on LMP"

Change-Id: I05c9cfc4d76161be21b58abdb4037c51a23cae37

10 years agoInvalidate root render node when accessibility focus moves
Alan Viverette [Mon, 11 Aug 2014 21:13:02 +0000 (14:13 -0700)]
Invalidate root render node when accessibility focus moves

BUG: 16796647
Change-Id: Ibfc6ec4aa50c6354ea095a35470dd54e768d911b

10 years agoFixed a bug in the notification stack algorithm
Selim Cinek [Mon, 11 Aug 2014 20:32:57 +0000 (22:32 +0200)]
Fixed a bug in the notification stack algorithm

Bad holes could occur when a notification was at the same time in
the top and the bottom stack. This also improves the landscape /
smallscreen interaction with the shade.

Bug: 16715133
Change-Id: Icbb4d080e658f4ddbd39b7d08652ca5311a47978

10 years agoMerge branch 'lmp-dev' of sso://googleplex-android.git.corp.google.com/platform/frame...
Geoff Mendal [Mon, 11 Aug 2014 20:31:17 +0000 (13:31 -0700)]
Merge branch 'lmp-dev' of sso://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev

10 years agoDon't double count the left/top when using bitmap cache in VectorDrawable.
Geoff Mendal [Mon, 11 Aug 2014 20:30:55 +0000 (13:30 -0700)]
Don't double count the left/top when using bitmap cache in VectorDrawable.

bug:16861184

Change-Id: I0530602957a434b222725b6fcbc1af165ee05835

Merge commit 'refs/changes/18/520718/4' of persistent-https://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev

10 years agocamera2: (legacy) Fix the comparison for fixed-focus cameras
Igor Murashkin [Sat, 9 Aug 2014 00:40:17 +0000 (17:40 -0700)]
camera2: (legacy) Fix the comparison for fixed-focus cameras

* Use #equals instead of == for string comparison
* Also make sure lens.info.minimumFocusDistance shows up in
  CameraCharacteristics#getKeys() for fixed-focus cameras

Bug: 16900875
Change-Id: I3b9248c5cb62ddcfb13587c6349525e145e353ac

10 years agocamera: (LEGACY) - Add captureIntent and physicalSize metadata
Igor Murashkin [Fri, 8 Aug 2014 23:44:34 +0000 (16:44 -0700)]
camera: (LEGACY) - Add captureIntent and physicalSize metadata

Bug: 16900182
Change-Id: I159f2416da71c2d7ea803d61b63476da90e03b1c

10 years agocamera: (Legacy) Add support for SCENE_MODE == FACE_PRIORITY
Igor Murashkin [Fri, 8 Aug 2014 21:02:36 +0000 (14:02 -0700)]
camera: (Legacy) Add support for SCENE_MODE == FACE_PRIORITY

Bug: 16898478
Change-Id: I4306f6380ea06e8bd95af8738e5dde1a42a8098c

10 years agoMerge "Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP" into lmp-dev
Brian Attwell [Tue, 12 Aug 2014 17:46:40 +0000 (17:46 +0000)]
Merge "Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP" into lmp-dev