OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 agoRemove tests that have been moved to CTS
Adam Lesinski [Thu, 7 Apr 2016 00:47:10 +0000 (17:47 -0700)]
Remove tests that have been moved to CTS

ag/906284

Change-Id: I9e5da9239a62dbc85a1b22f8fe8876da65675d9a

8 years agoMerge "AAPT2: Allow <protected-broadcast> and <eat-comment> in AndroidManifest.xml...
Adam Lesinski [Thu, 7 Apr 2016 00:43:17 +0000 (00:43 +0000)]
Merge "AAPT2: Allow <protected-broadcast> and <eat-comment> in AndroidManifest.xml" into nyc-dev

8 years agoAAPT2: Allow <protected-broadcast> and <eat-comment> in AndroidManifest.xml
Adam Lesinski [Thu, 7 Apr 2016 00:40:25 +0000 (17:40 -0700)]
AAPT2: Allow <protected-broadcast> and <eat-comment> in AndroidManifest.xml

Change-Id: I38c49a2a31e560dec963d44d94e067035fd59150

8 years agoMerge "Fix flicker when docking task" into nyc-dev
Jorim Jaggi [Thu, 7 Apr 2016 00:22:25 +0000 (00:22 +0000)]
Merge "Fix flicker when docking task" into nyc-dev

8 years agoMerge "SENSING_TIMEOUT goes to STATE_INACTIVE. Bug: 27821977" into nyc-dev
Kevin Gabayan [Thu, 7 Apr 2016 00:01:45 +0000 (00:01 +0000)]
Merge "SENSING_TIMEOUT goes to STATE_INACTIVE. Bug: 27821977" into nyc-dev

8 years agoMerge "AnyMotionDetector holds wakelock until conclusive. Bug: 27821976" into nyc-dev
Kevin Gabayan [Thu, 7 Apr 2016 00:01:37 +0000 (00:01 +0000)]
Merge "AnyMotionDetector holds wakelock until conclusive. Bug: 27821976" into nyc-dev

8 years agoAAPT: Dump uses-feature version in dump badging
Adam Lesinski [Wed, 6 Apr 2016 23:12:04 +0000 (16:12 -0700)]
AAPT: Dump uses-feature version in dump badging

Bug:27162500
Change-Id: I4f82cdd8ef1801c92d4ea6b4bb982c6e7d91edb5

8 years agoFix flicker when docking task
Jorim Jaggi [Wed, 6 Apr 2016 22:56:33 +0000 (15:56 -0700)]
Fix flicker when docking task

Bug: 28051193
Change-Id: I191c01f90c775a26fce6e6f73a0573a0be91a61f

8 years agoAAPT2: Enable windows build and make sure it builds
Adam Lesinski [Wed, 6 Apr 2016 23:09:43 +0000 (16:09 -0700)]
AAPT2: Enable windows build and make sure it builds

Mingw32 4.8 is kind of picky with macros and some complicated template
stuff. Luckily there was another way to represent the
SFINAE code that works on all platforms. Yay!

Change-Id: Idc2e38f47bfdc57b394550bfa0f53cc0b825df25

8 years agoMerge "Close guts/gear after a timeout and if there's been no interaction" into nyc-dev
Mady Mellor [Wed, 6 Apr 2016 23:23:11 +0000 (23:23 +0000)]
Merge "Close guts/gear after a timeout and if there's been no interaction" into nyc-dev

8 years agoMerge "Fix dismiss all clipping for tablet / landscape" into nyc-dev
Mady Mellor [Wed, 6 Apr 2016 23:04:36 +0000 (23:04 +0000)]
Merge "Fix dismiss all clipping for tablet / landscape" into nyc-dev

8 years agoMerge changes I010309c5,Iefdf2f2a into nyc-dev
Aga Wronska [Wed, 6 Apr 2016 22:56:32 +0000 (22:56 +0000)]
Merge changes I010309c5,Iefdf2f2a into nyc-dev

* changes:
  Set status bar color to material_blue_grey_950 as specified by UX.
  Revert 'Make Files drawer appear behind system ui bars' because of action mode bug

8 years agoMerge "Deprecate methods not supported by Material-style date picker" into nyc-dev
Alan Viverette [Wed, 6 Apr 2016 22:49:43 +0000 (22:49 +0000)]
Merge "Deprecate methods not supported by Material-style date picker" into nyc-dev

8 years agoMerge "Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class" into nyc-dev
Andreas Gampe [Wed, 6 Apr 2016 22:45:35 +0000 (22:45 +0000)]
Merge "Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class" into nyc-dev

8 years agoSENSING_TIMEOUT goes to STATE_INACTIVE.
Kevin Gabayan [Tue, 5 Apr 2016 00:52:22 +0000 (17:52 -0700)]
SENSING_TIMEOUT goes to STATE_INACTIVE.
Bug: 27821977

Change-Id: I920581f57a1467ad13ab32efdf86a8f68960d84c

8 years agoMerge "Obsolete a couple of auto-join related APIs." into nyc-dev
Randy Pan [Wed, 6 Apr 2016 22:36:19 +0000 (22:36 +0000)]
Merge "Obsolete a couple of auto-join related APIs." into nyc-dev

8 years agoOnly parse an APK once
Todd Kennedy [Wed, 6 Apr 2016 21:08:14 +0000 (14:08 -0700)]
Only parse an APK once

During package installation, we were parsing the APK twice; once
in the context of the PackageInstaller and once in the context
of the PackageManager. Instead, the installer should just pass
the certificates to be used further in the process.

If the PackageManager doesn't receive certificates [or, if there's
an error using them], it will fallback to re-parsing the APK.

Bug: 27502465
Change-Id: I94ce551af54eaa9916228e933134debe50867d21

