OSDN Git Service

android-x86/frameworks-base.git
9 years agoMake it possible to remove current user
Amith Yamasani [Sat, 30 Aug 2014 04:37:27 +0000 (21:37 -0700)]
Make it possible to remove current user

Due to the async nature of switching users, it's not possible to
switch and remove immediately. So mark the switch target user as
soon as the user switch is requested, so that a remove will proceed
without failing at stopUserLocked().

Also, fix a similar problem with deleting the current guest and
switching to a new guest. It was attempting to remove the current
user which will result in a failed stopping of the user.
Added a way to mark the current guest
for deletion so that a new one can be created, switched to and the
old one deleted. If runtime fails, old guest is already marked for
deletion and will be cleaned up on restart.

Bug: 17321533
Change-Id: I4be0fb956227e0bb95588b5b1f2867fb1e655c0d

9 years agoMerge "Tunneled Video Playback: Fixed missing AudioHwSync for provided Audio session...
Rachad [Sat, 30 Aug 2014 01:11:34 +0000 (01:11 +0000)]
Merge "Tunneled Video Playback: Fixed missing AudioHwSync for provided Audio session ID" into lmp-dev

9 years agoMerge "TIF: Fix comment on TvContentRating" into lmp-dev
Jae Seo [Sat, 30 Aug 2014 00:51:18 +0000 (00:51 +0000)]
Merge "TIF: Fix comment on TvContentRating" into lmp-dev

9 years agoMerge "More API lint checks." into lmp-dev
Jeff Sharkey [Sat, 30 Aug 2014 00:45:27 +0000 (00:45 +0000)]
Merge "More API lint checks." into lmp-dev

9 years agoMore API lint checks.
Jeff Sharkey [Sat, 30 Aug 2014 00:41:43 +0000 (17:41 -0700)]
More API lint checks.

When offering a helper Service, etc, all platform provided methods
should be marked final.  Otherwise, if available for developer to
override, they should follow onFoo() style naming.

Catch anyone returning concrete collections types, and look for
overlapping flags.

Change-Id: I29d95f3dff78a4da968a46f10be89eada509648c

9 years agoMerge "camera2: Add HDR vendor tag for legacy mode." into lmp-dev
Ruben Brunk [Sat, 30 Aug 2014 00:27:43 +0000 (00:27 +0000)]
Merge "camera2: Add HDR vendor tag for legacy mode." into lmp-dev

9 years agoMerge "Fix disappearing ripple background, treat active ripple separately" into lmp-dev
Alan Viverette [Sat, 30 Aug 2014 00:19:50 +0000 (00:19 +0000)]
Merge "Fix disappearing ripple background, treat active ripple separately" into lmp-dev

9 years agoShips passing in the night!
Jeff Sharkey [Fri, 29 Aug 2014 23:41:37 +0000 (16:41 -0700)]
Ships passing in the night!

Fix build breakage.

Change-Id: I37e20b7e6838cb95cfd30efb52d68e81b346f8eb

9 years agoTIF: Fix comment on TvContentRating
Jae Seo [Fri, 29 Aug 2014 23:13:07 +0000 (16:13 -0700)]
TIF: Fix comment on TvContentRating

Bug: 17332911
Change-Id: Ia2d76b2c6ecf6b804f8b6aa8cec78a243b70e966

9 years agoMerge "Variety of small UI tweaks" into lmp-dev
Alan Viverette [Fri, 29 Aug 2014 23:08:00 +0000 (23:08 +0000)]
Merge "Variety of small UI tweaks" into lmp-dev

9 years agoMerge "Address KeySet API Review" into lmp-dev
dcashman [Fri, 29 Aug 2014 23:06:48 +0000 (23:06 +0000)]
Merge "Address KeySet API Review" into lmp-dev

9 years agoMerge "Keep managed profile keystores in sync with owner" into lmp-dev
Robin Lee [Fri, 29 Aug 2014 23:01:26 +0000 (23:01 +0000)]
Merge "Keep managed profile keystores in sync with owner" into lmp-dev

9 years agoMerge "Final pass at Material DocumentsUI." into lmp-dev
Jeff Sharkey [Fri, 29 Aug 2014 22:56:55 +0000 (22:56 +0000)]
Merge "Final pass at Material DocumentsUI." into lmp-dev

