147800 Commits

Author SHA1 Message Date
Alan Viverette
99421aed1f Merge "Invalidate root render node when accessibility focus moves" into lmp-dev 2014-08-12 19:31:43 +00:00
Winson Chung
33fe1ed56d Merge "Clearing tasks along with application data. (Bug 16952119)" into lmp-dev 2014-08-12 19:26:20 +00:00
Adrian Roos
4ebcdfdd42 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
2014-08-12 22:03:19 +00:00
Robert Greenwalt
70236bf4f1 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
2014-08-12 14:51:48 -07:00
Winson Chung
93baa0ed9b Clearing tasks along with application data. (Bug 16952119)
Change-Id: Ie986712a7d7d0911b6de7a4b34b7d03bf7874d6f
2014-08-12 14:21:01 -07:00
Alan Viverette
1725f94124 Merge "Fix NPE in NinePatchDrawable, propagate theme in StateListDrawable" into lmp-dev 2014-08-12 19:31:43 +00:00
Adrian Roos
cd542b8a98 Update brightness slider thumb and spacing
Also fixes a few errors in the measuring logic.

Bug: 15170399
Change-Id: I7ce7edef0a08dc00ef747988cd64e40a9fbae192
2014-08-12 21:04:26 +00:00
Jorim Jaggi
76a1623afc 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
2014-08-12 20:52:26 +00:00
Adam Lesinski
9a0b289f06 Fix NPE in UsageStats for new User
Bug:16946585

Change-Id: Ibd0d674681f3f49087305cea33ce7292f5d2229d
2014-08-12 20:25:37 +00:00
Robert Ly
02b25e9ba6 am ecae7cb0: am 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
* commit 'ecae7cb04fd16b2d79f156c0c50c48c1fc592a1e':
  docs: update dashboard
2014-08-12 20:06:20 +00:00
Robert Ly
41e836a644 Merge "docs: update dashboard" into klp-modular-docs 2014-08-12 19:21:04 +00:00
Robert Ly
ba5c49dcde docs: update dashboard
Change-Id: I3a11a4ffbd9e5544c598bdebacd67e236305602f
2014-08-12 12:26:37 -07:00
Jorim Jaggi
c15819748a New lock pattern assets and animations
Also removes the arrows.

Bug: 16196240
Bug: 13735707
Change-Id: I5a6606d916192fff594c7e6211e80b73ccd30456
2014-08-12 19:02:28 +00:00
Lajos Molnar
018b70f5de media: release allocated strings on error
Bug: 11990470
Change-Id: I74ffbfed8eb322d1b994fff99ed2470358bccf83
2014-08-12 11:38:23 -07:00
Alan Viverette
ad55abdc74 Fix NPE in NinePatchDrawable, propagate theme in StateListDrawable
BUG: 16979150
BUG: 16957778
Change-Id: I5e7116fe7fd3d5d177bafa88aad08ab21ae1677d
2014-08-12 11:16:01 -07:00
John Reck
015cb5dc71 Merge "Don't use libhwui to draw starting window" into lmp-dev 2014-08-12 18:13:56 +00:00
Winson Chung
7a2b993602 Merge "Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636)" into lmp-dev 2014-08-12 18:13:56 +00:00
John Reck
1dd0e0fae2 Don't use libhwui to draw starting window
Bug: 16735410

Change-Id: I763c10b9d34eadcb768ad580d2387b1e825cbd53
2014-08-12 11:13:31 -07:00
Winson Chung
fee26771cf Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636)
Change-Id: I5d75a912e86e83f05717cb19e9b6edb02eb053e6
2014-08-12 11:11:25 -07:00
Selim Cinek
1cf41c14aa 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
2014-08-12 20:06:19 +02:00
Alexandra Gherghina
7c97bbc39f Bugfix: adds extra null check
Bug: 16976436
Change-Id: Id51fd3125b4e68ff7c0ec37ec031fcb8ff882ed4
2014-08-12 17:22:20 +00:00
Doug Zongker
183415e521 @hide RECOVERY permission
Bug: 16959027
Change-Id: I99fbdf24d5e8bce4beb32fa872e0caa6bfdbe1e9
2014-08-12 10:20:00 -07:00
Selim Cinek
ccd14fbcfe Reset the notification expanded states on screen off
To avoid having expanded notifications sticking around

