OSDN Git Service

android-x86/frameworks-base.git
8 years agoRefer to hasSystemFeature(String, int) in Vulkan feature docs
Jesse Hall [Thu, 10 Mar 2016 17:04:26 +0000 (09:04 -0800)]
Refer to hasSystemFeature(String, int) in Vulkan feature docs

Bug: 27531286
Change-Id: Ifb32ae519fc8118923d6216e1d574cbbf83dfd23

8 years agoMerge "Use compound drawable instead of image span." into nyc-dev
Sudheer Shanka [Thu, 10 Mar 2016 15:58:23 +0000 (15:58 +0000)]
Merge "Use compound drawable instead of image span." into nyc-dev

8 years agoTuning down wtf to warning for setting ro.device_owner property
Michal Karpinski [Wed, 9 Mar 2016 17:01:14 +0000 (17:01 +0000)]
Tuning down wtf to warning for setting ro.device_owner property

This was logged to often, especially while running CTS hostside tests
and looked too scary to people.

Bug: 27230864
Change-Id: I9e81d9efe87b4aed18aa473be647c560ff9cfa0d

8 years agoMerge "Fine scale the decoded result to match the desired sampleSize." into nyc-dev
Anton Daubert [Thu, 10 Mar 2016 12:06:27 +0000 (12:06 +0000)]
Merge "Fine scale the decoded result to match the desired sampleSize." into nyc-dev

8 years agoMerge "ExifInterface: implement the serialzation for Exif IFD structures" into nyc-dev
Jaesung Chung [Thu, 10 Mar 2016 08:35:23 +0000 (08:35 +0000)]
Merge "ExifInterface: implement the serialzation for Exif IFD structures" into nyc-dev

8 years agoExifInterface: implement the serialzation for Exif IFD structures
Jaesung Chung [Fri, 4 Mar 2016 06:31:23 +0000 (15:31 +0900)]
ExifInterface: implement the serialzation for Exif IFD structures

One image can have multiple image file directories, which stores the
attributes of the image, in Exif specification to save metadata.
In the old version, the all attributes from several image file
directories were combined in a one hash map eventually and were served
without distinction of the original IFD group.

In order to keep the original data as much as possible, it loads/saves
the attributes based on the original IFD group internally.

Bug: 26044456, Bug: 11224701
Change-Id: I416e4e79fd47461c9aa83ce13591ed1a5d42f26e

8 years agoMerge "Annotate fonts.xml with intended scripts" into nyc-dev
Roozbeh Pournader [Thu, 10 Mar 2016 06:38:54 +0000 (06:38 +0000)]
Merge "Annotate fonts.xml with intended scripts" into nyc-dev

8 years agoAnnotate fonts.xml with intended scripts
Roozbeh Pournader [Thu, 10 Mar 2016 05:36:28 +0000 (21:36 -0800)]
Annotate fonts.xml with intended scripts

Add various ISO 15924 codes to fonts.xml, as a signal for better
font selection in Minikin.

Bug: 27582800
Bug: 26187231
Change-Id: Ie06c156e0179e79c15cf2d66d577c3d36571860d

8 years agoMerge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev
Adam Lesinski [Thu, 10 Mar 2016 05:05:14 +0000 (05:05 +0000)]
Merge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev

8 years agoMerge "ExifInterface: fix a bug in readExifEntryValue" into nyc-dev
Jaesung Chung [Thu, 10 Mar 2016 04:26:51 +0000 (04:26 +0000)]
Merge "ExifInterface: fix a bug in readExifEntryValue" into nyc-dev

8 years agoMerge "Fix Download Manager Functional test and enable for APCT" into nyc-dev
Md Haque [Thu, 10 Mar 2016 02:32:54 +0000 (02:32 +0000)]
Merge "Fix Download Manager Functional test and enable for APCT" into nyc-dev

8 years agoMerge "Fix regression when setting initial offset when docked." into nyc-dev
Winson Chung [Thu, 10 Mar 2016 02:32:15 +0000 (02:32 +0000)]
Merge "Fix regression when setting initial offset when docked." into nyc-dev