9 years agoMerge "More debug for issue #17310019: pause when launching settings" into lmp-dev
Dianne Hackborn [Fri, 29 Aug 2014 22:49:39 +0000 (22:49 +0000)]
Merge "More debug for issue #17310019: pause when launching settings" into lmp-dev

9 years agoMerge "Add functions for setting/getting phone accounts." into lmp-dev
Andrew Lee [Fri, 29 Aug 2014 22:46:19 +0000 (22:46 +0000)]
Merge "Add functions for setting/getting phone accounts." into lmp-dev

9 years agoMerge "Use offsetLeftAndRight and offsetTopAndBottom in ChangeBounds." into lmp-dev
George Mount [Fri, 29 Aug 2014 22:43:23 +0000 (22:43 +0000)]
Merge "Use offsetLeftAndRight and offsetTopAndBottom in ChangeBounds." into lmp-dev

9 years agoFinal pass at Material DocumentsUI.
Jeff Sharkey [Fri, 29 Aug 2014 22:38:27 +0000 (15:38 -0700)]
Final pass at Material DocumentsUI.

Now with treatment for disabled and selected grid items.  Inverts
text and icons in selected drawer items.  Follows upstream color
changes to accent color.  Disables some verbose logging.

Bug: 1583608217281688
Change-Id: I97a1c055a2f1a537388a8f5669147618e9698870

9 years agoMerge "Document MediaSession.Callback.onMediaButtonEvent and add returns" into lmp-dev
RoboErik [Fri, 29 Aug 2014 22:38:58 +0000 (22:38 +0000)]
Merge "Document MediaSession.Callback.onMediaButtonEvent and add returns" into lmp-dev

9 years agoMerge "Oh sticky broadcasts, I'd like to do even worse to you." into lmp-dev
Dianne Hackborn [Fri, 29 Aug 2014 22:37:47 +0000 (22:37 +0000)]
Merge "Oh sticky broadcasts, I'd like to do even worse to you." into lmp-dev

9 years agoMore debug for issue #17310019: pause when launching settings
Dianne Hackborn [Fri, 29 Aug 2014 22:35:24 +0000 (15:35 -0700)]
More debug for issue #17310019: pause when launching settings

Dang, I missed a lot of opportunities to log!

Change-Id: I566597269fe73b0f798df4f00ad26d062021081d

9 years agoOh sticky broadcasts, I'd like to do even worse to you.
Dianne Hackborn [Fri, 29 Aug 2014 22:13:30 +0000 (15:13 -0700)]
Oh sticky broadcasts, I'd like to do even worse to you.

Change-Id: I36a7eae294d325d1bd88c15d52566dd4ee1f35be

9 years agoVariety of small UI tweaks
Alan Viverette [Fri, 29 Aug 2014 22:20:13 +0000 (15:20 -0700)]
Variety of small UI tweaks

Updates dialog padding, text opacities on dark theme, progress bar
opacity, ripple background exit speed, remove unnecessary text color
attribute from action menu item layout, fix secondary and tertiary
disabled state text colors.

BUG: 17321765
BUG: 17333263
BUG: 17322159
BUG: 17330086
Change-Id: I14473a985b2c6b853afe7db535a2443e934238e9

9 years agoMerge "Add a hidden system method to check call filter." into lmp-dev
John Spurlock [Fri, 29 Aug 2014 22:17:09 +0000 (22:17 +0000)]
Merge "Add a hidden system method to check call filter." into lmp-dev

9 years agoMerge "Replace "Comment" to "Description" since description makes more sense in the...
Andrew Jeon [Fri, 29 Aug 2014 22:12:21 +0000 (22:12 +0000)]
Merge "Replace "Comment" to "Description" since description makes more sense in the context of the java doc." into lmp-dev

9 years agoAdd a hidden system method to check call filter.
John Spurlock [Wed, 27 Aug 2014 20:29:47 +0000 (16:29 -0400)]
Add a hidden system method to check call filter.

As a stopgap for dialer, add a NoMan method to check
whether or not contact extras meet the current notification
interruption filter, if phone calls are allowed at all.

Bug:17299986
Change-Id: I4d7e04b974d878504ef4e3a73cb6b602cdd2f73e

9 years agoKeep managed profile keystores in sync with owner
Robin Lee [Wed, 13 Aug 2014 08:50:25 +0000 (09:50 +0100)]
Keep managed profile keystores in sync with owner

