OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "TIF: Fix a typo in the documentation" into nyc-dev
Dongwon Kang [Thu, 7 Apr 2016 22:56:46 +0000 (22:56 +0000)]
Merge "TIF: Fix a typo in the documentation" into nyc-dev

8 years agoMerge "Improve Animation Calculations to remove Jank" into nyc-dev
Sid Soundararajan [Thu, 7 Apr 2016 22:55:51 +0000 (22:55 +0000)]
Merge "Improve Animation Calculations to remove Jank" into nyc-dev

8 years agoMerge "Fix top level menu lingering when submenu opens." into nyc-dev
Oren Blasberg [Thu, 7 Apr 2016 22:43:16 +0000 (22:43 +0000)]
Merge "Fix top level menu lingering when submenu opens." into nyc-dev

8 years agoMerge "Hide unnecessary extra name constants in ClipDescription" into nyc-dev
Vladislav Kaznacheev [Thu, 7 Apr 2016 22:21:44 +0000 (22:21 +0000)]
Merge "Hide unnecessary extra name constants in ClipDescription" into nyc-dev

8 years agoMerge "HFP Client Permission" into nyc-dev
Joseph Pirozzo [Thu, 7 Apr 2016 22:09:24 +0000 (22:09 +0000)]
Merge "HFP Client Permission" into nyc-dev

8 years agoMerge "Only updating the header if valid bounds are generated." into nyc-dev
Winson Chung [Thu, 7 Apr 2016 21:44:33 +0000 (21:44 +0000)]
Merge "Only updating the header if valid bounds are generated." into nyc-dev

8 years agoMerge "AccountManager: fix updateCredentials API." into nyc-dev
Sandra Kwan [Thu, 7 Apr 2016 21:40:20 +0000 (21:40 +0000)]
Merge "AccountManager: fix updateCredentials API." into nyc-dev

8 years agoOnly updating the header if valid bounds are generated.
Winson [Thu, 7 Apr 2016 21:22:12 +0000 (14:22 -0700)]
Only updating the header if valid bounds are generated.

Bug: 28059153
Change-Id: Icbc35b4600421f75ae1193e7ccf18dce0b17c3e1

8 years agoImprove Animation Calculations to remove Jank
Sid Soundararajan [Wed, 6 Apr 2016 01:00:38 +0000 (18:00 -0700)]
Improve Animation Calculations to remove Jank

Add animations to back button press path.

Add scroll for launches of unfocused apps.

Part 1 of 2 to fix:

b/27876144

Change-Id: I1ac345dffb06d7926558a4087b07061ee4be731b

8 years agoHFP Client Permission
Joseph Pirozzo [Thu, 7 Apr 2016 20:43:49 +0000 (13:43 -0700)]
HFP Client Permission

Add the permission checkbox to the bluetooth profiles in settings if an
HFP client profile exists on the local device and HFP server profile
exists on the remote device rather than relying on the remote device
attempting to connect before presenting it.

Bug: 28071400
Change-Id: I32707a709489c7383a6e1709eac844a3d17f4428

8 years agoMerge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev
Vladislav Kaznacheev [Thu, 7 Apr 2016 20:41:53 +0000 (20:41 +0000)]
Merge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev

8 years agoTIF: Fix a typo in the documentation
Dongwon Kang [Thu, 7 Apr 2016 20:38:41 +0000 (13:38 -0700)]
TIF: Fix a typo in the documentation

Change-Id: I0e4963ca6ce3f42682a7d591f913ea801987b31b

8 years agoMerge "Treat accessibility gestures like physical ones." into nyc-dev
Phil Weaver [Thu, 7 Apr 2016 20:34:33 +0000 (20:34 +0000)]
Merge "Treat accessibility gestures like physical ones." into nyc-dev

8 years agoMerge "Clarify version docs." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 20:08:17 +0000 (20:08 +0000)]
Merge "Clarify version docs." into nyc-dev

8 years agoMerge "sysui: refactoring qs for extensibility" into nyc-dev
Xiaohui Chen [Thu, 7 Apr 2016 20:07:29 +0000 (20:07 +0000)]
Merge "sysui: refactoring qs for extensibility" into nyc-dev