8 years agoFix regression when setting initial offset when docked.
Winson [Thu, 10 Mar 2016 02:30:32 +0000 (18:30 -0800)]
Fix regression when setting initial offset when docked.

Change-Id: Ide8e9eb2d97b5540186736fc73b093e4385613bd

8 years agoMerge "Revert "Apply transformations while offsetting focused rects"" into nyc-dev
Hyunyoung Song [Thu, 10 Mar 2016 02:22:56 +0000 (02:22 +0000)]
Merge "Revert "Apply transformations while offsetting focused rects"" into nyc-dev

8 years agoMerge "Fixing issue with animations not being cancelled." into nyc-dev
Winson Chung [Thu, 10 Mar 2016 02:21:05 +0000 (02:21 +0000)]
Merge "Fixing issue with animations not being cancelled." into nyc-dev

8 years agoFixing issue with animations not being cancelled.
Winson [Thu, 10 Mar 2016 01:44:54 +0000 (17:44 -0800)]
Fixing issue with animations not being cancelled.

Bug: 27533931
Change-Id: I724643ec8a2c6cdaa3cade72ae40abcf9d28bae5

8 years agoRevert "Apply transformations while offsetting focused rects"
Hyunyoung Song [Wed, 9 Mar 2016 22:51:02 +0000 (22:51 +0000)]
Revert "Apply transformations while offsetting focused rects"

b/27335262

This reverts commit 83e725da7aad97409d96eed784a076f6d4841b54.

Change-Id: I55079bbaab81610e9de3a8d68ed21cf352da5983

8 years agoMerge "DO NOT MERGE: Add separate information about user whitelist." into nyc-dev
Dianne Hackborn [Thu, 10 Mar 2016 01:46:02 +0000 (01:46 +0000)]
Merge "DO NOT MERGE: Add separate information about user whitelist." into nyc-dev

8 years agoDO NOT MERGE: Add separate information about user whitelist.
Dianne Hackborn [Thu, 11 Feb 2016 00:28:29 +0000 (16:28 -0800)]
DO NOT MERGE: Add separate information about user whitelist.

Use this in the alarm manager to allow user whitelisted apps
to have free access to scheduling alarms.

Coming next: lifting sync/job restrictions.

Bug #26851107: Allow user whitelist apps more freedom

(Cherry-picked to nyc since it got lost in the branch from master.)

Change-Id: I4dc9f07514627ebdb6b6eff7c7a749f2c51a3797

8 years agoMerge "Skip MTP launch notification for devices having FEATURE_AUTOMOTIVE." into...
Daichi Hirono [Thu, 10 Mar 2016 01:35:27 +0000 (01:35 +0000)]
Merge "Skip MTP launch notification for devices having FEATURE_AUTOMOTIVE." into nyc-dev

8 years agoAssetManager: Cache a pre-filtered list of configurations
Adam Lesinski [Wed, 24 Feb 2016 01:49:53 +0000 (17:49 -0800)]
AssetManager: Cache a pre-filtered list of configurations

When we set the parameters for a ResTable, we can pre-filter which
resources match and only look at that smaller list when getting entries.
This helps A LOT with types that have many configurations, like strings
and all their various locales.

We must store the cached entries in a parallel data structure because parts
of the main Type object are shared with other ResTables, causing data races.

Bug:25499111
Change-Id: I63e37dcbd683fc9f1e7d0f3a6ed4c1c01e0fc575

8 years agoMerge "Fix description for the string disabled_by_admin." into nyc-dev
Sudheer Shanka [Thu, 10 Mar 2016 01:05:35 +0000 (01:05 +0000)]
Merge "Fix description for the string disabled_by_admin." into nyc-dev

8 years agoFix description for the string disabled_by_admin.
Sudheer Shanka [Thu, 10 Mar 2016 01:04:15 +0000 (17:04 -0800)]
Fix description for the string disabled_by_admin.

Change-Id: I229891fd6796521fc0b84f5ae5463b8697cf0934

8 years agoMerge "PIP: Prepare PIP strings for translations" into nyc-dev
Jaewan Kim [Thu, 10 Mar 2016 00:58:08 +0000 (00:58 +0000)]
Merge "PIP: Prepare PIP strings for translations" into nyc-dev

