OSDN Git Service

android-x86/frameworks-base.git
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 "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 "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 "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 "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 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 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

10 years agoVD: Fix Canvas save leak
ztenghui [Tue, 12 Aug 2014 16:16:19 +0000 (09:16 -0700)]
VD: Fix Canvas save leak

bug:16965998

Change-Id: I367388b270748e2ce114b468940966d78de07465

10 years agoCompose QC intent with FLAG_ACTIVITY_SINGLE_TOP
Brian Attwell [Tue, 12 Aug 2014 05:42:26 +0000 (22:42 -0700)]
Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP

Since launchMode=singleTop is broken in the framework.

Bug: 16519102
Change-Id: I136821ab9d4493c51f03332cee1e3924a1bd361b

10 years agoMerge "Hide panel while changing brightness" into lmp-dev
Adrian Roos [Tue, 12 Aug 2014 17:34:47 +0000 (17:34 +0000)]
Merge "Hide panel while changing brightness" into lmp-dev

10 years agoRespect DPM flags for lockscreen notifications
Adrian Roos [Tue, 12 Aug 2014 16:21:09 +0000 (18:21 +0200)]
Respect DPM flags for lockscreen notifications

Disables unredacted or all notifications based on device policy.

Bug: 15934116
Change-Id: Ia012e44da8fbf73c24e26950abb1df76af7001a9

10 years agoHide panel while changing brightness
Adrian Roos [Tue, 12 Aug 2014 15:28:58 +0000 (17:28 +0200)]
Hide panel while changing brightness

Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654

10 years agoMerge "Copy fonts.xml to /system/etc" into lmp-dev
Raph Levien [Mon, 11 Aug 2014 19:56:04 +0000 (19:56 +0000)]
Merge "Copy fonts.xml to /system/etc" into lmp-dev

10 years agoMerge "QS: Update user switcher details" into lmp-dev
Adrian Roos [Mon, 11 Aug 2014 19:29:36 +0000 (19:29 +0000)]
Merge "QS: Update user switcher details" into lmp-dev

10 years agoQS: Update user switcher details
Adrian Roos [Mon, 11 Aug 2014 18:36:01 +0000 (20:36 +0200)]
QS: Update user switcher details

- Update icon colors to white
- Change label for adding a guest

Bug: 16897120
Bug: 16898990

Change-Id: I0541d35df8c03bfeb3ee931d8074a7fe1064b2db

10 years agoMerge "Updating accessibility message for Recents activity. (Bug 15570522)" into...
Winson Chung [Mon, 11 Aug 2014 19:23:51 +0000 (19:23 +0000)]
Merge "Updating accessibility message for Recents activity. (Bug 15570522)" into lmp-dev

10 years agoUpdating accessibility message for Recents activity. (Bug 15570522)
Winson Chung [Mon, 11 Aug 2014 17:43:22 +0000 (10:43 -0700)]
Updating accessibility message for Recents activity. (Bug 15570522)

Change-Id: Iaaedb9a66b2160015b304863a00fbefdfb0e10ea

10 years agoMerge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev
Winson Chung [Mon, 11 Aug 2014 19:23:44 +0000 (19:23 +0000)]
Merge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev

10 years agoInitial changes to support swiping on the nav bar to switch affiliated tasks.
Winson Chung [Fri, 8 Aug 2014 19:53:09 +0000 (12:53 -0700)]
Initial changes to support swiping on the nav bar to switch affiliated tasks.

- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a

10 years agoTweaking empty recents text. (Bug 16711522)
Winson Chung [Fri, 8 Aug 2014 20:04:53 +0000 (13:04 -0700)]
Tweaking empty recents text. (Bug 16711522)

Change-Id: I338e2add6e4a46551ce7d52e873f332979b194e1

10 years agoMerge "Make simple user switcher notice setting changes." into lmp-dev
Jason Monk [Mon, 11 Aug 2014 19:16:13 +0000 (19:16 +0000)]
Merge "Make simple user switcher notice setting changes." into lmp-dev

10 years agoam 18718444: am 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio...
Ricardo Cervera [Mon, 11 Aug 2014 19:15:02 +0000 (19:15 +0000)]
am 18718444: am 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs

* commit '18718444b99b4b631021d5452161c7338cb99473':
  docs: Fixed minor issue with Studio shortcuts