Bug: 16005498
Change-Id: Ib5b184fa7eb67ada85305e7ca4afad68a1514327
2014-08-12 16:56:40 +00:00
Sailesh Nepal
c28aceb11e Merge "Override StatusHints.equals" into lmp-dev 2014-08-12 16:55:45 +00:00
Sailesh Nepal
f20b9166ee Override StatusHints.equals
Bug: 16979621
Change-Id: I858a4718a8815be18214400d3bc1d9054b99434e
2014-08-12 11:53:32 -07:00
Deepanshu Gupta
14690b0aa3 Merge "Improve error reporting when renaming fonts." into lmp-dev 2014-08-12 16:54:46 +00:00
Jean-Michel Trivi
bab0111ef0 Merge "HDMI plug intent and associated information" into lmp-dev 2014-08-12 16:54:46 +00:00
Jean-Michel Trivi
37d7804627 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
2014-08-12 17:16:30 +00:00
Deepanshu Gupta
556f941f55 Merge "Don't show warnings for fonts not bundled." into lmp-dev 2014-08-12 16:54:46 +00:00
Deepanshu Gupta
93b1483e57 Improve error reporting when renaming fonts.
Log a better error in case of invalid input.

Change-Id: Ifb122c1cc624111769e650439aa24290155dbbc4
2014-08-11 18:48:53 -07:00
Deepanshu Gupta
e644ff8d92 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
2014-08-11 18:11:37 -07:00
Raph Levien
ff86bcd088 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
2014-08-11 14:26:37 -07:00
Alan Viverette
f6cf1a0253 Invalidate root render node when accessibility focus moves
BUG: 16796647
Change-Id: Ibfc6ec4aa50c6354ea095a35470dd54e768d911b
2014-08-11 14:13:02 -07:00
Selim Cinek
3afd00e9f2 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
2014-08-11 20:59:44 +00:00
Geoff Mendal
8705eb95b0 Merge branch 'lmp-dev' of sso://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev 2014-08-11 13:31:17 -07:00
Geoff Mendal
3f19789b77 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
2014-08-11 13:30:55 -07:00
Igor Murashkin
d42a5fd3e7 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
2014-08-11 13:25:01 -07:00
Igor Murashkin
7336f470e3 camera: (LEGACY) - Add captureIntent and physicalSize metadata
Bug: 16900182
Change-Id: I159f2416da71c2d7ea803d61b63476da90e03b1c
2014-08-11 13:25:01 -07:00
Igor Murashkin
8c4486c141 camera: (Legacy) Add support for SCENE_MODE == FACE_PRIORITY
Bug: 16898478
Change-Id: I4306f6380ea06e8bd95af8738e5dde1a42a8098c
2014-08-11 13:25:01 -07:00
Brian Attwell
9401042e46 Merge "Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP" into lmp-dev 2014-08-11 18:48:29 +00:00
ztenghui
0670f029a4 VD: Fix Canvas save leak
bug:16965998

Change-Id: I367388b270748e2ce114b468940966d78de07465
2014-08-12 10:35:49 -07:00
Brian Attwell
9ee66404b7 Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP
Since launchMode=singleTop is broken in the framework.

Bug: 16519102
Change-Id: I136821ab9d4493c51f03332cee1e3924a1bd361b
2014-08-12 06:03:41 +00:00
Jason Monk
7036cb6bac Merge "Make simple user switcher notice setting changes." into lmp-dev 2014-08-11 18:40:10 +00:00
Ricardo Cervera
1ac0820897 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
2014-08-11 19:15:02 +00:00
Jason Monk
6becbe732a 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
2014-08-11 14:52:34 -04:00
Adrian Roos
1fbc124780 Merge "Hide panel while changing brightness" into lmp-dev 2014-08-11 18:40:10 +00:00
Adrian Roos
bd3409c137 Respect DPM flags for lockscreen notifications
Disables unredacted or all notifications based on device policy.

Bug: 15934116
Change-Id: Ia012e44da8fbf73c24e26950abb1df76af7001a9
2014-08-12 17:27:58 +00:00
Adrian Roos
5fd872e8ea Hide panel while changing brightness
Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
2014-08-12 17:27:41 +00:00
Raph Levien
61da0fdfee Merge "Copy fonts.xml to /system/etc" into lmp-dev 2014-08-11 18:20:32 +00:00
Adrian Roos
c55dd2bc04 Merge "QS: Update user switcher details" into lmp-dev 2014-08-11 18:41:55 +00:00