8 years agoMerge "PIP: Close PIP if media session is gone" into nyc-dev
Jaewan Kim [Thu, 10 Mar 2016 00:57:25 +0000 (00:57 +0000)]
Merge "PIP: Close PIP if media session is gone" into nyc-dev

8 years agoPIP: Close PIP if media session is gone
Jaewan Kim [Fri, 4 Mar 2016 08:58:22 +0000 (17:58 +0900)]
PIP: Close PIP if media session is gone

This keeps the PIP if there's no media session from the beginning.

Bug: 26717072
Change-Id: Idf5bab14d8979c0e50f4451f61bb9355d4562b96

8 years agoMerge "Add an API for apps to get their System Health / Battery Stats data." into...
Joe Onorato [Thu, 10 Mar 2016 00:52:01 +0000 (00:52 +0000)]
Merge "Add an API for apps to get their System Health / Battery Stats data." into nyc-dev

8 years agoMerge "AAPT2: Fix file::mkdirs when given absolute paths" into nyc-dev
Adam Lesinski [Thu, 10 Mar 2016 00:32:34 +0000 (00:32 +0000)]
Merge "AAPT2: Fix file::mkdirs when given absolute paths" into nyc-dev

8 years agoMerge "Improve sorting performance by 2.5 times." into nyc-dev
Tomasz Mikolajewski [Thu, 10 Mar 2016 00:28:23 +0000 (00:28 +0000)]
Merge "Improve sorting performance by 2.5 times." into nyc-dev

8 years agoMerge "Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7" into nyc-dev
Chris Craik [Thu, 10 Mar 2016 00:26:18 +0000 (00:26 +0000)]
Merge "Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7" into nyc-dev

8 years agoMerge "Camera: codegen update" into nyc-dev
Yin-Chia Yeh [Thu, 10 Mar 2016 00:24:54 +0000 (00:24 +0000)]
Merge "Camera: codegen update" into nyc-dev

8 years agoMerge "ShortcutManaegr: load config from settings, also..." into nyc-dev
Makoto Onuki [Thu, 10 Mar 2016 00:18:34 +0000 (00:18 +0000)]
Merge "ShortcutManaegr: load config from settings, also..." into nyc-dev

8 years agoPartial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7
Chris Craik [Thu, 10 Mar 2016 00:03:21 +0000 (16:03 -0800)]
Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7

Bug:27534946

Mapping empty rects still must be done to get correct positions for
line/point rects describing strokable bounds.

Change-Id: I2f9efe543e58eb438b755276585491c1256d6719

8 years agoMerge "Restrict range of sync job ids" into nyc-dev
Shreyas Basarge [Thu, 10 Mar 2016 00:14:28 +0000 (00:14 +0000)]
Merge "Restrict range of sync job ids" into nyc-dev

8 years agoMerge "Update API" into nyc-dev
Todd Kennedy [Thu, 10 Mar 2016 00:08:56 +0000 (00:08 +0000)]
Merge "Update API" into nyc-dev

8 years agoMerge "Add initial BakedOpDispatcher tests" into nyc-dev
Chris Craik [Thu, 10 Mar 2016 00:08:44 +0000 (00:08 +0000)]
Merge "Add initial BakedOpDispatcher tests" into nyc-dev

8 years agoUpdate API
Todd Kennedy [Thu, 10 Mar 2016 00:08:09 +0000 (16:08 -0800)]
Update API

Change-Id: Ia1c913d1508d80489fcc0e01e5d10f72f8f9af5c

8 years agoAdd initial BakedOpDispatcher tests
Chris Craik [Wed, 9 Mar 2016 00:24:12 +0000 (16:24 -0800)]
Add initial BakedOpDispatcher tests

bug:26571145
bug:26923968
bug:27389290

Change-Id: If8ba33732d09b335171f87d5efc419641bafa126

8 years agoMerge "Restrict TrafficStats due to privacy concerns." into nyc-dev
Jeff Sharkey [Wed, 9 Mar 2016 23:59:20 +0000 (23:59 +0000)]
Merge "Restrict TrafficStats due to privacy concerns." into nyc-dev