8 years agoClarify version docs.
Jeff Sharkey [Thu, 7 Apr 2016 20:07:10 +0000 (14:07 -0600)]
Clarify version docs.

Change-Id: I64cc9e5e51f12d33e770e73734efd89df20c8504

8 years agoMerge "Adds support for MessagingStyle" into nyc-dev
Alexander Hills [Thu, 7 Apr 2016 19:59:19 +0000 (19:59 +0000)]
Merge "Adds support for MessagingStyle" into nyc-dev

8 years agoMerge "Fixed a bug with talkback where the panel could be expanded" into nyc-dev
Selim Cinek [Thu, 7 Apr 2016 19:54:16 +0000 (19:54 +0000)]
Merge "Fixed a bug with talkback where the panel could be expanded" into nyc-dev

8 years agoMerge "Add Home Recents Transition Animations" into nyc-dev
Sid Soundararajan [Thu, 7 Apr 2016 19:41:46 +0000 (19:41 +0000)]
Merge "Add Home Recents Transition Animations" into nyc-dev

8 years agoMerge "Addressed API review comments and updated JavaDoc" into nyc-dev
Lifu Tang [Thu, 7 Apr 2016 19:36:01 +0000 (19:36 +0000)]
Merge "Addressed API review comments and updated JavaDoc" into nyc-dev

8 years agosysui: refactor for extensibility.
Muyuan Li [Wed, 30 Mar 2016 23:50:11 +0000 (16:50 -0700)]
sysui: refactor for extensibility.

1. Refactored container height calculation out of updateBottom of QSContainer;

2. Added a method in QSContainer to return min expansion height.

Bug: 27929808
Change-Id: I5a6d04ffb225bccfc56fa5f4ab98d330ed763a8c
(cherry picked from commit 9e874950195d6b76a64e28c236e8d109d551281f)

8 years agoMerge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68" into nyc-dev
Yi Kong [Thu, 7 Apr 2016 19:29:17 +0000 (19:29 +0000)]
Merge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68" into nyc-dev

8 years agoMerge "WifiScanner: Remove pnosetting stopPno API (1/2)" into nyc-dev
Roshan Pius [Thu, 7 Apr 2016 19:28:22 +0000 (19:28 +0000)]
Merge "WifiScanner: Remove pnosetting stopPno API (1/2)" into nyc-dev

8 years agoTrack libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68
Yi Kong [Thu, 7 Apr 2016 17:06:45 +0000 (18:06 +0100)]
Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68

Bug: 28058863
Change-Id: Id4bfeaf0f85d63b658dee3b74f91d7468c8eab95
(cherry picked from commit b443d5d171fdbe00bf9806645776c8da3f6b85ba)
(cherry picked from commit 0201c5566dd09a19a05b04ba5b803f60b4111b76)

8 years agoTreat accessibility gestures like physical ones.
Phil Weaver [Thu, 7 Apr 2016 18:06:02 +0000 (11:06 -0700)]
Treat accessibility gestures like physical ones.

Gestures now operate on the screen as the user sees it, so they are
affected by magnification. This makes gesture coordinates consistent
with the node bounds in screen and makes an eye or head tracking service
work much more easily.

Bug: 27747314
Change-Id: Idee60398d49d8c9af7405d974893c796b034c974

8 years agoAdds support for MessagingStyle
Alex Hills [Wed, 23 Mar 2016 21:33:02 +0000 (17:33 -0400)]
Adds support for MessagingStyle

This change adds support for the new MessagingStyle, which
supports a fully back-and-forth messaging/chat experience
within the notification display itself.

Bug:28043958
Change-Id: Ibb9c2a0784f028d8cf01bd3cee4fecc5f72d68cd

8 years agoMerge "Fix NPE when runnin testActivity" into nyc-dev
Diego Perez [Thu, 7 Apr 2016 19:02:33 +0000 (19:02 +0000)]
Merge "Fix NPE when runnin testActivity" into nyc-dev