Fixes setting a keyguard password for keystore in a multi-user setup
while we're at it.

Bug: 16233206.
Change-Id: I7941707ca66ac25bd122fd22e5e0f639e7af697e

9 years agoMerge "Clean up apks installed for a removed user" into lmp-dev
Amith Yamasani [Fri, 29 Aug 2014 21:51:08 +0000 (21:51 +0000)]
Merge "Clean up apks installed for a removed user" into lmp-dev

9 years agoMerge "Expand job scheduler dumpsys a bit" into lmp-dev
Christopher Tate [Fri, 29 Aug 2014 21:43:51 +0000 (21:43 +0000)]
Merge "Expand job scheduler dumpsys a bit" into lmp-dev

9 years agoMerge "Use a linear spline if there's a non-monotonic brightness curve" into lmp-dev
Michael Wright [Fri, 29 Aug 2014 21:43:14 +0000 (21:43 +0000)]
Merge "Use a linear spline if there's a non-monotonic brightness curve" into lmp-dev

9 years agoMerge "Fix issue #17329066: Crash in ActivityManager" into lmp-dev
Dianne Hackborn [Fri, 29 Aug 2014 21:40:38 +0000 (21:40 +0000)]
Merge "Fix issue #17329066: Crash in ActivityManager" into lmp-dev

9 years agoUse a linear spline if there's a non-monotonic brightness curve
Michael Wright [Fri, 29 Aug 2014 00:42:16 +0000 (17:42 -0700)]
Use a linear spline if there's a non-monotonic brightness curve

Some devices may contain things like transflective displays where
they actually want the backlight brightness to decrease in the face
of high ambient light scenarios. In the interest of time, just use a
linear interpolation based on the brightness control points for these
cases but in the future we should consider adding a non-monotonic
cubic spline.

Bug: 15611140
Change-Id: I8fcee061b18c8ae9cc9a1b38d8b850aaec4478ce

9 years agoMerge "Add test to ensure themes get copied from separate resource tables" into lmp-dev
Adam Lesinski [Fri, 29 Aug 2014 21:38:01 +0000 (21:38 +0000)]
Merge "Add test to ensure themes get copied from separate resource tables" into lmp-dev

9 years agoMerge "Ambient shadow tessellation improvement." into lmp-dev
ztenghui [Fri, 29 Aug 2014 21:36:02 +0000 (21:36 +0000)]
Merge "Ambient shadow tessellation improvement." into lmp-dev

9 years agoMerge "Fix issue #17329290: NPE during ContentProviderRecord.dump()" into lmp-dev
Dianne Hackborn [Fri, 29 Aug 2014 21:35:22 +0000 (21:35 +0000)]
Merge "Fix issue #17329290: NPE during ContentProviderRecord.dump()" into lmp-dev

9 years agoAdd test to ensure themes get copied from separate resource tables
Adam Lesinski [Fri, 29 Aug 2014 21:10:04 +0000 (14:10 -0700)]
Add test to ensure themes get copied from separate resource tables

Change-Id: I94e9966cf1e9d0e7e6c7daa0606a87bb0f67705e

9 years agoam 4d50fde5: am 6208e7b5: am 1014b9aa: Merge "docs: remove references to resource...
Scott Rowe [Fri, 29 Aug 2014 21:33:11 +0000 (21:33 +0000)]
am 4d50fde5: am 6208e7b5: am 1014b9aa: Merge "docs: remove references to resource browser; point to SDK instead" into klp-modular-docs

* commit '4d50fde5754b2f4a8350b79b42812100183175a4':
  docs: remove references to resource browser; point to SDK instead

9 years agoReplace "Comment" to "Description" since description makes more sense in
Andrew Jeon [Fri, 29 Aug 2014 21:26:53 +0000 (14:26 -0700)]
Replace "Comment" to "Description" since description makes more sense in
the context of the java doc.

Change-Id: Id7c2bb76d792680eb6d674cd01290272de723b92

9 years agoMerge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev
Chris Wren [Fri, 29 Aug 2014 21:25:42 +0000 (21:25 +0000)]
Merge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev

9 years agoMerge "Workaround to prevent starting the same task from Recents twice. (Bug 17322903...
Winson Chung [Fri, 29 Aug 2014 21:14:52 +0000 (21:14 +0000)]
Merge "Workaround to prevent starting the same task from Recents twice. (Bug 17322903)" into lmp-dev