8 years agoRestrict TrafficStats due to privacy concerns.
Jeff Sharkey [Wed, 9 Mar 2016 23:40:15 +0000 (16:40 -0700)]
Restrict TrafficStats due to privacy concerns.

Granular per-UID network statistics can be used to infer user
behavior over time, so they fall under the umbrella of the
PACKAGE_USAGE_STATS permission.

Since we can't check app-ops based permissions in the kernel, the
best we can do is redirect users to the NetworkStatsManager class,
which offers a much more robust historical data set.

Bug: 27577101
Change-Id: I696bdc5e0b3d7e24acf35f388d0ab13617ed8af3

8 years agoAdd an API for apps to get their System Health / Battery Stats data.
Joe Onorato [Fri, 4 Mar 2016 18:34:02 +0000 (10:34 -0800)]
Add an API for apps to get their System Health / Battery Stats data.

Change-Id: Ib27e1be469b826f6d83d73ce6024102bbdb1d47a

8 years agoMerge "Fixing bugs with peeking a wallpaper." into nyc-dev
Vadim Tryshev [Wed, 9 Mar 2016 23:44:21 +0000 (23:44 +0000)]
Merge "Fixing bugs with peeking a wallpaper." into nyc-dev

8 years agoMerge "remove splits" into nyc-dev
Todd Kennedy [Wed, 9 Mar 2016 23:43:19 +0000 (23:43 +0000)]
Merge "remove splits" into nyc-dev

8 years agoremove splits
Todd Kennedy [Tue, 8 Mar 2016 18:10:54 +0000 (10:10 -0800)]
remove splits

Individual splits can now be removed for an application. The
application will be terminated if it's running when a split is
removed.

To remove a split, either use either "uninstall":
    $ adb shell cmd package uninstall <PACKAGE> <SPLIT>

or "install-remove":
    $ adb shell cmd package install-create -r -p <PACKAGE>
    $ adb shell cmd package install-remove <SESSION> <SPLIT>
    $ adb shell cmd package install-commit <SESSION>

For "install-remove" you must use '-r' and '-p' when creating
the session.

Bug: 27547051
Change-Id: I4d71a19ad45e39f6622d9ab6791ea8c4230a79e0

8 years agoMerge "Log when pre-N apps send too much to DropBox." into nyc-dev
Jeff Sharkey [Wed, 9 Mar 2016 23:30:59 +0000 (23:30 +0000)]
Merge "Log when pre-N apps send too much to DropBox." into nyc-dev

8 years agoLog when pre-N apps send too much to DropBox.
Jeff Sharkey [Wed, 9 Mar 2016 23:27:40 +0000 (16:27 -0700)]
Log when pre-N apps send too much to DropBox.

Once they target N, they'll start getting exceptions, which is
intended to make sure they pay attention to data that would have
otherwise been dropped on the floor.

Bug: 27571535
Change-Id: I49163679c629cd0788327d2c3a654e757ecdcb99

8 years agoRestrict range of sync job ids
Shreyas Basarge [Wed, 9 Mar 2016 16:52:48 +0000 (16:52 +0000)]
Restrict range of sync job ids

Sync jobs now get an id greater than 100000.
This is done to avoid conflicts with other
jobs scheduled by the System process.

Change-Id: Ifcfa218e2ac5f81231c9e25aa25dbaecaf646603

8 years agoShortcutManaegr: load config from settings, also...
Makoto Onuki [Wed, 9 Mar 2016 02:59:09 +0000 (18:59 -0800)]
ShortcutManaegr: load config from settings, also...

support "cmd override-config" and "cmd reset-config" to help CTS.

Bug 27548047

Change-Id: Id6c9e6f41a2238856dd3470d88d88d0e7e686f26

8 years agoMerge "Fixed NPE when wifi is turned off." into nyc-dev
Felipe Leme [Wed, 9 Mar 2016 23:03:52 +0000 (23:03 +0000)]
Merge "Fixed NPE when wifi is turned off." into nyc-dev