8 years agoMerge "Unlock newly created managed profiles." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 18:46:36 +0000 (18:46 +0000)]
Merge "Unlock newly created managed profiles." into nyc-dev

8 years agosysui: refactoring qs for extensibility
Xiaohui Chen [Thu, 7 Apr 2016 17:37:25 +0000 (10:37 -0700)]
sysui: refactoring qs for extensibility

Bug: 27100060
Change-Id: I4913999e57ff1a1b473649009b8822e24c0393c8

8 years agoUnlock newly created managed profiles.
Jeff Sharkey [Thu, 7 Apr 2016 18:39:57 +0000 (12:39 -0600)]
Unlock newly created managed profiles.

We only need to delay unlocking managed profiles if the parent user
is currently locked.

Bug: 28068215
Change-Id: Ic59872a10417cfc166bd6e79cf94719545c7f45a

8 years agoMerge "Fix sqlite time measurement." into nyc-dev
Makoto Onuki [Thu, 7 Apr 2016 18:38:41 +0000 (18:38 +0000)]
Merge "Fix sqlite time measurement." into nyc-dev

8 years agoAccountManager: fix updateCredentials API.
Sandra Kwan [Thu, 7 Apr 2016 17:58:27 +0000 (10:58 -0700)]
AccountManager: fix updateCredentials API.

Bug: 26157869
Change-Id: Icd2148db6923383263bcce5ad845bcb1411f5c4e

8 years agoMerge "Revert "Remove old FUSE bypass now that we have sdcardfs."" into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 17:56:20 +0000 (17:56 +0000)]
Merge "Revert "Remove old FUSE bypass now that we have sdcardfs."" into nyc-dev

8 years agoRevert "Remove old FUSE bypass now that we have sdcardfs."
Jeff Sharkey [Thu, 7 Apr 2016 17:56:06 +0000 (17:56 +0000)]
Revert "Remove old FUSE bypass now that we have sdcardfs."

This reverts commit feef8b62ee60c8418bd7238522c06098e61eecff.

Change-Id: I90a3b8edf95cb5b631a85168671cf8b5a406d9ea

8 years agoMerge "Lock down access to getProfiles for 3P apps" into nyc-dev
Fyodor Kupolov [Thu, 7 Apr 2016 17:52:52 +0000 (17:52 +0000)]
Merge "Lock down access to getProfiles for 3P apps" into nyc-dev

8 years agoMerge "Give users and devices control over sdcardfs." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 17:52:39 +0000 (17:52 +0000)]
Merge "Give users and devices control over sdcardfs." into nyc-dev

8 years agoMerge "add an onListenerDisconnected() callback to NLS" into nyc-dev
Chris Wren [Thu, 7 Apr 2016 17:44:09 +0000 (17:44 +0000)]
Merge "add an onListenerDisconnected() callback to NLS" into nyc-dev

8 years agoMerge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" into nyc-dev
Yi Kong [Thu, 7 Apr 2016 17:41:54 +0000 (17:41 +0000)]
Merge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" into nyc-dev

8 years agoTrack libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4
Yi Kong [Thu, 7 Apr 2016 16:48:19 +0000 (17:48 +0100)]
Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4

Change-Id: I272d9d8a15034dce4e0858b76e1ca22e315e4acd
(cherry picked from commit 3f0f27f6cc35d75691b722c4841e435ac9b2d439)
(cherry picked from commit abd00ff0e742d5e4849af9fad51f9e1b6bd3463a)

8 years agoWifiScanner: Remove pnosetting stopPno API (1/2)
Roshan Pius [Thu, 7 Apr 2016 17:31:23 +0000 (10:31 -0700)]
WifiScanner: Remove pnosetting stopPno API (1/2)

BUG: 27532350
Change-Id: I6df3df56e66c7bbb8443c038cd8345989cf2d57e

8 years agoMerge "Make it easier to reveal gear on non-clearable notifications" into nyc-dev
Mady Mellor [Thu, 7 Apr 2016 17:31:58 +0000 (17:31 +0000)]
Merge "Make it easier to reveal gear on non-clearable notifications" into nyc-dev