9 years agoExpand job scheduler dumpsys a bit
Christopher Tate [Fri, 29 Aug 2014 19:54:08 +0000 (12:54 -0700)]
Expand job scheduler dumpsys a bit

Now it actually says what jobs are active.

Bug 17322886

Change-Id: I1a0fe0bf8d4cb2988cc89a11793981037157ee07

9 years agoDocument MediaSession.Callback.onMediaButtonEvent and add returns
RoboErik [Fri, 29 Aug 2014 21:17:13 +0000 (14:17 -0700)]
Document MediaSession.Callback.onMediaButtonEvent and add returns

Documents the return value and makes sure it returns true where
appropriate.

bug:17289717
Change-Id: Ia831a7212b76e8434b745be70da2ed106fa01230

9 years agoam 6208e7b5: am 1014b9aa: Merge "docs: remove references to resource browser; point...
Scott Rowe [Fri, 29 Aug 2014 21:17:08 +0000 (21:17 +0000)]
am 6208e7b5: am 1014b9aa: Merge "docs: remove references to resource browser; point to SDK instead" into klp-modular-docs

* commit '6208e7b56080956ffc48ade8d0b0f038b901cb23':
  docs: remove references to resource browser; point to SDK instead

9 years agoWorkaround to prevent starting the same task from Recents twice. (Bug 17322903)
Winson Chung [Fri, 29 Aug 2014 20:57:29 +0000 (13:57 -0700)]
Workaround to prevent starting the same task from Recents twice. (Bug 17322903)

9 years agoam 1014b9aa: Merge "docs: remove references to resource browser; point to SDK instead...
Scott Rowe [Fri, 29 Aug 2014 21:04:16 +0000 (21:04 +0000)]
am 1014b9aa: Merge "docs: remove references to resource browser; point to SDK instead" into klp-modular-docs

* commit '1014b9aa491d4d7dd4d4fc2510e7b6e6b3b4654d':
  docs: remove references to resource browser; point to SDK instead

9 years agoFix issue #17329290: NPE during ContentProviderRecord.dump()
Dianne Hackborn [Fri, 29 Aug 2014 19:53:07 +0000 (12:53 -0700)]
Fix issue #17329290: NPE during ContentProviderRecord.dump()

Don't NPE.

Change-Id: I5e59583e97b969b1739fc39a1520bd1930302313

9 years agoFix issue #17329066: Crash in ActivityManager
Dianne Hackborn [Fri, 29 Aug 2014 20:02:03 +0000 (13:02 -0700)]
Fix issue #17329066: Crash in ActivityManager

Change-Id: Ib59b7a8d65b3abece82bc58897e21600af4d73f5

9 years agoMerge "docs: remove references to resource browser; point to SDK instead" into klp...
Scott Rowe [Fri, 29 Aug 2014 20:52:52 +0000 (20:52 +0000)]
Merge "docs: remove references to resource browser; point to SDK instead" into klp-modular-docs

9 years agoDisable lockscreen notifications for secure users on upgrade.
Chris Wren [Wed, 27 Aug 2014 22:48:13 +0000 (18:48 -0400)]
Disable lockscreen notifications for secure users on upgrade.

Add a notification for those users that teaches them how to re-enable
the notifications.

Bug: 15934899
Depends-On: Ie0bcc207c4f331def207e588bbad36b8986fe114
Change-Id: I4a169e268042cfcaa4ad80cdf205904f9c90e76d

9 years agoMerge "Don't use anim background for translucent windows" into lmp-dev
Craig Mautner [Fri, 29 Aug 2014 20:45:06 +0000 (20:45 +0000)]
Merge "Don't use anim background for translucent windows" into lmp-dev

9 years agoAmbient shadow tessellation improvement.
ztenghui [Wed, 13 Aug 2014 22:48:02 +0000 (15:48 -0700)]
Ambient shadow tessellation improvement.

Using the vertices, instead of ray casting for the triangulation.

This request a dynamic index buffer associated with vertex buffer,
so we update the VertexBuffer to support it.

The ambient shadow could be 3x-6x times faster for circle and rect now.

b/16712006
b/14257173

Change-Id: I2f22a8fe19bc59acee5c18e4a3a395acd5042a66

