237844 Commits

Author SHA1 Message Date
Marco Nelissen
aaacd001fb Merge "Expand mediaextractor dumpsys" into nyc-dev 2016-04-07 17:26:19 +00:00
Randy Pan
429b9fcb7b Merge "Enable/disable WifiConnectivityManager at runtime" into nyc-dev 2016-04-07 17:22:49 +00:00
Adam Lesinski
41c1bb8f4a Merge "Remove tests that have been moved to CTS" into nyc-dev 2016-04-07 17:04:13 +00:00
Adam Lesinski
f22df48067 Merge "AAPT2: Enable windows build and make sure it builds" into nyc-dev 2016-04-07 17:03:55 +00:00
Adam Lesinski
c399df7a68 Merge "AAPT: Dump uses-feature version in dump badging" into nyc-dev 2016-04-07 17:03:23 +00:00
Todd Kennedy
9d8da4cdf1 Merge "Only parse an APK once" into nyc-dev 2016-04-07 16:51:11 +00:00
Robin Lee
1b83651e7f Merge "Internal API for system apps to determine default network for other apps" into nyc-dev 2016-04-07 16:43:15 +00:00
Oren Blasberg
1b65b01f93 Merge "Fix icon spacing on both MenuPopup implementations." into nyc-dev 2016-04-07 16:37:47 +00:00
Phil Weaver
d408b995c3 Merge "Allow tests to change UiAutomation flags." into nyc-dev 2016-04-07 16:35:27 +00:00
Svetoslav Ganov
76cda85895 Merge "Fix a NPE" into nyc-dev 2016-04-07 16:32:01 +00:00
Yorke Lee
6e6c64702e Merge "Pass button index into inflateButton" into nyc-dev 2016-04-07 16:31:40 +00:00
Svet Ganov
819c2f8fda Fix a NPE
bug:27999133

Change-Id: Icacb8f440bca2f720c15ee5548495fad50502fa0
2016-04-07 09:28:01 -07:00
Diego Perez
8d35506e51 Merge "Fix rect shadow detection" into nyc-dev 2016-04-07 16:27:00 +00:00
Ricky Wai
bdc3961fef Merge "Fix work profile screen timeout policy" into nyc-dev 2016-04-07 16:20:43 +00:00
Ricky Wai
035e924470 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
2016-04-07 17:16:03 +01:00
Jason Monk
c2c19e34e6 Merge "Fix QS expanding" into nyc-dev 2016-04-07 15:51:05 +00:00
Jason Monk
324ed2378a 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
2016-04-07 11:48:49 -04:00
Jeff Sharkey
6e0b305fc0 Merge "Delay unlock attempts for managed profiles." into nyc-dev 2016-04-07 15:42:50 +00:00
Ricky Wai
f86f986728 Delete all work fingerprints when unified lock changes to None/Swipe
Bug: 27551139
Change-Id: Ida398a922d9c42e65001b0a10e13552505824d2d
2016-04-07 15:40:54 +00:00
Ricky Wai
53940d4c7f 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
2016-04-07 15:11:34 +00:00
Rubin Xu
f5c0a55d1e Fix wrong condition
am: 492ed58

* commit '492ed589df3609a15dd6a33709fc8d855ec1072d':
  Fix wrong condition

Change-Id: I23f23c4b77d19286915e501bea482e4d1fe7e714
2016-04-07 15:00:59 +00:00
Robin Lee
d2baf792f8 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
2016-04-07 14:55:59 +00:00
Jason Monk
917c06a0fb Merge "Work on QS landscape fitting" into nyc-dev 2016-04-07 14:27:42 +00:00
Ricky Wai
dc283a8976 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
2016-04-07 14:23:37 +00:00
Daniel U
eb33f49232 Merge "Refresh cached user array upon lockscreen settings changed" into nyc-dev 2016-04-07 14:20:15 +00:00
Ashutosh Joshi
7d4a7fa333 Merge "Add dumpsys capabilities for context hub service" into nyc-dev 2016-04-07 14:00:49 +00:00
Alexander Hills
a5ec16e367 Merge "Adds a content-intent-launching-activity flag to WearableExtender" into nyc-dev 2016-04-07 13:52:58 +00:00
Gustav Sennton
e1ccdd13dc Merge "Split WebViewUpdateService logic into fallback logic and update-logic." into nyc-dev 2016-04-07 13:42:25 +00:00
Rubin Xu
fccb14ed8a Merge "Only cancel syncs for non-existent accounts" into nyc-dev 2016-04-07 13:40:30 +00:00
Clara Bayarri
22e2769c9d Merge "Make Keyboard Shortcuts special names Context dependent" into nyc-dev 2016-04-07 12:58:49 +00:00
Rubin Xu
2c548e0e11 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
2016-04-07 13:42:33 +01:00
Gustav Sennton
3a6e6b24fb 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
2016-04-07 13:37:56 +01:00
Clara Bayarri
b999af5bab 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
2016-04-07 13:35:23 +01:00
Gustav Sennton
0a786cff45 Merge "Disable fallback webview package before downgrading it." into nyc-dev 2016-04-07 12:30:03 +00:00
Rubin Xu
492ed589df Fix wrong condition
Bug: 28050399
Change-Id: If729ee2bcc5496b5ee381e490f72c751da04dc09
2016-04-07 12:09:27 +01:00
David Brazdil
70f08d9eb1 Merge "Do not update idle apps on OTA" into nyc-dev 2016-04-07 10:59:48 +00:00
Andrei Stingaceanu
d15191076d 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
2016-04-07 10:36:59 +00:00
Seigo Nonaka
8c83a85e26 Merge "Paint.hasGlyph should return false on unsupported flags." into nyc-dev 2016-04-07 09:27:57 +00:00
Gustav Sennton
5c153c5172 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
2016-04-07 10:25:31 +01:00
Seigo Nonaka
64d1515076 Merge "Fix suggestion popup for RTL text on LTR layout." into nyc-dev 2016-04-07 09:20:27 +00:00
Andrii Kulian
3ed501c12a Merge "Set correct bounds when docked stack is removed v2" into nyc-dev 2016-04-07 08:08:27 +00:00
Seigo Nonaka
1d3efb6f64 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
2016-04-07 16:40:57 +09:00
Jeff Sharkey
5dab713ff0 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: 28051109, 27457806
Change-Id: If2ca59834024e5ad039f659d611ef708ed751fad
2016-04-07 01:21:01 -06:00
Jeff Sharkey
94cac0730a Merge "Automatically trace messages on shared loopers." into nyc-dev 2016-04-07 07:19:03 +00:00
Jeff Sharkey
74cd3de6f4 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
2016-04-07 00:14:53 -06:00
Keisuke Kuroyanagi
03f1e02699 Merge "Invalidate HandleView when handle position may have to be changed." into nyc-dev 2016-04-07 05:22:36 +00:00
Tomasz Mikolajewski
64f2ffaa7e Merge "Remove unused state in DocumentsUI." into nyc-dev 2016-04-07 04:44:25 +00:00
Keisuke Kuroyanagi
d119ab94c0 Merge "Rewrite SuggestionsPopupWindowTest using espresso." into nyc-dev 2016-04-07 04:33:11 +00:00
Ashutosh Joshi
6239cc6fe1 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
2016-04-06 21:21:34 -07:00
Tomasz Mikolajewski
e68cc51614 Merge "Do not crash when selecting a lot of files." into nyc-dev 2016-04-07 03:27:13 +00:00