8 years agoGive users and devices control over sdcardfs.
Jeff Sharkey [Thu, 7 Apr 2016 17:05:33 +0000 (11:05 -0600)]
Give users and devices control over sdcardfs.

Instead of relying only on kernel support for sdcardfs, give each
device the ability to quickly toggle between sdcardfs and FUSE.  Also
add the ability to users to explicitly enable/disable the behavior
for testing and debugging purposes.

Bug: 27991427
Change-Id: Ia57f12f6ead888ab85101004bdd8c8003537b116

8 years agoMerge "Expand mediaextractor dumpsys" into nyc-dev
Marco Nelissen [Thu, 7 Apr 2016 17:26:17 +0000 (17:26 +0000)]
Merge "Expand mediaextractor dumpsys" into nyc-dev

8 years agoMerge "Enable/disable WifiConnectivityManager at runtime" into nyc-dev
Randy Pan [Thu, 7 Apr 2016 17:22:47 +0000 (17:22 +0000)]
Merge "Enable/disable WifiConnectivityManager at runtime" into nyc-dev

8 years agoadd an onListenerDisconnected() callback to NLS
Chris Wren [Wed, 6 Apr 2016 22:15:46 +0000 (18:15 -0400)]
add an onListenerDisconnected() callback to NLS

Also block all callbacks if the listener is not connected.

Also update the documentation to make lifecycle restictions
more clear.

Bug: 27582839
Change-Id: I029304e1fb87bd8d754cfb4641ba8cc095fc2b2e

8 years agoMerge "Remove tests that have been moved to CTS" into nyc-dev
Adam Lesinski [Thu, 7 Apr 2016 17:04:12 +0000 (17:04 +0000)]
Merge "Remove tests that have been moved to CTS" into nyc-dev

8 years agoMerge "AAPT2: Enable windows build and make sure it builds" into nyc-dev
Adam Lesinski [Thu, 7 Apr 2016 17:03:54 +0000 (17:03 +0000)]
Merge "AAPT2: Enable windows build and make sure it builds" into nyc-dev

8 years agoMerge "AAPT: Dump uses-feature version in dump badging" into nyc-dev
Adam Lesinski [Thu, 7 Apr 2016 17:03:21 +0000 (17:03 +0000)]
Merge "AAPT: Dump uses-feature version in dump badging" into nyc-dev

8 years agoFix NPE when runnin testActivity
Diego Perez [Thu, 7 Apr 2016 17:00:17 +0000 (18:00 +0100)]
Fix NPE when runnin testActivity

Change-Id: I7ac81cb286b8d5593ae7f5fedb99bfd0fda791c5

8 years agoMerge "Only parse an APK once" into nyc-dev
Todd Kennedy [Thu, 7 Apr 2016 16:51:10 +0000 (16:51 +0000)]
Merge "Only parse an APK once" into nyc-dev

8 years agoMerge "Internal API for system apps to determine default network for other apps"...
Robin Lee [Thu, 7 Apr 2016 16:43:13 +0000 (16:43 +0000)]
Merge "Internal API for system apps to determine default network for other apps" into nyc-dev

8 years agoFix sqlite time measurement.
Makoto Onuki [Thu, 7 Apr 2016 16:07:04 +0000 (09:07 -0700)]
Fix sqlite time measurement.

SystemClock.uptimeMillis() should be used to calculate duration.

Bug 28054535

Change-Id: Idadee1ee47cea22d58dba2163cb843402e39b196

8 years agoMerge "Fix icon spacing on both MenuPopup implementations." into nyc-dev
Oren Blasberg [Thu, 7 Apr 2016 16:37:46 +0000 (16:37 +0000)]
Merge "Fix icon spacing on both MenuPopup implementations." into nyc-dev

8 years agoMerge "Allow tests to change UiAutomation flags." into nyc-dev
Phil Weaver [Thu, 7 Apr 2016 16:35:25 +0000 (16:35 +0000)]
Merge "Allow tests to change UiAutomation flags." into nyc-dev