9 years agoMerge "NoMan: Allow listeners to specify notification trim" into lmp-dev
Christoph Studer [Fri, 29 Aug 2014 20:37:49 +0000 (20:37 +0000)]
Merge "NoMan: Allow listeners to specify notification trim" into lmp-dev

9 years agoMerge "Make PhoneAccount.Builder constructor public" into lmp-dev
Sailesh Nepal [Fri, 29 Aug 2014 20:01:58 +0000 (20:01 +0000)]
Merge "Make PhoneAccount.Builder constructor public" into lmp-dev

9 years agoMerge "Add IDs for status and nav-bar backgrounds." into lmp-dev
George Mount [Fri, 29 Aug 2014 19:59:57 +0000 (19:59 +0000)]
Merge "Add IDs for status and nav-bar backgrounds." into lmp-dev

9 years agoMerge "Make UsageStats API comply with API Council" into lmp-dev
Adam Lesinski [Fri, 29 Aug 2014 19:58:01 +0000 (19:58 +0000)]
Merge "Make UsageStats API comply with API Council" into lmp-dev

9 years agoFix disappearing ripple background, treat active ripple separately
Alan Viverette [Fri, 29 Aug 2014 03:00:38 +0000 (20:00 -0700)]
Fix disappearing ripple background, treat active ripple separately

There is only a single background, and it did not correctly handle
enter() being called while exit() was busy animating. We now cancel
all animations when starting an enter or exit. Also separates the
active ripple from the list of animating (exiting) ripples.

BUG: 17042060
BUG: 17281011
Change-Id: I4d4e33560867c7c71c1bdb72b17d52d6fbd86f68

9 years agoMake UsageStats API comply with API Council
Adam Lesinski [Wed, 27 Aug 2014 18:52:52 +0000 (11:52 -0700)]
Make UsageStats API comply with API Council

- Fix documentation to mention units of time in APIs.
- Return a Map instead of an ArrayMap

Bug:17289531
Change-Id: I0a2cfdc0bc003eeeb65a16e37bb7b991624b2853

9 years agoMerge "Clean up test allocations so real memory leaks are more visible" into lmp-dev
Adam Lesinski [Fri, 29 Aug 2014 19:43:29 +0000 (19:43 +0000)]
Merge "Clean up test allocations so real memory leaks are more visible" into lmp-dev

9 years agoMerge "Revert "Make UsageStats API comply with API Council"" into lmp-dev
Adam Lesinski [Fri, 29 Aug 2014 19:42:42 +0000 (19:42 +0000)]
Merge "Revert "Make UsageStats API comply with API Council"" into lmp-dev

9 years agoRevert "Make UsageStats API comply with API Council"
Adam Lesinski [Fri, 29 Aug 2014 19:34:09 +0000 (19:34 +0000)]
Revert "Make UsageStats API comply with API Council"

This reverts commit 3811dabe57a60e4729f67b6fdc7fbe91eb8b3e06.

Did not update current.txt

Change-Id: I93faccaf24570b1ce88ade37c00506c4a48a8a1d

9 years agoClean up test allocations so real memory leaks are more visible
Adam Lesinski [Fri, 29 Aug 2014 19:29:31 +0000 (12:29 -0700)]
Clean up test allocations so real memory leaks are more visible

Change-Id: Ic405f08c8d8e3e7fc4e4a991671e980752c19899

9 years agoMerge "Make UsageStats API comply with API Council" into lmp-dev
Adam Lesinski [Fri, 29 Aug 2014 18:56:23 +0000 (18:56 +0000)]
Merge "Make UsageStats API comply with API Council" into lmp-dev

9 years agoChange platformBuildVersionCode to name in aapt dump badging
Adam Lesinski [Fri, 29 Aug 2014 18:23:55 +0000 (11:23 -0700)]
Change platformBuildVersionCode to name in aapt dump badging

Change-Id: Ie3972105b3f6a727682f91851f7a99b05bb28e1a

9 years agoAdd functions for setting/getting phone accounts.
Andrew Lee [Thu, 28 Aug 2014 23:50:10 +0000 (16:50 -0700)]
Add functions for setting/getting phone accounts.

Bug: 17179743
Change-Id: I821312ae5903f81a5282987189822e77ac55b7ef

9 years agoMerge "Camera2: Remove spurious warnings" into lmp-dev
Yin-Chia Yeh [Fri, 29 Aug 2014 18:02:49 +0000 (18:02 +0000)]
Merge "Camera2: Remove spurious warnings" into lmp-dev

