OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Native routing phase 4" into nyc-dev
Paul Mclean [Mon, 14 Mar 2016 19:56:49 +0000 (19:56 +0000)]
Merge "Native routing phase 4" into nyc-dev

8 years agoNative routing phase 4
Paul McLean [Thu, 10 Mar 2016 21:07:43 +0000 (14:07 -0700)]
Native routing phase 4

Allow Acquire before Realize

Bug: 23899814

Change-Id: I58ab80554893a7df31c3892c75d6bd57fea2b336

8 years agoMerge "NetworkStats.Bucket API polish." into nyc-dev
Jeff Davidson [Mon, 14 Mar 2016 19:30:21 +0000 (19:30 +0000)]
Merge "NetworkStats.Bucket API polish." into nyc-dev

8 years agoMerge "Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation" into nyc-dev
Wale Ogunwale [Mon, 14 Mar 2016 19:27:38 +0000 (19:27 +0000)]
Merge "Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation" into nyc-dev

8 years agoAdded more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation
Wale Ogunwale [Fri, 11 Mar 2016 23:22:38 +0000 (15:22 -0800)]
Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation

Developers need to add FLAG_ACTIVITY_MULTIPLE_TASK flag if they don't
want an existing instance of their activity to be used.

Bug: 27604971
Change-Id: I80791ba9b8a68e4ffcf7a5b9a963f27239071037

8 years agoMerge "Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode" into nyc-dev
Wale Ogunwale [Mon, 14 Mar 2016 19:26:26 +0000 (19:26 +0000)]
Merge "Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode" into nyc-dev

8 years agoMerge "Clear app idle state for removed packages" into nyc-dev
Amith Yamasani [Mon, 14 Mar 2016 19:13:25 +0000 (19:13 +0000)]
Merge "Clear app idle state for removed packages" into nyc-dev

8 years agoClear app idle state for removed packages
Amith Yamasani [Mon, 14 Mar 2016 18:55:38 +0000 (11:55 -0700)]
Clear app idle state for removed packages

On a package being added or removed, remove
app idle state for the app.

Bug: 27570398
Bug: 26182816
Change-Id: I14bdc1f951bbd99bda8111bea56f8c9dda04148d

8 years agoMerge "Update Display#getRealMetrics() behaviour" into nyc-dev
Andrii Kulian [Mon, 14 Mar 2016 18:47:17 +0000 (18:47 +0000)]
Merge "Update Display#getRealMetrics() behaviour" into nyc-dev

8 years agoMerge "Offer to cache ContentResolver-related Bundles." into nyc-dev
Jeff Sharkey [Mon, 14 Mar 2016 18:36:31 +0000 (18:36 +0000)]
Merge "Offer to cache ContentResolver-related Bundles." into nyc-dev

8 years agoMerge "Fix double tap issue in TouchExplorer" into nyc-dev
Zach Kuznia [Mon, 14 Mar 2016 18:32:08 +0000 (18:32 +0000)]
Merge "Fix double tap issue in TouchExplorer" into nyc-dev

8 years agoNetworkStats.Bucket API polish.
Jeff Davidson [Thu, 10 Mar 2016 21:21:38 +0000 (13:21 -0800)]
NetworkStats.Bucket API polish.

-Add @IntDef constants for STATE_ and ROAMING_.
-Expand docs for ROAMING_ constants.
-Use ROAMING_NO/YES instead of ROAMING_DEFAULT/ROAMING.

Bug: 27531260
Change-Id: I54ecfb4148caa549214df0bee9983036ffa4cb55

8 years agoMerge "Specifically block suspending the package verifier." into nyc-dev
Robin Lee [Mon, 14 Mar 2016 18:22:47 +0000 (18:22 +0000)]
Merge "Specifically block suspending the package verifier." into nyc-dev

8 years agoMerge "Make display mirroring for local displays configurable." into nyc-dev
Michael Wright [Mon, 14 Mar 2016 18:16:50 +0000 (18:16 +0000)]
Merge "Make display mirroring for local displays configurable." into nyc-dev