8 years agoMerge "Fix a NPE" into nyc-dev
Svetoslav Ganov [Thu, 7 Apr 2016 16:32:00 +0000 (16:32 +0000)]
Merge "Fix a NPE" into nyc-dev

8 years agoMerge "Pass button index into inflateButton" into nyc-dev
Yorke Lee [Thu, 7 Apr 2016 16:31:39 +0000 (16:31 +0000)]
Merge "Pass button index into inflateButton" into nyc-dev

8 years agoFix a NPE
Svet Ganov [Thu, 7 Apr 2016 16:27:58 +0000 (09:27 -0700)]
Fix a NPE

bug:27999133

Change-Id: Icacb8f440bca2f720c15ee5548495fad50502fa0

8 years agoMerge "Fix rect shadow detection" into nyc-dev
Diego Perez [Thu, 7 Apr 2016 16:26:58 +0000 (16:26 +0000)]
Merge "Fix rect shadow detection" into nyc-dev

8 years agoMerge "Fix work profile screen timeout policy" into nyc-dev
Ricky Wai [Thu, 7 Apr 2016 16:20:42 +0000 (16:20 +0000)]
Merge "Fix work profile screen timeout policy" into nyc-dev

8 years agoFix work profile screen timeout policy
Ricky Wai [Fri, 18 Mar 2016 16:43:31 +0000 (16:43 +0000)]
Fix work profile screen timeout policy

Settings screen should apply both primary and managed maximum
timeout policy, even separate profile challenge is enabled.

Bug: 27493348
Change-Id: Ia1ec1cafc7665c54816833af64e0f446a77a55b2

8 years agoMerge "Fix QS expanding" into nyc-dev
Jason Monk [Thu, 7 Apr 2016 15:51:04 +0000 (15:51 +0000)]
Merge "Fix QS expanding" into nyc-dev

8 years agoFix QS expanding
Jason Monk [Thu, 7 Apr 2016 15:48:49 +0000 (11:48 -0400)]
Fix QS expanding

The QS host triggers the expand by clicking on a view that will
expand QS, but the header itself doesn't handle expands anymore,
it is handled by the expand indicator.

Bug: 28060735
Change-Id: I4daaeb754d294d5e6647dedf36ab2161c6a0fa56

8 years agoMerge "Delay unlock attempts for managed profiles." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 15:42:48 +0000 (15:42 +0000)]
Merge "Delay unlock attempts for managed profiles." into nyc-dev

8 years agoDelete all work fingerprints when unified lock changes to None/Swipe
Ricky Wai [Wed, 23 Mar 2016 12:05:42 +0000 (12:05 +0000)]
Delete all work fingerprints when unified lock changes to None/Swipe

Bug: 27551139
Change-Id: Ida398a922d9c42e65001b0a10e13552505824d2d

8 years agoFingerprint should confirm device lock when unified
Ricky Wai [Tue, 5 Apr 2016 14:29:24 +0000 (15:29 +0100)]
Fingerprint should confirm device lock when unified

When unified and adding a fingerprint, the user is prompted to set up
a backup

Bug:27419438
Change-Id: I3e857fa07c50ee0904f685b721595ef6cfe729f9

8 years agoFix wrong condition
Rubin Xu [Thu, 7 Apr 2016 15:00:59 +0000 (15:00 +0000)]
Fix wrong condition
am: 492ed58

* commit '492ed589df3609a15dd6a33709fc8d855ec1072d':
  Fix wrong condition

Change-Id: I23f23c4b77d19286915e501bea482e4d1fe7e714

8 years agoInternal API for system apps to determine default network for other apps
Robin Lee [Thu, 24 Mar 2016 12:07:00 +0000 (12:07 +0000)]
Internal API for system apps to determine default network for other apps

Callers with CONNECTIVITY_INTERNAL permission can read off the netId
that an application is assigned to by default.

Necessary for making connections as the default network for a client
app eg. when downloading stuff on its behalf.

Bug: 27074270
Change-Id: I8d35e8e99126875f55f3c545090326f3e9be43fb