8 years agoCamera: codegen update
Yin-Chia Yeh [Wed, 9 Mar 2016 22:44:49 +0000 (14:44 -0800)]
Camera: codegen update

Add device custom scene mode range.

Bug: 26687007
Change-Id: I4a11e5f0bc5cbaabe85d4f9c6f2904125a038028

8 years agoMerge "Fix issue with app launch from CarNavigationBar." into nyc-dev
Rakesh Iyer [Wed, 9 Mar 2016 22:58:15 +0000 (22:58 +0000)]
Merge "Fix issue with app launch from CarNavigationBar." into nyc-dev

8 years agoMinor cleanup in RestrictedPreferenceHelper.setDisabledByAdmin.
Sudheer Shanka [Wed, 9 Mar 2016 01:48:04 +0000 (17:48 -0800)]
Minor cleanup in RestrictedPreferenceHelper.setDisabledByAdmin.

Change-Id: I573ea3a0c4565c62d47c4458b7885a8cfbdf31cc

8 years agoMerge "ShortcutManager: add remaining APIs." into nyc-dev
Makoto Onuki [Wed, 9 Mar 2016 22:28:43 +0000 (22:28 +0000)]
Merge "ShortcutManager: add remaining APIs." into nyc-dev

8 years agoUse compound drawable instead of image span.
Sudheer Shanka [Mon, 7 Mar 2016 21:13:22 +0000 (13:13 -0800)]
Use compound drawable instead of image span.

Bug: 27263531
Change-Id: Id35342c6656cd4b0f4b1756c903e9cf071293a14

8 years agoMerge "Warn user when bugreport is finished but screenshot is pending." into nyc-dev
Felipe Leme [Wed, 9 Mar 2016 22:12:24 +0000 (22:12 +0000)]
Merge "Warn user when bugreport is finished but screenshot is pending." into nyc-dev

8 years agoMerge "Add audioserver to Watchdog stacks" into nyc-dev
Andy Hung [Wed, 9 Mar 2016 22:08:50 +0000 (22:08 +0000)]
Merge "Add audioserver to Watchdog stacks" into nyc-dev

8 years agoFix Download Manager Functional test and enable for APCT
Md Haque [Tue, 8 Mar 2016 22:51:33 +0000 (14:51 -0800)]
Fix Download Manager Functional test and enable for APCT

Download manager functional test exists but never run.
These tests are highly useful for catching regression
through running them in APCT framework

Change-Id: I9d3102cd64c8d3e6d5b90897fdf20ac1e0a9adf1

8 years agoMerge "Vibrate after a screenshot is taken, not before." into nyc-dev
Felipe Leme [Wed, 9 Mar 2016 22:05:29 +0000 (22:05 +0000)]
Merge "Vibrate after a screenshot is taken, not before." into nyc-dev

8 years agoMerge "Resolve ringtone Uris using Context user." into nyc-dev
Jeff Sharkey [Wed, 9 Mar 2016 21:59:18 +0000 (21:59 +0000)]
Merge "Resolve ringtone Uris using Context user." into nyc-dev

8 years agoResolve ringtone Uris using Context user.
Jeff Sharkey [Wed, 9 Mar 2016 21:56:01 +0000 (14:56 -0700)]
Resolve ringtone Uris using Context user.

The Context passed in has already been tied strongly to a specific
user, so resolve Settings based on that user.

Bug: 27568161
Change-Id: I1365c25f97c4177afe592d7c9f410eab777110e7

8 years agoAdd audioserver to Watchdog stacks
Andy Hung [Wed, 9 Mar 2016 21:55:58 +0000 (13:55 -0800)]
Add audioserver to Watchdog stacks

Needed for debugging after mediaserver split.

Bug: 27548913
Bug: 27570954
Change-Id: I7d1e92494c0543f10f3193153e3e9afdafd41655

8 years agoMerge "Modified the API to make coverage test possible" into nyc-dev
Lifu Tang [Wed, 9 Mar 2016 21:53:15 +0000 (21:53 +0000)]
Merge "Modified the API to make coverage test possible" into nyc-dev