8 years agoMerge "IMS: Changes for MultiEndpoint" into nyc-dev
Tyler Gunn [Mon, 14 Mar 2016 17:48:09 +0000 (17:48 +0000)]
Merge "IMS: Changes for MultiEndpoint" into nyc-dev

8 years agoOffer to cache ContentResolver-related Bundles.
Jeff Sharkey [Sat, 12 Mar 2016 00:25:11 +0000 (17:25 -0700)]
Offer to cache ContentResolver-related Bundles.

There are a handful of core system services that collect data from
third-party ContentProviders by spinning them up and then caching the
results locally in memory.  However, if those apps are killed due to
low-memory pressure, they lose that cached data and have to collect
it again from scratch.  It's impossible for those apps to maintain a
correct cache when not running, since they'll miss out on Uri change
notifications.

To work around this, this change introducing a narrowly-scoped
caching mechanism that maps from Uris to Bundles.  The cache is
isolated per-user and per-calling-package, and internally it's
optimized to keep the Uri notification flow as fast as possible.
Each Bundle is invalidated whenever a notification event for a Uri
key is sent, or when the package hosting the provider is changed.

This change also wires up DocumentsUI to use this new mechanism,
which improves cold-start performance from 3300ms to 1800ms.  The
more DocumentsProviders a system has, the more pronounced this
benefit is.  Use BOOT_COMPLETED to build the cache at boot.

Add more permission docs, send a missing extra in DATA_CLEARED
broadcast.

Bug: 18406595
Change-Id: If3eae14bb3c69a8b83a65f530e081efc3b34d4bc

8 years agoMerge "Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties." into nyc-dev
Polina Bondarenko [Mon, 14 Mar 2016 17:41:56 +0000 (17:41 +0000)]
Merge "Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties." into nyc-dev

8 years agoMerge "Dump full Glop in GlopBuilder::dump" into nyc-dev
Chris Craik [Mon, 14 Mar 2016 17:22:26 +0000 (17:22 +0000)]
Merge "Dump full Glop in GlopBuilder::dump" into nyc-dev

8 years agoMerge "Added internal test for AutoTransition." into nyc-dev
George Mount [Mon, 14 Mar 2016 16:49:23 +0000 (16:49 +0000)]
Merge "Added internal test for AutoTransition." into nyc-dev

8 years agoMerge "Do not deallocate on Bitmap.recycle" into nyc-dev
Diego Perez [Mon, 14 Mar 2016 16:39:53 +0000 (16:39 +0000)]
Merge "Do not deallocate on Bitmap.recycle" into nyc-dev

8 years agoMerge "Add ENCRYPTION_STATUS_ACTIVE_PER_USER to..." into nyc-dev
Amith Yamasani [Mon, 14 Mar 2016 15:54:18 +0000 (15:54 +0000)]
Merge "Add ENCRYPTION_STATUS_ACTIVE_PER_USER to..." into nyc-dev

8 years agoMerge "frameworks/base: Make Thread::run threadName argument required" into nyc-dev
Brian Carlstrom [Mon, 14 Mar 2016 15:18:03 +0000 (15:18 +0000)]
Merge "frameworks/base: Make Thread::run threadName argument required" into nyc-dev