9 years agoMerge "camera2: Implement TotalCaptureResult#getPartialResults" into lmp-dev
Igor Murashkin [Fri, 29 Aug 2014 18:00:38 +0000 (18:00 +0000)]
Merge "camera2: Implement TotalCaptureResult#getPartialResults" into lmp-dev

9 years agoMerge "Listener callbacks ordering fixups" into lmp-dev
John Reck [Fri, 29 Aug 2014 17:59:23 +0000 (17:59 +0000)]
Merge "Listener callbacks ordering fixups" into lmp-dev

9 years agoListener callbacks ordering fixups
John Reck [Fri, 29 Aug 2014 17:40:56 +0000 (10:40 -0700)]
Listener callbacks ordering fixups

Bug: 17228458
Bug: 17317816

Ensure that onStart is called prior to onCancel/onFinished if those
happen prior to the UI-thread handled start delay.

Ensure that onFinished is called if cancel/end is called

Change-Id: I23c16ea1c4f925d59d41ec5281d62dfc0c38595b

9 years agoCamera2: Remove spurious warnings
Yin-Chia Yeh [Thu, 28 Aug 2014 17:35:37 +0000 (10:35 -0700)]
Camera2: Remove spurious warnings

It is valid if all compenents of a synthetic key are null.
Don't warn in that case.

Bug: 17300101

Change-Id: Ifacf2fb56d1272b33a2b1ae377a85c9011e22b24

9 years agoClean up apks installed for a removed user
Amith Yamasani [Fri, 29 Aug 2014 01:06:51 +0000 (18:06 -0700)]
Clean up apks installed for a removed user

When a user is removed, enumerate through all installed packages
to see if any of them are not installed for any user. Delete the
package if no user has it "installed".

Added a pm option to install an apk for a specific user.

Fixed a crash in UserManagerService when executing the above
cleanup - dying users generate a null UserInfo.

Bug: 15426024
Change-Id: I571decde1ae1c257d0da6db153b896aad6d6bcb4

9 years agoMerge "Hide AIDL for RemoteServiceCallback in telecomm" into lmp-dev
Nancy Chen [Fri, 29 Aug 2014 17:14:53 +0000 (17:14 +0000)]
Merge "Hide AIDL for RemoteServiceCallback in telecomm" into lmp-dev

9 years agoMerge "Free prefetched layers on TRIM_MEMORY" into lmp-dev
John Reck [Fri, 29 Aug 2014 17:07:34 +0000 (17:07 +0000)]
Merge "Free prefetched layers on TRIM_MEMORY" into lmp-dev

9 years agoMerge "Fix the global gesture to enable accessibility." into lmp-dev
Svetoslav [Fri, 29 Aug 2014 17:00:50 +0000 (17:00 +0000)]
Merge "Fix the global gesture to enable accessibility." into lmp-dev

9 years agoFree prefetched layers on TRIM_MEMORY
John Reck [Fri, 29 Aug 2014 16:59:43 +0000 (09:59 -0700)]
Free prefetched layers on TRIM_MEMORY

 Bug: 17208461

Change-Id: I831c10d29d5920274b90e11a67d6cd106972a058

9 years agoMerge "Really remove NetworkBoundURLFactory." into lmp-dev
Lorenzo Colitti [Fri, 29 Aug 2014 16:54:11 +0000 (16:54 +0000)]
Merge "Really remove NetworkBoundURLFactory." into lmp-dev

9 years agoMerge "Increasing the delay for the volume warning dialog with talkback" into lmp-dev
Selim Cinek [Fri, 29 Aug 2014 16:44:21 +0000 (16:44 +0000)]
Merge "Increasing the delay for the volume warning dialog with talkback" into lmp-dev

9 years agoMerge "Revert "Content description for padlock icon depending on state"" into lmp-dev
Jorim Jaggi [Fri, 29 Aug 2014 16:42:57 +0000 (16:42 +0000)]
Merge "Revert "Content description for padlock icon depending on state"" into lmp-dev

9 years agoRevert "Content description for padlock icon depending on state"
Jorim Jaggi [Fri, 29 Aug 2014 13:50:11 +0000 (13:50 +0000)]
Revert "Content description for padlock icon depending on state"