8 years agoMerge "Calling method in DPMS after resolving userId" into nyc-dev
Suprabh Shukla [Wed, 9 Mar 2016 21:50:42 +0000 (21:50 +0000)]
Merge "Calling method in DPMS after resolving userId" into nyc-dev

8 years agoMerge "Actually fix the QS anim curves" into nyc-dev
Jason Monk [Wed, 9 Mar 2016 21:48:10 +0000 (21:48 +0000)]
Merge "Actually fix the QS anim curves" into nyc-dev

8 years agoCalling method in DPMS after resolving userId
Suprabh Shukla [Wed, 9 Mar 2016 21:01:18 +0000 (13:01 -0800)]
Calling method in DPMS after resolving userId

ActivityManagerService was calling
hasDeviceOwnerOrProfileOwner in DevicePolicyManagerService.LocalService
before resolving negative userIds to a real user. Moved the call to a point
when userId is already resolved.

bug: b/27538249
Change-Id: I760412978b3260523e9abcfe59d8e100ec4af12f

8 years agoMerge "Tweaks to ViewOverlay." into nyc-dev
Kirill Grouchnikov [Wed, 9 Mar 2016 21:35:44 +0000 (21:35 +0000)]
Merge "Tweaks to ViewOverlay." into nyc-dev

8 years agoTweaks to ViewOverlay.
Kirill Grouchnikov [Tue, 8 Mar 2016 15:37:06 +0000 (10:37 -0500)]
Tweaks to ViewOverlay.

* Clarify Javadocs for add / remove when called with the same
Drawable.
* Add @NonNull annotation to all add / remove APIs and throw
IllegalArgumentException when null value is passed.

Bug: 27528798
Change-Id: Ied8f28c70775309e4fa85aff6a7202c1a0eb6aa3

8 years agoAAPT2: Fix file::mkdirs when given absolute paths
Adam Lesinski [Wed, 9 Mar 2016 21:11:25 +0000 (13:11 -0800)]
AAPT2: Fix file::mkdirs when given absolute paths

file::mkdirs would try to extract the first part of the
path '/path' which would be the empty string ''. Mkdir would
fail creating the empty string directory.

Change-Id: Ice8ba92135f145f52f3663499a2c49eebe797328

8 years agoMerge "Fix issue #27408705: Runtime restart: WATCHDOG KILLING SYSTEM PROCESS..."...
Dianne Hackborn [Wed, 9 Mar 2016 21:19:58 +0000 (21:19 +0000)]
Merge "Fix issue #27408705: Runtime restart: WATCHDOG KILLING SYSTEM PROCESS..." into nyc-dev

8 years agoMerge "Add configurable nav bar opacity rules" into nyc-dev
Yorke Lee [Wed, 9 Mar 2016 20:58:04 +0000 (20:58 +0000)]
Merge "Add configurable nav bar opacity rules" into nyc-dev

8 years agoMerge "Fixed a bug where notification icons were not animating when dozing" into...
Selim Cinek [Wed, 9 Mar 2016 20:51:52 +0000 (20:51 +0000)]
Merge "Fixed a bug where notification icons were not animating when dozing" into nyc-dev

8 years agoMerge "Don't close RemoteInputView on window focus loss" into nyc-dev
Adrian Roos [Wed, 9 Mar 2016 20:48:52 +0000 (20:48 +0000)]
Merge "Don't close RemoteInputView on window focus loss" into nyc-dev

8 years agoDon't close RemoteInputView on window focus loss
Adrian Roos [Wed, 9 Mar 2016 20:47:26 +0000 (12:47 -0800)]
Don't close RemoteInputView on window focus loss

Fixes issues where the status bar would temporarily
lose focus to things like the IME or auto correction
popups.

Bug: 27340422
Change-Id: I0af6e89179b78b147eee1091361da1f8a97f186b

8 years agoFixed a bug where notification icons were not animating when dozing
Selim Cinek [Wed, 9 Mar 2016 00:15:41 +0000 (16:15 -0800)]
Fixed a bug where notification icons were not animating when dozing

This lead to them also being colored.