10 years agoMake simple user switcher notice setting changes.
Jason Monk [Mon, 11 Aug 2014 17:42:32 +0000 (13:42 -0400)]
Make simple user switcher notice setting changes.

To do this just check the state from the controller (which listens
for changes), rather than holding state locally.

Bug: 16888009
Change-Id: Ifdbf0055c7aa100941c6504cf3f469031c9c6e43

10 years agoMerge "Resolve color xml attributes properly." into lmp-dev
Deepanshu Gupta [Tue, 12 Aug 2014 17:12:53 +0000 (17:12 +0000)]
Merge "Resolve color xml attributes properly." into lmp-dev

10 years agoResolve color xml attributes properly.
Deepanshu Gupta [Sat, 9 Aug 2014 21:14:45 +0000 (14:14 -0700)]
Resolve color xml attributes properly.

Color attributes were not being converted to int properly. The
conversion to int was a simple string to int using base 16. This change
resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format
depending on the length of the attribute. All values that begin with '#'
are treated as colors.

Bug: http://b.android.com/73845
Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 12 Aug 2014 16:52:54 +0000 (16:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 12 Aug 2014 16:52:33 +0000 (16:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 11 Aug 2014 20:11:54 +0000 (13:11 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 11 Aug 2014 19:52:01 +0000 (12:52 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 12 Aug 2014 16:52:23 +0000 (16:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 12 Aug 2014 16:52:09 +0000 (16:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 11 Aug 2014 21:47:50 +0000 (14:47 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 11 Aug 2014 21:27:01 +0000 (14:27 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Fix registering global priority sessions" into lmp-dev
RoboErik [Tue, 12 Aug 2014 16:36:52 +0000 (16:36 +0000)]
Merge "Fix registering global priority sessions" into lmp-dev

10 years agoFix registering global priority sessions
RoboErik [Mon, 11 Aug 2014 23:50:18 +0000 (16:50 -0700)]
Fix registering global priority sessions

We were never setting a global priority session due to a change in
the way sessions were registered. This makes sure a global session
gets set correctly.

bug:16930866
Change-Id: I859846c9265e98bb1a37ff9d22808137e787ce18

10 years agoMerge "Fixed a bug where a notification had no background" into lmp-dev
Selim Cinek [Tue, 12 Aug 2014 16:00:10 +0000 (16:00 +0000)]
Merge "Fixed a bug where a notification had no background" into lmp-dev

10 years agoClean up DevicePolicyManager CA certificate APIs
Robin Lee [Thu, 24 Jul 2014 15:41:31 +0000 (16:41 +0100)]
Clean up DevicePolicyManager CA certificate APIs

For consistency all CA-related methods now require the ComponentName
of a DeviceAdminReceiver as the first parameter. Updated javadoc for
this and added in some more detail about the methods in general as
well.

Created two new utility APIs,one to list all installed CAs and one to
remove all installed (user) CAs. Deleted old hasAnyCaCertsInstalled
method because it is now redundant.

@bug 16488006

Change-Id: I55eec17e01489ab323f8a0e68b11592605a7b740

10 years agoFixed a bug where a notification had no background
Selim Cinek [Tue, 12 Aug 2014 14:01:41 +0000 (16:01 +0200)]
Fixed a bug where a notification had no background

When tapping on a notification and then dragging down,
the notification had no background anymore

Bug: 16191184
Change-Id: I233a45744fc39ac3fcd9f533c8427354ab384709

10 years agoMerge "Pass elevation to enable shadow in shared elements." into lmp-dev
George Mount [Tue, 12 Aug 2014 14:36:05 +0000 (14:36 +0000)]
Merge "Pass elevation to enable shadow in shared elements." into lmp-dev

10 years agoAdd equals method of TvContentRating
Sungsoo Lim [Tue, 12 Aug 2014 08:46:45 +0000 (17:46 +0900)]
Add equals method of TvContentRating

Bug: 16963556
Change-Id: I09869d322fc2056ef1df5d2ca95891263646b46f

10 years agoPass elevation to enable shadow in shared elements.
George Mount [Fri, 8 Aug 2014 22:43:59 +0000 (15:43 -0700)]
Pass elevation to enable shadow in shared elements.

Bug 15932772

Change-Id: Ia4cb89035244656a2dd24936bf0e36a5b7970ea6

10 years agoMerge "Treat empty subrating as the same as null subratings." into lmp-dev
Jaewan Kim [Tue, 12 Aug 2014 13:28:14 +0000 (13:28 +0000)]
Merge "Treat empty subrating as the same as null subratings." into lmp-dev

10 years agoTreat empty subrating as the same as null subratings.
Jaewan Kim [Tue, 12 Aug 2014 12:56:41 +0000 (21:56 +0900)]
Treat empty subrating as the same as null subratings.

Change-Id: Ic288c680c639ccba6cf593d1286776a6c891b726

10 years agoMerge "Security-related cleanup for network scoring." into lmp-dev
Jeff Davidson [Tue, 12 Aug 2014 03:39:00 +0000 (03:39 +0000)]
Merge "Security-related cleanup for network scoring." into lmp-dev

10 years agoSecurity-related cleanup for network scoring.
Jeff Davidson [Fri, 8 Aug 2014 22:12:47 +0000 (15:12 -0700)]
Security-related cleanup for network scoring.

-Perform additional checks for the SCORE_NETWORKS permission when
broadcasting scoring requests to the active scorer and when accepting
score updates. In theory, these checks are unnecessary as we manually
check package manager when obtaining the list of valid scorers, but
they cannot hurt to add.

-Fix multi-user. Since the active scorer is a global setting, we
ensure that scoring can only be done by apps available to the primary
user / owner of the phone, and that the request scores broadcast is
sent to that user's profile. When the scorer is changed, we send that
to all user profiles as it's just informational, although it's
unlikely that apps outside the primary user's profile would need to
respond.

Bug: 14117916
Bug: 16399238
Change-Id: Iaf06bda244eec730b590a30a3f4ffab4965bde96

10 years agoMerge "Add version attribute in tv_content_rating_system.xml" into lmp-dev
Sungsoo Lim [Tue, 12 Aug 2014 13:01:35 +0000 (13:01 +0000)]
Merge "Add version attribute in tv_content_rating_system.xml" into lmp-dev

10 years agoAdd version attribute in tv_content_rating_system.xml
Sungsoo Lim [Tue, 12 Aug 2014 12:49:20 +0000 (21:49 +0900)]
Add version attribute in tv_content_rating_system.xml

- 'version' attribute is added in 'rating-system-definitions' tag.
- Update javadoc for the format change of XML file in TvContentRating.
- Fix some errors in the javadoc comment.

Bug: 16805703
Change-Id: If9473c89cef0777232470d67f1542a5e5eac3182

10 years agoMerge "Use the system property for the HdmiControlService configuration." into lmp-dev
Yuncheol Heo [Tue, 12 Aug 2014 08:23:34 +0000 (08:23 +0000)]
Merge "Use the system property for the HdmiControlService configuration." into lmp-dev

10 years agoUse the system property for the HdmiControlService configuration.
Yuncheol Heo [Tue, 12 Aug 2014 06:30:49 +0000 (15:30 +0900)]
Use the system property for the HdmiControlService configuration.

- We've used the system resoure overlay for this purpose, but we found
  that it's hard for OEM which uses PDK to override this.  Since the
  resource was already compiled and provided as a binary, so it's hard
  to change it.

Bug: 16965963
Change-Id: I868305d6f76c128d79c00ab6a8023656cd476c62

10 years agoMerge "TIF: small refactoring around audio configuration update" into lmp-dev
Wonsik Kim [Tue, 12 Aug 2014 08:21:15 +0000 (08:21 +0000)]
Merge "TIF: small refactoring around audio configuration update" into lmp-dev

10 years agoTIF: small refactoring around audio configuration update
Wonsik Kim [Sat, 9 Aug 2014 01:01:01 +0000 (10:01 +0900)]
TIF: small refactoring around audio configuration update

Bug: 16880310
Change-Id: Ic519ff0f67cb35a876784530d956fcf8cb7edbf7

10 years agoMerge "CEC: Fix two bugs" into lmp-dev
Jinsuk Kim [Tue, 12 Aug 2014 07:06:44 +0000 (07:06 +0000)]
Merge "CEC: Fix two bugs" into lmp-dev

10 years agoCEC: Fix two bugs
Jinsuk Kim [Tue, 12 Aug 2014 06:39:53 +0000 (15:39 +0900)]
CEC: Fix two bugs

- <Routing Change> goes out with invalid parameter (F.F.F.F) for
  old path if the active source/path is not set. Should have been
  set to internal path (0.0.0.0)
- <User Control Pressed> was still sent when active source was not
  set. Fixed to discard it.

Bug: 16966486
Bug: 16965446
Change-Id: I5abb062be42c17514b3ed7ac930d7a3535fc9132

10 years agoMerge "Set active port path to HdmiControlService" into lmp-dev
Jungshik Jang [Tue, 12 Aug 2014 05:26:01 +0000 (05:26 +0000)]
Merge "Set active port path to HdmiControlService" into lmp-dev

10 years agoSet active port path to HdmiControlService
Jungshik Jang [Tue, 12 Aug 2014 04:41:30 +0000 (13:41 +0900)]
Set active port path to HdmiControlService

Set active port path to HdmiControlService so that the service
can handle proper event patch between cec and mhl devices.

Bug: 16215362
Change-Id: I2bd703916a422429b1029067fa3422e24de39274

10 years agoRevert "add apn setting parameters, and set apn parameters to bp"
Amit Mahajan [Tue, 12 Aug 2014 05:14:13 +0000 (05:14 +0000)]
Revert "add apn setting parameters, and set apn parameters to bp"

This reverts commit 3fd217b3f492c95c8550da2a36fffbc6f3a3b724.

Change-Id: Icf32debc07b858c5ae2eb8a7bf4a6e95445a7466

10 years agoMerge "CEC: Make sure CEC switch info is always updated" into lmp-dev
Jinsuk Kim [Tue, 12 Aug 2014 05:09:17 +0000 (05:09 +0000)]
Merge "CEC: Make sure CEC switch info is always updated" into lmp-dev

10 years agoCEC: Make sure CEC switch info is always updated
Jinsuk Kim [Mon, 11 Aug 2014 02:56:58 +0000 (11:56 +0900)]
CEC: Make sure CEC switch info is always updated

The CEC switch information was not updated as expected if
Device Discovery action is in progress. Refactored to have the
update routine gets called regardless of the presence of action.

Conflicts:
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java

Bug: 16931883
Change-Id: I629e8b646bef54599c1a706bf1c797ecebf8616b

10 years agoMerge "Fixed a ordering bug with the notification shade" into lmp-dev
Selim Cinek [Tue, 12 Aug 2014 12:42:29 +0000 (12:42 +0000)]
Merge "Fixed a ordering bug with the notification shade" into lmp-dev

10 years agoFixed a ordering bug with the notification shade
Selim Cinek [Tue, 12 Aug 2014 12:29:18 +0000 (14:29 +0200)]
Fixed a ordering bug with the notification shade

The dismiss view was not always guaranteed to be on the bottom,
which could lead to a weird hole.

Bug: 16900568
Change-Id: Ib46ec0011dcdd47a8f678b5e3f9756f6a128f286

10 years agoFixed a jump in the stack scroller algorithm
Selim Cinek [Tue, 12 Aug 2014 10:40:32 +0000 (12:40 +0200)]
Fixed a jump in the stack scroller algorithm

The bottom stack jumped slightly when scrolling in landscape.

Bug: 16954513
Change-Id: I11ed9074cf5286b01f4f57ce37b4476c2ee9cd7e

10 years agoMerge "Fix incorrect connection ID for remote connection service" into lmp-dev
Ihab Awad [Tue, 12 Aug 2014 03:30:10 +0000 (03:30 +0000)]
Merge "Fix incorrect connection ID for remote connection service" into lmp-dev

10 years agoFix incorrect connection ID for remote connection service
Ihab Awad [Sat, 9 Aug 2014 00:06:11 +0000 (17:06 -0700)]
Fix incorrect connection ID for remote connection service

Also cleans up incidental issues including:
* Remote connection service disconnects from the service it
  represents if it is not currently handling any connections;
  hope to avert excessive service pinning in the future.
* Fix destroyed connection handling.

Bug: 16828152
Change-Id: Id4555f91ddac5e9c1a12ce00bfd1ee0d6d2cb1d9