8 years agoMerge "Ensure all Java-side usages of config flags are using Java flags" into nyc-dev
Alan Viverette [Mon, 14 Mar 2016 15:01:50 +0000 (15:01 +0000)]
Merge "Ensure all Java-side usages of config flags are using Java flags" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 14 Mar 2016 14:43:49 +0000 (14:43 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 14 Mar 2016 14:32:54 +0000 (07:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0b6587843dfcdcc35b6f1786182f3f8f69e6a10c
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 14 Mar 2016 14:24:04 +0000 (14:24 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 14 Mar 2016 14:22:38 +0000 (07:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibb696b389c27d30115f09d8e0f2d59dcec951c8b
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 14 Mar 2016 14:22:17 +0000 (14:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "WifiManager: Remove static objects" into mm-wireless-dev
Paul Stewart [Mon, 14 Mar 2016 14:21:29 +0000 (14:21 +0000)]
Merge "WifiManager: Remove static objects" into mm-wireless-dev
am: d292ed866c

* commit 'd292ed866c27bc7a23cfa292603d722a6b7f9d81':
  WifiManager: Remove static objects

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 14 Mar 2016 14:19:18 +0000 (07:19 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iebdb30818688a27d0c8edb60c5686a37e69f3444
Auto-generated-cl: translation import

8 years agoMerge "WifiManager: Remove static objects" into mm-wireless-dev
Paul Stewart [Mon, 14 Mar 2016 14:13:34 +0000 (14:13 +0000)]
Merge "WifiManager: Remove static objects" into mm-wireless-dev

8 years agoMerge "Skip lockdown setup if user is not up yet" into nyc-dev
Robin Lee [Mon, 14 Mar 2016 13:19:55 +0000 (13:19 +0000)]
Merge "Skip lockdown setup if user is not up yet" into nyc-dev

8 years agoSkip lockdown setup if user is not up yet
Robin Lee [Mon, 14 Mar 2016 13:08:48 +0000 (13:08 +0000)]
Skip lockdown setup if user is not up yet

Sometimes USER_UNLOCKED can be sent before USER_STARTED. This puts
lockdown in a bad state as it needs a fully-functioning user to tie
itself to and listen for connectivity events.

Bug: 27637943
Change-Id: I41a784a75a8c8674cb61dbba10693dd56c9396dd

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 14 Mar 2016 12:30:40 +0000 (08:30 -0400)]
Import translations. DO NOT MERGE

Change-Id: I3d3f531613872fbce12cbf5c991d1fde61d3436f
Auto-generated-cl: translation import

8 years agoSpecifically block suspending the package verifier.
Robin Lee [Mon, 14 Mar 2016 09:50:57 +0000 (09:50 +0000)]
Specifically block suspending the package verifier.

Bug: 27635033
Change-Id: I65684239e0c1bcd710753ec76e436328a33f0967

8 years agoDo not deallocate on Bitmap.recycle
Diego Perez [Mon, 14 Mar 2016 09:31:07 +0000 (09:31 +0000)]
Do not deallocate on Bitmap.recycle

Layoutlib only disposes the bitmap and doesn't recycle them. This causes
a double deallocation that triggers an assertion.
This change makes Bitmaps to be only freed when the finalizer is called.

Bug: http://b.android.com/203129
Change-Id: Ieabc1443544cfd2b4bf8ba9c8f9a4df8dd6e8220

8 years agoMtpDocumentsProvider returns mime type from file extension.
Daichi Hirono [Mon, 14 Mar 2016 05:46:37 +0000 (14:46 +0900)]
MtpDocumentsProvider returns mime type from file extension.

File extensions contain more information to determine mime type than MTP
format codes. The CL lets MtpDocumentsProvider return mime type from
file extensions if it's not inconsitent with format code.

BUG=27004954

Change-Id: I08a4a91235b1d3f48e77b70b28c8c5aedf8d601d

8 years agoMerge "Remove duplicated test cases." into nyc-dev
Seigo Nonaka [Mon, 14 Mar 2016 04:10:59 +0000 (04:10 +0000)]
Merge "Remove duplicated test cases." into nyc-dev

8 years agoMerge "Remove an unnecessary InputStream and prevent leaking memory." into nyc-dev
Pierre Imai [Mon, 14 Mar 2016 02:54:10 +0000 (02:54 +0000)]
Merge "Remove an unnecessary InputStream and prevent leaking memory." into nyc-dev

8 years agoMerge "Remove Basque hyphenation patterns" into nyc-dev
Roozbeh Pournader [Sun, 13 Mar 2016 09:19:24 +0000 (09:19 +0000)]
Merge "Remove Basque hyphenation patterns" into nyc-dev

8 years agoRemove Basque hyphenation patterns
Roozbeh Pournader [Sun, 13 Mar 2016 04:56:23 +0000 (20:56 -0800)]
Remove Basque hyphenation patterns

Change-Id: Ib59de7c96fe19da9534fe65c3d553dc7c5399a1f

8 years agoframeworks/base: Make Thread::run threadName argument required
Brian Carlstrom [Sun, 13 Mar 2016 00:07:48 +0000 (16:07 -0800)]
frameworks/base: Make Thread::run threadName argument required

Bug: 27557176
Change-Id: Icff15e51fb7c99387ac8317181d12749f343439a

8 years agofix spelling
Nick Kralevich [Sat, 12 Mar 2016 23:00:50 +0000 (15:00 -0800)]
fix spelling

Change-Id: I82e64fa8a64be0fbfda748e6b57b5d339fd6f903

8 years agoMerge "Revert "Revert "Improve interaction around showing / hiding the gear behind...
Mady Mellor [Sat, 12 Mar 2016 17:50:41 +0000 (17:50 +0000)]
Merge "Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""" into nyc-dev

8 years agoFix double tap issue in TouchExplorer
Zachary Kuznia [Sat, 12 Mar 2016 04:21:13 +0000 (20:21 -0800)]
Fix double tap issue in TouchExplorer

In certain conditions, the first tap in a double tap could be detected
as Touch Exploration.  This ensures that cannot occur.

Change-Id: I20941be54413534d9dc74e5a3152c27dd0c998fe

8 years agoDump full Glop in GlopBuilder::dump
Chris Craik [Sat, 12 Mar 2016 02:39:01 +0000 (18:39 -0800)]
Dump full Glop in GlopBuilder::dump

Change-Id: I022b3c8c265998fd97d41f13964f4703025b338a

8 years agoAdded internal test for AutoTransition.
George Mount [Sat, 12 Mar 2016 02:23:17 +0000 (18:23 -0800)]
Added internal test for AutoTransition.

Change-Id: Ieee0f4ed8a418293043f19f6edfc1c8302fec7f2

8 years agoDisable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode
Wale Ogunwale [Sat, 12 Mar 2016 02:06:14 +0000 (18:06 -0800)]
Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode

FLAG_LAYOUT_NO_LIMITS allows a window to extend its dimensions outside
the screen area by setting the display frame to a really big value.
We don't want this in multi-window mode since all window frames should
be limited to their parent task/stack dimensions.

Bug: 27577275
Change-Id: Ie0a8b8c13de91561e06dadc27aac3a5ba209d05b

8 years agoMerge "Fix issue #27530395: API Review: JobInfo.Builder" into nyc-dev
Dianne Hackborn [Sat, 12 Mar 2016 02:12:10 +0000 (02:12 +0000)]
Merge "Fix issue #27530395: API Review: JobInfo.Builder" into nyc-dev

8 years agoMerge "Logging to KEY_INTENT security failure" into nyc-dev
Carlos Valdivia [Sat, 12 Mar 2016 02:06:37 +0000 (02:06 +0000)]
Merge "Logging to KEY_INTENT security failure" into nyc-dev

8 years agoMerge "Once restored, the wallpaper needs to actually draw" into nyc-dev
Chris Tate [Sat, 12 Mar 2016 01:55:18 +0000 (01:55 +0000)]
Merge "Once restored, the wallpaper needs to actually draw" into nyc-dev

8 years agoOnce restored, the wallpaper needs to actually draw
Christopher Tate [Fri, 11 Mar 2016 00:46:15 +0000 (16:46 -0800)]
Once restored, the wallpaper needs to actually draw

We now wait until both the wallpaper imagery and the metadata have
been restored [if present], and then explicitly regenerate the crop
from the source based on that.

Bug 27423845

Change-Id: I986efd13b6b73d25b5ab1215af516ccea3a5c609

8 years agoMerge "Fixed a bug where the expandhelper was expanding to quickly" into nyc-dev
Selim Cinek [Sat, 12 Mar 2016 01:43:48 +0000 (01:43 +0000)]
Merge "Fixed a bug where the expandhelper was expanding to quickly" into nyc-dev

8 years agoLogging to KEY_INTENT security failure
Carlos Valdivia [Fri, 11 Mar 2016 04:12:32 +0000 (20:12 -0800)]
Logging to KEY_INTENT security failure

To help debugging we would like to know the targetPackageName and uid of
the KEY_INTENT that is being rejected.

Bug: 27598664
Change-Id: Idcf1eea82a96913947975b6fe3aa1e9c6e5109a7

8 years agoMake display mirroring for local displays configurable.
Michael Wright [Sat, 12 Mar 2016 01:15:24 +0000 (17:15 -0800)]
Make display mirroring for local displays configurable.

While in general we still want to mirror the content of the default
displays onto content-less displays, some devices (e.g. Android Auto)
know they're going to have a secondary display for specific
information and don't want this behavior.

Change-Id: I068cc898a4118e78a5fff67bba27ad54504d9e2f

8 years agoFixed a bug where the expandhelper was expanding to quickly
Selim Cinek [Sat, 12 Mar 2016 01:24:19 +0000 (17:24 -0800)]
Fixed a bug where the expandhelper was expanding to quickly

It was expanding even when the xDifference was bigger than the
yDifference.

Bug: 27376558
Change-Id: Ie5faeb40a1b8391ace8822f9f210f519302ca133

8 years agoRevert "Revert "Improve interaction around showing / hiding the gear behind notificat...
Mady Mellor [Sat, 12 Mar 2016 00:13:23 +0000 (00:13 +0000)]
Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""

This reverts commit 88eca2aa0e707c06731fc273af4e6181ad743c3c.

It additionally fixes an issue with notification scrolling after gear is displayed
by indicating that the user is no longer swiping by calling onDragCancelled

Change-Id: Ieba0cea35bba9c383d8b5fdca08cb5ff083666c3

8 years agoMerge "Dynamic audio policies: allow device passing for RENDER mixes" into nyc-dev
Jean-Michel Trivi [Sat, 12 Mar 2016 01:09:10 +0000 (01:09 +0000)]
Merge "Dynamic audio policies: allow device passing for RENDER mixes" into nyc-dev

8 years agoMerge "Fix some errors in errorCalculator.rs." into nyc-dev
Stephen Hines [Sat, 12 Mar 2016 00:56:42 +0000 (00:56 +0000)]
Merge "Fix some errors in errorCalculator.rs." into nyc-dev

8 years agoMerge "Fixed a bug where expanding in the bottom stack messed up the whole layout...
Selim Cinek [Sat, 12 Mar 2016 00:56:09 +0000 (00:56 +0000)]
Merge "Fixed a bug where expanding in the bottom stack messed up the whole layout" into nyc-dev

8 years agoFix some errors in errorCalculator.rs.
Stephen Hines [Thu, 10 Mar 2016 00:42:40 +0000 (16:42 -0800)]
Fix some errors in errorCalculator.rs.

Bug: http://b/26987366

This code was accidentally casting a uchar4 to a single integer, which
the latest llvm-rs-cc will flag as an error. The comparison was also
incorrectly using a single integer comparison, instead of looking at all
4 uchar vector components.

(cherry picked from commit 74be0c9b4329bb79ed46f2532022995429ffdfe8)

Change-Id: Ic3727e234ffc87571ccacab19b2a4efb27ac0f20

8 years agoFixed a bug where expanding in the bottom stack messed up the whole layout
Selim Cinek [Sat, 12 Mar 2016 00:45:52 +0000 (16:45 -0800)]
Fixed a bug where expanding in the bottom stack messed up the whole layout

Bug: 27596737
Change-Id: If6d5f693bbc953962eb2e746a6293d66be3c4373

8 years agoDynamic audio policies: allow device passing for RENDER mixes
Jean-Michel Trivi [Fri, 4 Mar 2016 00:53:16 +0000 (16:53 -0800)]
Dynamic audio policies: allow device passing for RENDER mixes

AudioMix: add system method for specifying an AudioDeviceInfo
 to be used by this mix. This only works for AudioMix
 instance with the RENDER route flag.
Previous dynamic policy implementation didn't enforce
 mix route flag check, but only supported LOOP_BACK,
 so make LOOP_BACK the default.
When a policy gets registered and the registration ID is
 set on each mix, for RENDER mixes use the device
 address for registration.

Bug 25448664

Change-Id: If5789d84ff4c4c25a6e81ba1513a39916220498a

8 years agoMerge "Run all downloads through trampoline." into nyc-dev
Steve McKay [Sat, 12 Mar 2016 00:43:44 +0000 (00:43 +0000)]
Merge "Run all downloads through trampoline." into nyc-dev

8 years agoRun all downloads through trampoline.
Steve McKay [Fri, 11 Mar 2016 18:11:52 +0000 (10:11 -0800)]
Run all downloads through trampoline.

This guarantees the retry/delete support in the downloads
    trampoline can do its thing.
Allow APKs not in downloads to go directly to pakcage
    manager via VIEW intent.
Add test coverage for retry dialog.

Bug: 27539337

Change-Id: I75c5db8915e24a7648c7990136d39ed86d407637

8 years agoMerge "Don't log metrics for initial screenshot." into nyc-dev
Felipe Leme [Sat, 12 Mar 2016 00:38:33 +0000 (00:38 +0000)]
Merge "Don't log metrics for initial screenshot." into nyc-dev

8 years agoIMS: Changes for MultiEndpoint
Anju Mathapati [Thu, 10 Mar 2016 20:57:21 +0000 (12:57 -0800)]
IMS: Changes for MultiEndpoint

- Interface changes for MultiEndpoint

- Extra for CallPull in -
  - TelephonyProperties
  - ImsProfile
- Error codes in ImsReasonInfo

Change-Id: I9a497cf04a412dc9d2f80b489e3455d289c3dfb7

8 years agoMerge "Fix for drag start event being incorrectly cached" into nyc-dev
Yorke Lee [Sat, 12 Mar 2016 00:04:47 +0000 (00:04 +0000)]
Merge "Fix for drag start event being incorrectly cached" into nyc-dev

8 years agoMerge changes Ia6156d7c,I396ac936 into nyc-dev
Selim Cinek [Fri, 11 Mar 2016 23:52:44 +0000 (23:52 +0000)]
Merge changes Ia6156d7c,I396ac936 into nyc-dev

* changes:
  Fixed a bug with autoredacted custom views.
  Fixed a bug where notifications could become all white

8 years agoMerge "Update docs for DisplayMetrics pixel size fields" into nyc-dev
Andrii Kulian [Fri, 11 Mar 2016 23:50:45 +0000 (23:50 +0000)]
Merge "Update docs for DisplayMetrics pixel size fields" into nyc-dev

8 years agoAdd ENCRYPTION_STATUS_ACTIVE_PER_USER to...
Makoto Onuki [Fri, 26 Feb 2016 02:17:30 +0000 (18:17 -0800)]
Add ENCRYPTION_STATUS_ACTIVE_PER_USER to...

getStorageEncryptionStatus()
Use StorageManager APIs to get the encryption
state instead of from the system properties
directly.

Bug 26547262

Change-Id: Ic27baa9489d43a93873f8bb0428084f8886aed67

8 years agoMerge "Add GlopBuilder test for snapping" into nyc-dev
Sergei Vasilinetc [Fri, 11 Mar 2016 23:43:08 +0000 (23:43 +0000)]
Merge "Add GlopBuilder test for snapping" into nyc-dev

8 years agoMerge "Revert "Improve interaction around showing / hiding the gear behind notificati...
Mady Mellor [Fri, 11 Mar 2016 23:41:07 +0000 (23:41 +0000)]
Merge "Revert "Improve interaction around showing / hiding the gear behind notifications"" into nyc-dev

8 years agoUpdate Display#getRealMetrics() behaviour
Andrii Kulian [Fri, 11 Mar 2016 19:52:22 +0000 (11:52 -0800)]
Update Display#getRealMetrics() behaviour

Update behaviour of the method to actually return real size of the
display independent of current configuration.

Bug: 27548818
Bug: 26986895
Change-Id: I64ba65f305801d97d30aed1c9a6cf6881c94ceda

8 years agoMerge "Minor animation cleanup." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 23:40:13 +0000 (23:40 +0000)]
Merge "Minor animation cleanup." into nyc-dev

8 years agoRevert "Improve interaction around showing / hiding the gear behind notifications"
Mady Mellor [Fri, 11 Mar 2016 23:36:41 +0000 (23:36 +0000)]
Revert "Improve interaction around showing / hiding the gear behind notifications"

This reverts commit 273ed107f1d414571a01bf8ebd9c9ffa942d9e11.

Change-Id: I5f4d2c2dfa2bd965abd2ea2ec385639deb4511f9

8 years agoFixed a bug with autoredacted custom views.
Selim Cinek [Fri, 11 Mar 2016 23:36:06 +0000 (15:36 -0800)]
Fixed a bug with autoredacted custom views.

Bug: 27616717
Change-Id: Ia6156d7cadca0c1f9aadd49f76f62ac92991eced

8 years agoMerge "Fix issue with the component layout not having updated on config change" into...
Winson Chung [Fri, 11 Mar 2016 23:27:54 +0000 (23:27 +0000)]
Merge "Fix issue with the component layout not having updated on config change" into nyc-dev

8 years agoMerge "Added logoutCurrentUser method" into nyc-dev
Fyodor Kupolov [Fri, 11 Mar 2016 23:25:09 +0000 (23:25 +0000)]
Merge "Added logoutCurrentUser method" into nyc-dev

8 years agoFix issue with the component layout not having updated on config change
Winson [Fri, 11 Mar 2016 22:56:00 +0000 (14:56 -0800)]
Fix issue with the component layout not having updated on config change

Bug: 27618066

Change-Id: I362c893222439c0dd1faa0000b29ead7ef621606

8 years agoMerge "Workaround for verifying large APKs." into nyc-dev
Alex Klyubin [Fri, 11 Mar 2016 23:03:57 +0000 (23:03 +0000)]
Merge "Workaround for verifying large APKs." into nyc-dev

8 years agoMerge "Add system wide long-press back button functionality" into nyc-dev
Anthony Hugh [Fri, 11 Mar 2016 22:52:57 +0000 (22:52 +0000)]
Merge "Add system wide long-press back button functionality" into nyc-dev

8 years agoMerge "Add a flag to log service side runtime exception" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 22:52:34 +0000 (22:52 +0000)]
Merge "Add a flag to log service side runtime exception" into nyc-dev

8 years agoWorkaround for verifying large APKs.
Alex Klyubin [Fri, 11 Mar 2016 22:45:19 +0000 (14:45 -0800)]
Workaround for verifying large APKs.

When an APK is verifier during installation, the recently added
APK Signature Scheme v2 code uncondionally memory-maps the whole file.
This fails for very large APKs, even those which are not signed with
APK Signature Scheme, thus preventing installation of such APKs.

This temporary workaround pretends that the APK is not signed with
APK Signature Scheme v2 if the APK cannot be memory-mapped because
there's insufficient memory.

This workaround will be removed soon, once APK Signature Scheme v2
APK verification logic can handle very large APKs.

Bug: 27613575
Change-Id: I27bad534855fe4bf3e09b1087398ffdd7f98f482

8 years agoMerge "Allow per-package exemptions for restricted AppOps" into nyc-dev
Ruben Brunk [Fri, 11 Mar 2016 22:48:37 +0000 (22:48 +0000)]
Merge "Allow per-package exemptions for restricted AppOps" into nyc-dev

8 years agoAdd system wide long-press back button functionality
Anthony Hugh [Fri, 4 Mar 2016 20:03:37 +0000 (12:03 -0800)]
Add system wide long-press back button functionality

This CL adds long-press back button functionality as a system
intercepted keypress.

Incorporated in this is an update to clockwork overlays so that
long-press on back will launch ACTION_VOICE_ASSIST.

BUG: 27313719
BUG: 27427088
Change-Id: Iaff337dc50e0022d2392c19d095cec98563b1c7d

8 years agoAdd GlopBuilder test for snapping
sergeyv [Fri, 11 Mar 2016 21:45:15 +0000 (13:45 -0800)]
Add GlopBuilder test for snapping

Change-Id: I7aa5cddef6f0a0e78f3ade67b0446c1f76cf3d13

8 years agoMinor animation cleanup.
Steve McKay [Fri, 11 Mar 2016 22:08:07 +0000 (14:08 -0800)]
Minor animation cleanup.

Delete unused animators and add a cautionary warning.

Change-Id: I10c79ccef42147c01e4db256a082dc20b3f30de1

8 years agoAllow per-package exemptions for restricted AppOps
Ruben Brunk [Fri, 11 Mar 2016 08:24:26 +0000 (00:24 -0800)]
Allow per-package exemptions for restricted AppOps

- When setting blanket user restrictions, per-package
  exemptions may be granted.
- Exempt the current active VrListenerService from the
  blanket restriction on drawing overlays while in VR mode.

Bug: 26775563
Change-Id: I14b17a126502c7905a970ad42d25d6dd600b86b1

8 years agoMerge "ShortcutManager refactor: per-user information class" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 21:52:20 +0000 (21:52 +0000)]
Merge "ShortcutManager refactor: per-user information class" into nyc-dev

8 years agoMerge "Centralize animation related resources." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 21:50:58 +0000 (21:50 +0000)]
Merge "Centralize animation related resources." into nyc-dev

8 years agoCentralize animation related resources.
Steve McKay [Fri, 11 Mar 2016 18:49:32 +0000 (10:49 -0800)]
Centralize animation related resources.

Fix minor bug in animation (use height not width).

Change-Id: I357224086b2732fe9ad49a145db3e82259a87891

8 years agoShortcutManager refactor: per-user information class
Makoto Onuki [Fri, 11 Mar 2016 21:44:32 +0000 (13:44 -0800)]
ShortcutManager refactor: per-user information class

Bug 27548047

Change-Id: Id6de8bfbad6281daec5e89be85ba8b140b599268

8 years agoMerge "AAPT2: statically link protobuf library" into nyc-dev
Adam Lesinski [Fri, 11 Mar 2016 21:33:33 +0000 (21:33 +0000)]
Merge "AAPT2: statically link protobuf library" into nyc-dev

8 years agoMerge "Add test script for sanity of font fallback chain" into nyc-dev
Roozbeh Pournader [Fri, 11 Mar 2016 20:36:00 +0000 (20:36 +0000)]
Merge "Add test script for sanity of font fallback chain" into nyc-dev

8 years agoFixed a bug where notifications could become all white
Selim Cinek [Fri, 11 Mar 2016 20:34:13 +0000 (12:34 -0800)]
Fixed a bug where notifications could become all white

Bug: 27588152
Change-Id: I396ac9369b24f69de3c1d9034ebac91cc07feaeb

8 years agoMerge "Testing initial value for 0-duration animations" into nyc-dev
Doris Liu [Fri, 11 Mar 2016 20:25:38 +0000 (20:25 +0000)]
Merge "Testing initial value for 0-duration animations" into nyc-dev

8 years agoMerge "Set end value immediately when start a 0-duration animation" into nyc-dev
Doris Liu [Fri, 11 Mar 2016 20:25:19 +0000 (20:25 +0000)]
Merge "Set end value immediately when start a 0-duration animation" into nyc-dev

8 years agoMerge "Invalidate DrawableContainer's cached canConstantState on child add" into...
Alan Viverette [Fri, 11 Mar 2016 20:19:09 +0000 (20:19 +0000)]
Merge "Invalidate DrawableContainer's cached canConstantState on child add" into nyc-dev

8 years agoMerge "Display home activity behind pinned activity that should return home" into...
Wale Ogunwale [Fri, 11 Mar 2016 20:18:55 +0000 (20:18 +0000)]
Merge "Display home activity behind pinned activity that should return home" into nyc-dev