Bug: 27513595
Change-Id: I2bd5a66128fb550e0eea543fd60d946d36a4635f

8 years agoMerge "Allow debug-overrides to be specified in an extra resource" into nyc-dev
Chad Brubaker [Wed, 9 Mar 2016 20:45:22 +0000 (20:45 +0000)]
Merge "Allow debug-overrides to be specified in an extra resource" into nyc-dev

8 years agoMerge "Query calendar in a background thread." into nyc-dev
Julia Reynolds [Wed, 9 Mar 2016 20:42:22 +0000 (20:42 +0000)]
Merge "Query calendar in a background thread." into nyc-dev

8 years agoActually fix the QS anim curves
Jason Monk [Wed, 9 Mar 2016 20:13:02 +0000 (15:13 -0500)]
Actually fix the QS anim curves

Also fix the gravity of the panel in landscape

Bug: 27201532
Change-Id: I56b33fb142afdabd9461177f15434a7d78b9f8bc

8 years agoFixing bugs with peeking a wallpaper.
Vadim Tryshev [Mon, 7 Mar 2016 20:48:51 +0000 (12:48 -0800)]
Fixing bugs with peeking a wallpaper.

1. Cached wallpaper from one user could be retrieved
for another user. Fixed with adding a mCachedWallpaperUserId
member.

2. mDefault wallpaper was returned too early. Moved down
so that default wallpaper could be returned only after
making sure that system wallpaper is unspecified.

Bug: 25185253
Change-Id: Ie620621e5c4039d5d680211150aa5327f321f11a

8 years agoMerge "Add basic LsaVector tests" into nyc-dev
John Reck [Wed, 9 Mar 2016 20:29:45 +0000 (20:29 +0000)]
Merge "Add basic LsaVector tests" into nyc-dev

8 years agoModified the API to make coverage test possible
Lifu Tang [Tue, 8 Mar 2016 08:35:35 +0000 (00:35 -0800)]
Modified the API to make coverage test possible

Bug: 27462840
Change-Id: Idfd2c3c108b25f8be9046fd4bb72dbc57edc24bd

8 years agoMerge "Add missing annotations, getters to GradientDrawable" into nyc-dev
Alan Viverette [Wed, 9 Mar 2016 19:22:32 +0000 (19:22 +0000)]
Merge "Add missing annotations, getters to GradientDrawable" into nyc-dev

8 years agoWarn user when bugreport is finished but screenshot is pending.
Felipe Leme [Wed, 9 Mar 2016 18:14:27 +0000 (10:14 -0800)]
Warn user when bugreport is finished but screenshot is pending.

BUG: 27524556
Change-Id: Iaecdd01605dc4b01cdf669baf443eaee7fb20f6f

8 years agoMerge "Clean up SimpleMonthView formatters" into nyc-dev
Alan Viverette [Wed, 9 Mar 2016 18:40:46 +0000 (18:40 +0000)]
Merge "Clean up SimpleMonthView formatters" into nyc-dev

8 years agoMerge "Make disabled items look disabled." into nyc-dev
Steve McKay [Wed, 9 Mar 2016 18:35:32 +0000 (18:35 +0000)]
Merge "Make disabled items look disabled." into nyc-dev

8 years agoAdd missing annotations, getters to GradientDrawable
Alan Viverette [Wed, 9 Mar 2016 18:30:35 +0000 (13:30 -0500)]
Add missing annotations, getters to GradientDrawable

Fixes getColor() NPE when colors array is null.

Bug: 27543512
Change-Id: Ieec8a2315d0a2e4ab0ddbe053bccdd8c43080857

8 years agoAdd configurable nav bar opacity rules
Yorke Lee [Tue, 8 Mar 2016 04:42:01 +0000 (20:42 -0800)]
Add configurable nav bar opacity rules

NAV_BAR_OPAQUE_WHEN_FREEFORM_OR_DOCKED (default) - Nav bar is always opaque when
either the freeform stack or docked stack is visible.
NAV_BAR_TRANSLUCENT_WHEN_FREEFORM_OPAQUE_OTHERWISE - Nav bar is always
translucent when the freeform stack is visible, otherwise always opaque.