8 years agoMerge "Work on QS landscape fitting" into nyc-dev
Jason Monk [Thu, 7 Apr 2016 14:27:41 +0000 (14:27 +0000)]
Merge "Work on QS landscape fitting" into nyc-dev

8 years agoKeymaster init for work profile
Ricky Wai [Thu, 24 Mar 2016 19:55:08 +0000 (19:55 +0000)]
Keymaster init for work profile

Changes:
(1) When unified work challenge is enabled and screen lock is secure
  - Store work profile secure key in primary profile
  - When primary user keystore unlocked, unlock work profile keystore
  - When primary user change lock to none, remove work secure key
(2) When unified work challenge is enabled but screen lock is not secure
  - When screen lock changes to secure, store work secure key in primary
(3) When user changes work challenge from unified to separated
  - Remove work secure key in primary
(4) When user changes work challenge from separate to unified
  - Do (1) and (2)

Bug: 27460698

Change-Id: I8f77bde5dc6b8e59c90256e75c5990100e93366b

8 years agoMerge "Refresh cached user array upon lockscreen settings changed" into nyc-dev
Daniel U [Thu, 7 Apr 2016 14:20:13 +0000 (14:20 +0000)]
Merge "Refresh cached user array upon lockscreen settings changed" into nyc-dev

8 years agoMerge "Add dumpsys capabilities for context hub service" into nyc-dev
Ashutosh Joshi [Thu, 7 Apr 2016 14:00:48 +0000 (14:00 +0000)]
Merge "Add dumpsys capabilities for context hub service" into nyc-dev

8 years agoMerge "Adds a content-intent-launching-activity flag to WearableExtender" into nyc-dev
Alexander Hills [Thu, 7 Apr 2016 13:52:56 +0000 (13:52 +0000)]
Merge "Adds a content-intent-launching-activity flag to WearableExtender" into nyc-dev

8 years agoMerge "Split WebViewUpdateService logic into fallback logic and update-logic." into...
Gustav Sennton [Thu, 7 Apr 2016 13:42:24 +0000 (13:42 +0000)]
Merge "Split WebViewUpdateService logic into fallback logic and update-logic." into nyc-dev

8 years agoMerge "Only cancel syncs for non-existent accounts" into nyc-dev
Rubin Xu [Thu, 7 Apr 2016 13:40:28 +0000 (13:40 +0000)]
Merge "Only cancel syncs for non-existent accounts" into nyc-dev

8 years agoMerge "Make Keyboard Shortcuts special names Context dependent" into nyc-dev
Clara Bayarri [Thu, 7 Apr 2016 12:58:48 +0000 (12:58 +0000)]
Merge "Make Keyboard Shortcuts special names Context dependent" into nyc-dev

8 years agoOnly cancel syncs for non-existent accounts
Rubin Xu [Fri, 1 Apr 2016 16:47:28 +0000 (17:47 +0100)]
Only cancel syncs for non-existent accounts

updateRunningAccountsH() should check syncs against all accounts
on the device, not only running accounts.

Also add code to restore wrongly-canceled periodic syncs, saving
users from a bad state where the only alternative is to remove and
readd affected accounts.

Bug: 27733283
Change-Id: I96bce87571c3b7c6cd1934cc967f11257f891f55

8 years agoSplit WebViewUpdateService logic into fallback logic and update-logic.
Gustav Sennton [Tue, 5 Apr 2016 13:09:09 +0000 (14:09 +0100)]
Split WebViewUpdateService logic into fallback logic and update-logic.

Add an inner class for the updating-logic to differentiate that logic
from the rest of the service (logic such as keeping track of
relro-creation and the current WebView implementation).
The fallback logic doesn't hold any state but instead just checks the
state of the system to determine whether to enable/disable the fallback
package and therefore that logic doesn't really need its own class.

Since the minimumVersionCode check stores state we here move that into
the inner class containing the updating-logic.

Bug: 27635535

Change-Id: I0afdb74c12139439ca66bfbd1c173ad98662ed31