8 years agoPass button index into inflateButton
Yorke Lee [Wed, 6 Apr 2016 22:15:19 +0000 (15:15 -0700)]
Pass button index into inflateButton

Allow subclasses to know the index of the button in
its parent

Bug: 25451071
Change-Id: I0d43482a7f3044244651b0f106633e1aee1ccd80

8 years agoClose guts/gear after a timeout and if there's been no interaction
Mady Mellor [Wed, 23 Mar 2016 01:09:39 +0000 (18:09 -0700)]
Close guts/gear after a timeout and if there's been no interaction

On the lock screen the inline controls and gear behind the
notifications may be activated by accident. This CL alters them
to close after a certain period of time has occurred without
interaction.

Bug: 27335311
Change-Id: Ib3b0575571076a5912e23c7d2da5209e9a523fc8

8 years agoMake it easier to reveal gear on non-clearable notifications
Mady Mellor [Wed, 23 Mar 2016 18:55:53 +0000 (11:55 -0700)]
Make it easier to reveal gear on non-clearable notifications

I had a multiplier for this to make it easier, but it wasn't enabled.

This CL enables it and also fixes a bug I noticed where this doesn't
account for the distance moved being on the appropriate side for displaying
gear.

Change-Id: I7a516a425a556d7f5aa0627de5c64bb9211ac81e

8 years agoMerge "Don't lock device when double tapping" into nyc-dev
Jorim Jaggi [Wed, 6 Apr 2016 21:56:53 +0000 (21:56 +0000)]
Merge "Don't lock device when double tapping" into nyc-dev

8 years agoDon't lock device when double tapping
Jorim Jaggi [Wed, 6 Apr 2016 04:41:06 +0000 (21:41 -0700)]
Don't lock device when double tapping

Bug: 24265204
Change-Id: Ia19e956def454604ed3f3e3e9815fc1872ef649a

8 years agoLock down access to getProfiles for 3P apps
Fyodor Kupolov [Fri, 1 Apr 2016 21:37:07 +0000 (14:37 -0700)]
Lock down access to getProfiles for 3P apps

MANAGE_USERS permission is not required if calling userId is the same as
requested user id. Theoretically this allows any 3P app to read UserInfo
state including PII fields like name and icon. The change clears PII fields
if the caller doesn't have MANAGE_USERS permission.

Bug: 27705805
Change-Id: Ic69c8cc6aafb7ac72b4fc2b9691cb8e4bef3fb2c

8 years agoMerge "Add VrManager AIDL interface for use by system apps." into nyc-dev
Ruben Brunk [Wed, 6 Apr 2016 21:36:51 +0000 (21:36 +0000)]
Merge "Add VrManager AIDL interface for use by system apps." into nyc-dev

8 years agoMerge changes I0efc513b,Ibe45ba62 into nyc-dev
Winson Chung [Wed, 6 Apr 2016 21:28:13 +0000 (21:28 +0000)]
Merge changes I0efc513b,Ibe45ba62 into nyc-dev

* changes:
  Adding more logging of the state to the bug report.
  Disable landscape aspect-scaled behavior for TV.

8 years agoMerge "Remove old FUSE bypass now that we have sdcardfs." into nyc-dev
Jeff Sharkey [Wed, 6 Apr 2016 21:27:54 +0000 (21:27 +0000)]
Merge "Remove old FUSE bypass now that we have sdcardfs." into nyc-dev

8 years agoRemove old FUSE bypass now that we have sdcardfs.
Jeff Sharkey [Wed, 6 Apr 2016 21:15:44 +0000 (15:15 -0600)]
Remove old FUSE bypass now that we have sdcardfs.

This forces everyone to go through sdcardfs, instead of letting them
around the back door.

Bug: 27992761
Change-Id: If1d4d5daa4b32bb3be7de10102bab24d63552b65

8 years agoMerge "Disallow WebView provider packages lower version than Chrome Stable" into...
Hui Shu [Wed, 6 Apr 2016 21:26:22 +0000 (21:26 +0000)]
Merge "Disallow WebView provider packages lower version than Chrome Stable" into nyc-dev

8 years agoSet status bar color to material_blue_grey_950 as specified by UX.
Aga Wronska [Wed, 6 Apr 2016 21:19:41 +0000 (14:19 -0700)]
Set status bar color to material_blue_grey_950 as specified by UX.

Change-Id: I010309c5c5aaf312e645a75720e710ef83111952
Fixing: b/27561646

8 years agoAdds a content-intent-launching-activity flag to WearableExtender
Alex Hills [Tue, 5 Apr 2016 18:54:56 +0000 (14:54 -0400)]
Adds a content-intent-launching-activity flag to WearableExtender

This adds a flag to WearableExtender (and Action.WearableExtender)
indicating that the attached ContentIntent will launch an activity
on Wear, which lets the platform know that it can (and should)
generate a sleek transition for the launching of said intent (as
opposed to the intent causing change in the background).

Bug:28019194
Change-Id: Id8b422ea52c5e941e38558aaf31ce2cf4bb7c6f3

8 years agoFix dismiss all clipping for tablet / landscape
Mady Mellor [Tue, 5 Apr 2016 17:43:08 +0000 (10:43 -0700)]
Fix dismiss all clipping for tablet / landscape

Shouldn't animate the whole view, use the translatable views so that
they get clipped on tablet / landscape.

Additionally this changes the behavior in the case where the gear
might be showing, previously that would hide prior to the dismiss
all animation, UX prefers this to just have the notification cover
the gear and slide away or the gear fade away depending on the side
it's showing.

Bug: 28006639
Change-Id: I43027cb29410496de5b6e09c4a0c57a69484295c