This reverts commit 1518196a94ed006b2b45e5dc527a23721ec1147a.

It turned out that just "Unlock" is a better label there, as
announcing the state might be confusing.

Bug: 17255298
Change-Id: I13f3b3db68f3f96afcd4db33baf07e7e213aa12c

9 years agoMerge "Only dismiss Keyguard with space when screen is on" into lmp-dev
Jorim Jaggi [Fri, 29 Aug 2014 16:42:00 +0000 (16:42 +0000)]
Merge "Only dismiss Keyguard with space when screen is on" into lmp-dev

9 years agoOnly dismiss Keyguard with space when screen is on
Jorim Jaggi [Fri, 29 Aug 2014 14:28:20 +0000 (16:28 +0200)]
Only dismiss Keyguard with space when screen is on

Bug: 17206291
Change-Id: I7fd9c77a0810bb71c0e4193ab121398e8e78d43b

9 years agoUpdate paddings for more card to match notification layouts
Jorim Jaggi [Fri, 29 Aug 2014 14:37:08 +0000 (16:37 +0200)]
Update paddings for more card to match notification layouts

Bug: 15437369
Change-Id: I6e9b1ce420d1d7217a455519a746ad28ed1fa75d

9 years agoMake PhoneAccount.Builder constructor public
Sailesh Nepal [Fri, 29 Aug 2014 16:01:18 +0000 (09:01 -0700)]
Make PhoneAccount.Builder constructor public

Bug: 17321110

Change-Id: I61209f70c4719bbc77a310310c456b253032bedc

9 years agoAdd IDs for status and nav-bar backgrounds.
George Mount [Thu, 28 Aug 2014 23:23:05 +0000 (16:23 -0700)]
Add IDs for status and nav-bar backgrounds.

Bug 17299689

Change-Id: I9b2168c547fe2670900614805031c3bb5fa63802

9 years agoIncreasing the delay for the volume warning dialog with talkback
Selim Cinek [Fri, 29 Aug 2014 14:28:39 +0000 (16:28 +0200)]
Increasing the delay for the volume warning dialog with talkback

Bug: 17145793
Change-Id: I27eb9c46c8d73d5e475f97b50b0a2f219c4ed6fb

9 years agoMerge "Fix various problems with notification layouts" into lmp-dev
Jorim Jaggi [Fri, 29 Aug 2014 13:51:22 +0000 (13:51 +0000)]
Merge "Fix various problems with notification layouts" into lmp-dev

9 years agoMerge "Fixing android.text.format.Time for non-English locales" into lmp-dev
Neil Fuller [Fri, 29 Aug 2014 13:36:00 +0000 (13:36 +0000)]
Merge "Fixing android.text.format.Time for non-English locales" into lmp-dev

9 years agoFix various problems with notification layouts
Jorim Jaggi [Thu, 28 Aug 2014 15:52:27 +0000 (17:52 +0200)]
Fix various problems with notification layouts

- Fix end padding for inbox notification.
- Fix that actions in BigText were clipped off.
- Fix that second line was never shown.
- Fix top padding in combination with badges.
- Fix that actions in InboxStyle were clipped off.
- Make badge style consistent with small icon.
- Fix that third line on Inbox/BigText is always 12sp (before it was
  sometimes 14sp)

Bug: 17315502
Bug: 17285898
Bug: 17311783
Bug: 17200814
Change-Id: Ic7e5e4fa07b6302a76631d0238b88239871acf49

9 years agoFixing android.text.format.Time for non-English locales
Neil Fuller [Wed, 27 Aug 2014 16:15:09 +0000 (17:15 +0100)]
Fixing android.text.format.Time for non-English locales

The test fixes for bug 17262063 showed up a real issue for
non-English locales with the Time.format() method:
If the Android string resources that contain the pattern use
non-ASCII characters then a '?' would be output instead of
those characters.

For example, in France the pattern for '%c' includes a 'à'
(a with a grave accent) and Japan includes 日.

The problem was due to converting the pattern to bytes using
the US_ASCII character set, which turns non-ASCII characters
into '?'. The code has been changed to use char throughout
and avoid bytes.

Internal documentation has been improved.

Some calls to modifyAndAppend() have been replaced with a
direct call to outputBuilder.append() because the
modify step is guaranteed to a no-op for the literals given.

The formatter has been changed to use Locale.US because it
is only used for outputting numbers. It has been renamed
to make this more obvious and the locale field has been
removed.