8 years agoMake Keyboard Shortcuts special names Context dependent
Clara Bayarri [Wed, 6 Apr 2016 15:02:35 +0000 (16:02 +0100)]
Make Keyboard Shortcuts special names Context dependent

These were static, but since we load Strings from a given context
we should load them each time (e.g. Locale might have changed).

Bug: 28035606
Change-Id: I3dd654c29a2632bfd93ea791457fac5d9d0f6aa8

8 years agoMerge "Disable fallback webview package before downgrading it." into nyc-dev
Gustav Sennton [Thu, 7 Apr 2016 12:30:02 +0000 (12:30 +0000)]
Merge "Disable fallback webview package before downgrading it." into nyc-dev

8 years agoFix wrong condition
Rubin Xu [Thu, 7 Apr 2016 11:09:27 +0000 (12:09 +0100)]
Fix wrong condition

Bug: 28050399
Change-Id: If729ee2bcc5496b5ee381e490f72c751da04dc09

8 years agoMerge "Do not update idle apps on OTA" into nyc-dev
David Brazdil [Thu, 7 Apr 2016 10:59:47 +0000 (10:59 +0000)]
Merge "Do not update idle apps on OTA" into nyc-dev

8 years agoKeyboard shortcuts: icons for shortcut items
Andrei Stingaceanu [Thu, 31 Mar 2016 14:53:33 +0000 (15:53 +0100)]
Keyboard shortcuts: icons for shortcut items

Introduces the ability to display a shortcut item as
an image (if it has a resource attached). Also added
vector drawables for: up, down, left, right, enter, meta
and backspace.
Note that accessibilty wise the drawables dynamically scale
to the height of the text items (which have the text size
set in sp).

Bug: 27455410
Change-Id: I49739313d83cf661bea9378108a1fa3d6c51bd2e

8 years agoMerge "Paint.hasGlyph should return false on unsupported flags." into nyc-dev
Seigo Nonaka [Thu, 7 Apr 2016 09:27:55 +0000 (09:27 +0000)]
Merge "Paint.hasGlyph should return false on unsupported flags." into nyc-dev

8 years agoDisable fallback webview package before downgrading it.
Gustav Sennton [Wed, 6 Apr 2016 16:53:04 +0000 (17:53 +0100)]
Disable fallback webview package before downgrading it.

Now that we support disabling packages before downgrading them we can
do this for the webview fallback mechanism to avoid disabling a fallback
asynchronously (downgrading a package is an asynchronous operation).

We also check that the package is an upgraded app before downgrading it,
to not try to downgrade it unnecessarily.

Bug: 27894939

Change-Id: I541c2fcfe8016e4bcc2d5afff6e393c81e2749a2

8 years agoMerge "Fix suggestion popup for RTL text on LTR layout." into nyc-dev
Seigo Nonaka [Thu, 7 Apr 2016 09:20:26 +0000 (09:20 +0000)]
Merge "Fix suggestion popup for RTL text on LTR layout." into nyc-dev

8 years agoMerge "Set correct bounds when docked stack is removed v2" into nyc-dev
Andrii Kulian [Thu, 7 Apr 2016 08:08:26 +0000 (08:08 +0000)]
Merge "Set correct bounds when docked stack is removed v2" into nyc-dev

8 years agoFix suggestion popup for RTL text on LTR layout.
Seigo Nonaka [Thu, 7 Apr 2016 07:23:21 +0000 (16:23 +0900)]
Fix suggestion popup for RTL text on LTR layout.

By setting width to the ListView, the width of the containing text view
won't match with parent.

I locally verified this doesn't revive issue 27341560.

Bug: 28034210

Change-Id: I67886a752ef110d3433dddd6aa8447a9027f8e19

8 years agoDelay unlock attempts for managed profiles.
Jeff Sharkey [Thu, 7 Apr 2016 07:20:58 +0000 (01:20 -0600)]
Delay unlock attempts for managed profiles.

Managed profiles may not have a credential challenge, so we need to
make sure we don't unlock them until their parent user has been
unlocked.  Otherwise the managed profile will get into all sorts of
trouble trying to reach into its still-locked parent.