Bug: 26425669

Change-Id: I36ff12df4448a35c66f0e3dc2272169496b562d5

8 years agoMerge "Increase threshold for gesture detection timeout" into nyc-dev
Zach Kuznia [Wed, 9 Mar 2016 18:27:37 +0000 (18:27 +0000)]
Merge "Increase threshold for gesture detection timeout" into nyc-dev

8 years agoMerge "Update the VD and AVD's getOpacity()" into nyc-dev
Tenghui Zhu [Wed, 9 Mar 2016 18:07:41 +0000 (18:07 +0000)]
Merge "Update the VD and AVD's getOpacity()" into nyc-dev

8 years agoMerge "Check VPN status when adding/removing restricted profiles" into nyc-dev
Fyodor Kupolov [Wed, 9 Mar 2016 18:02:59 +0000 (18:02 +0000)]
Merge "Check VPN status when adding/removing restricted profiles" into nyc-dev

8 years agoMerge "Fix notification message when moving." into nyc-dev
Steve McKay [Wed, 9 Mar 2016 18:00:17 +0000 (18:00 +0000)]
Merge "Fix notification message when moving." into nyc-dev

8 years agoMake disabled items look disabled.
Steve McKay [Tue, 8 Mar 2016 19:37:22 +0000 (11:37 -0800)]
Make disabled items look disabled.

Update app to use color-selectors for item text.

Bug: 27246583
Change-Id: I2ba0b89e4640b987da248957f8ba5e6760d1b21d

8 years agoMerge "Add default Carrier cfg for IMS_WFC" into nyc-dev
Chen Xu [Wed, 9 Mar 2016 17:43:21 +0000 (17:43 +0000)]
Merge "Add default Carrier cfg for IMS_WFC" into nyc-dev

8 years agoQuery calendar in a background thread.
Julia Reynolds [Wed, 9 Mar 2016 15:41:00 +0000 (10:41 -0500)]
Query calendar in a background thread.

Bug: 24667663
Change-Id: I87da42e9d0a12629d58cc4b859ae1ad7ab5f3121

8 years agoMerge "Minor cleanup in restricted_icon." into nyc-dev
Sudheer Shanka [Wed, 9 Mar 2016 17:03:37 +0000 (17:03 +0000)]
Merge "Minor cleanup in restricted_icon." into nyc-dev

8 years agoMerge "Remove unused imports and variables." into nyc-dev
Sudheer Shanka [Wed, 9 Mar 2016 17:03:32 +0000 (17:03 +0000)]
Merge "Remove unused imports and variables." into nyc-dev

8 years agoRemove unused imports and variables.
Sudheer Shanka [Wed, 9 Mar 2016 01:42:40 +0000 (17:42 -0800)]
Remove unused imports and variables.

Bug: 27564074
Change-Id: I5eff9f673fe093a9068e94619cfe7eef10c0b4a9

8 years agoMinor cleanup in restricted_icon.
Sudheer Shanka [Wed, 9 Mar 2016 02:02:14 +0000 (18:02 -0800)]
Minor cleanup in restricted_icon.

android:gravity doesn't have any effect for ImageView, remove it.

Bug: 27564074

Change-Id: Icb6e5dc2bfeb0b30b2b77cb56fc7439950eadce1

8 years agoMerge "add a ranking service to the rocket" into nyc-dev
Chris Wren [Wed, 9 Mar 2016 16:26:55 +0000 (16:26 +0000)]
Merge "add a ranking service to the rocket" into nyc-dev

8 years agoMerge "Clear animation state before dumping old views" into nyc-dev
Jason Monk [Wed, 9 Mar 2016 16:13:54 +0000 (16:13 +0000)]
Merge "Clear animation state before dumping old views" into nyc-dev

8 years agoClear animation state before dumping old views
Jason Monk [Wed, 9 Mar 2016 15:58:49 +0000 (10:58 -0500)]
Clear animation state before dumping old views

Make sure we leave any views we aren't continuing to control in a
bad state.

Bug: 27560770
Change-Id: I0e5174bc7f93f73c4e5eb5711bb85845b7cd8c92