Bug: 17262063

(cherry picked from commit 788cb18f652fca380acefdadce305415bc0602b0)

Change-Id: I96ee158fbeb01827f0bbf022631625416f872fdb

9 years agoMerge "Load ApplicationInfo for correct user." into lmp-dev
Kenny Guy [Fri, 29 Aug 2014 11:01:03 +0000 (11:01 +0000)]
Merge "Load ApplicationInfo for correct user." into lmp-dev

9 years agoNoMan: Allow listeners to specify notification trim
Christoph Studer [Wed, 20 Aug 2014 12:29:43 +0000 (14:29 +0200)]
NoMan: Allow listeners to specify notification trim

Bug: 16574195
Change-Id: I116080df8b73d73040cf9dbc751e25ee118641d7

9 years agoMerge "Reject request when any unknown flag is speficied" into lmp-dev
Yohei Yukawa [Fri, 29 Aug 2014 08:22:57 +0000 (08:22 +0000)]
Merge "Reject request when any unknown flag is speficied" into lmp-dev

9 years agoReject request when any unknown flag is speficied
Yohei Yukawa [Fri, 29 Aug 2014 06:57:11 +0000 (23:57 -0700)]
Reject request when any unknown flag is speficied

Currently EditableInputConnection#requestUpdateCursorAnchorInfo
never returns false unless InputMethodManager is somehow
unavailable.

This is problematic, especifially when we add a new flag to
EditableInputConnection#requestUpdateCursorAnchorInfo in a
future release.

With this CL, #requestUpdateCursorAnchorInfo does nothing and
immediately returns false when one ore more unknown bits are
specified.

BUG: 17324806
Change-Id: I5601714b481e8efa0ad3337c0d093cfcf55eade3

9 years agoKeep tests building.
Jeff Sharkey [Fri, 29 Aug 2014 07:10:14 +0000 (00:10 -0700)]
Keep tests building.

Bug: 17183379
Change-Id: I7f52af3201975e8c626a6c6d7f508fd8d006b204

9 years agoMerge "FileBridge needs to keep strong reference to PFD." into lmp-dev
Jeff Sharkey [Fri, 29 Aug 2014 06:52:54 +0000 (06:52 +0000)]
Merge "FileBridge needs to keep strong reference to PFD." into lmp-dev

9 years agoMerge "Fix system audio mode failure in boot up" into lmp-dev
Jungshik Jang [Fri, 29 Aug 2014 06:28:12 +0000 (06:28 +0000)]
Merge "Fix system audio mode failure in boot up" into lmp-dev

9 years agoMerge "Address API review comments" into lmp-dev
Sandeep Siddhartha [Fri, 29 Aug 2014 06:22:07 +0000 (06:22 +0000)]
Merge "Address API review comments" into lmp-dev

9 years agoMerge "Fix memory leak in ResTable" into lmp-dev
Adam Lesinski [Fri, 29 Aug 2014 05:27:46 +0000 (05:27 +0000)]
Merge "Fix memory leak in ResTable" into lmp-dev

9 years agoMerge "CEC: Implement dump() of HdmiControlService" into lmp-dev
Terry Heo [Fri, 29 Aug 2014 05:12:55 +0000 (05:12 +0000)]
Merge "CEC: Implement dump() of HdmiControlService" into lmp-dev

9 years agoFileBridge needs to keep strong reference to PFD.
Jeff Sharkey [Fri, 29 Aug 2014 03:38:10 +0000 (20:38 -0700)]
FileBridge needs to keep strong reference to PFD.

Even though we've grabbed the underlying FD, the PFD could be GC'ed
and when finalized it would end up closing the underlying FD.  This
fix ties the PFD object lifecycle to the returned OutputStream.

Bug: 17183379
Change-Id: Ibee8f4cf78fee357181a250d15f2a653294b2877

9 years agoMerge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev
Adam Powell [Fri, 29 Aug 2014 02:49:46 +0000 (02:49 +0000)]
Merge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev

9 years agoDoc improvements for new Toolbar changes, now with attributes.
Adam Powell [Fri, 29 Aug 2014 02:35:36 +0000 (19:35 -0700)]
Doc improvements for new Toolbar changes, now with attributes.

Change-Id: I3f67899b4f9ab9ae4ab4f5dcbc853c08d7867947