Bug: 2805110927457806
Change-Id: If2ca59834024e5ad039f659d611ef708ed751fad

8 years agoMerge "Automatically trace messages on shared loopers." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 07:19:02 +0000 (07:19 +0000)]
Merge "Automatically trace messages on shared loopers." into nyc-dev

8 years agoAutomatically trace messages on shared loopers.
Jeff Sharkey [Wed, 6 Apr 2016 23:40:54 +0000 (17:40 -0600)]
Automatically trace messages on shared loopers.

There are a handful of looper threads in the system_process that
are shared by dozens of different internal services.  To help track
down what these operations are, tag the processing of each message
with a string that tries describing where it originated from: the
class name of the Handler, and the message number or class name of the
Runnable.

Bug: 28046299
Change-Id: I409ec43fea8daaae4fd70df05d4fed929a7249ae

8 years agoMerge "Invalidate HandleView when handle position may have to be changed." into nyc-dev
Keisuke Kuroyanagi [Thu, 7 Apr 2016 05:22:35 +0000 (05:22 +0000)]
Merge "Invalidate HandleView when handle position may have to be changed." into nyc-dev

8 years agoMerge "Remove unused state in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Thu, 7 Apr 2016 04:44:24 +0000 (04:44 +0000)]
Merge "Remove unused state in DocumentsUI." into nyc-dev

8 years agoMerge "Rewrite SuggestionsPopupWindowTest using espresso." into nyc-dev
Keisuke Kuroyanagi [Thu, 7 Apr 2016 04:33:10 +0000 (04:33 +0000)]
Merge "Rewrite SuggestionsPopupWindowTest using espresso." into nyc-dev

8 years agoAdd dumpsys capabilities for context hub service
Ashutosh Joshi [Mon, 4 Apr 2016 23:19:29 +0000 (16:19 -0700)]
Add dumpsys capabilities for context hub service

Add useful debug hook for context hub service.
Fix constants
Use helper functions to address OS

Change-Id: Iba5f24a9a1fd809c3d83752953389d373ff334ca

8 years agoMerge "Do not crash when selecting a lot of files." into nyc-dev
Tomasz Mikolajewski [Thu, 7 Apr 2016 03:27:11 +0000 (03:27 +0000)]
Merge "Do not crash when selecting a lot of files." into nyc-dev

8 years agoFixed a bug with talkback where the panel could be expanded
Selim Cinek [Thu, 7 Apr 2016 03:03:45 +0000 (20:03 -0700)]
Fixed a bug with talkback where the panel could be expanded

Some callbacks were still firing even though they shouldn't have

Bug: 27408677
Change-Id: Id70ac43ecd115a47f28bfdfd0aafaa7ded4e6255

8 years agoRemove unused state in DocumentsUI.
Tomasz Mikolajewski [Thu, 7 Apr 2016 02:30:48 +0000 (11:30 +0900)]
Remove unused state in DocumentsUI.

Selection in State is very large, but no longer used. Removed.

Bug: 27208679
Change-Id: I2750347f6d06f2d006a0a04865d81110307ff7c5

8 years agoDo not crash when selecting a lot of files.
Tomasz Mikolajewski [Thu, 7 Apr 2016 02:12:07 +0000 (11:12 +0900)]
Do not crash when selecting a lot of files.

Bug: 27208679
Change-Id: I3763e190bf8a014274895a349b9739672f3e2224

8 years agoMerge "Caps Lock toggle with Meta + Alt (2/2)" into nyc-dev
Andrii Kulian [Thu, 7 Apr 2016 01:43:02 +0000 (01:43 +0000)]
Merge "Caps Lock toggle with Meta + Alt (2/2)" into nyc-dev

8 years agoAddressed API review comments and updated JavaDoc
Lifu Tang [Fri, 1 Apr 2016 17:32:05 +0000 (10:32 -0700)]
Addressed API review comments and updated JavaDoc

Bug: 27274532
Bug: 27948390
Change-Id: I0255d2511deab788dcab9815def9c1287a50b7f9