235481 Commits

Author SHA1 Message Date
Jeff Davidson
1c0c14febf Merge "NetworkStats.Bucket API polish." into nyc-dev 2016-03-14 19:30:23 +00:00
Wale Ogunwale
0fbdab8397 Merge "Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation" into nyc-dev 2016-03-14 19:27:39 +00:00
Wale Ogunwale
6bdf257d43 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
2016-03-14 19:26:37 +00:00
Wale Ogunwale
7c74ae040d Merge "Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode" into nyc-dev 2016-03-14 19:26:27 +00:00
Amith Yamasani
3e9717bf38 Merge "Clear app idle state for removed packages" into nyc-dev 2016-03-14 19:13:26 +00:00
Amith Yamasani
bdda1e076e 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
2016-03-14 11:55:38 -07:00
Andrii Kulian
7600174181 Merge "Update Display#getRealMetrics() behaviour" into nyc-dev 2016-03-14 18:47:19 +00:00
Jeff Sharkey
815c6a8716 Merge "Offer to cache ContentResolver-related Bundles." into nyc-dev 2016-03-14 18:36:32 +00:00
Zach Kuznia
6ab4498ccc Merge "Fix double tap issue in TouchExplorer" into nyc-dev 2016-03-14 18:32:09 +00:00
Jeff Davidson
1f7e05eda6 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
2016-03-14 11:24:12 -07:00
Robin Lee
5a032c33e4 Merge "Specifically block suspending the package verifier." into nyc-dev 2016-03-14 18:22:49 +00:00
Michael Wright
848727cd66 Merge "Make display mirroring for local displays configurable." into nyc-dev 2016-03-14 18:16:52 +00:00
Tyler Gunn
f8de70c7b7 Merge "IMS: Changes for MultiEndpoint" into nyc-dev 2016-03-14 17:48:11 +00:00
Jeff Sharkey
8731408b11 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
2016-03-14 11:45:50 -06:00
Polina Bondarenko
7020aa66bf Merge "Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties." into nyc-dev 2016-03-14 17:41:57 +00:00
Chris Craik
e62beb0ebf Merge "Dump full Glop in GlopBuilder::dump" into nyc-dev 2016-03-14 17:22:27 +00:00
George Mount
6387cd2849 Merge "Added internal test for AutoTransition." into nyc-dev 2016-03-14 16:49:24 +00:00
Diego Perez
e5155dee85 Merge "Do not deallocate on Bitmap.recycle" into nyc-dev 2016-03-14 16:39:54 +00:00
Amith Yamasani
c070a099f5 Merge "Add ENCRYPTION_STATUS_ACTIVE_PER_USER to..." into nyc-dev 2016-03-14 15:54:19 +00:00
Brian Carlstrom
b4cab0bd5d Merge "frameworks/base: Make Thread::run threadName argument required" into nyc-dev 2016-03-14 15:18:06 +00:00
Alan Viverette
781fbf28c7 Merge "Ensure all Java-side usages of config flags are using Java flags" into nyc-dev 2016-03-14 15:01:51 +00:00
Geoff Mendal
031d15dd70 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-14 14:43:50 +00:00
Geoff Mendal
422c32e706 Import translations. DO NOT MERGE
Change-Id: I0b6587843dfcdcc35b6f1786182f3f8f69e6a10c
Auto-generated-cl: translation import
2016-03-14 07:32:54 -07:00
Geoff Mendal
d0a559ce5d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-14 14:24:06 +00:00
Geoff Mendal
4e81500ba7 Import translations. DO NOT MERGE
Change-Id: Ibb696b389c27d30115f09d8e0f2d59dcec951c8b
Auto-generated-cl: translation import
2016-03-14 07:22:38 -07:00
Geoff Mendal
e33a898de7 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-14 14:22:19 +00:00
Paul Stewart
0f3b7ac4b5 Merge "WifiManager: Remove static objects" into mm-wireless-dev
am: d292ed866c

* commit 'd292ed866c27bc7a23cfa292603d722a6b7f9d81':
  WifiManager: Remove static objects
2016-03-14 14:21:29 +00:00
Geoff Mendal
03a76f7c9e Import translations. DO NOT MERGE
Change-Id: Iebdb30818688a27d0c8edb60c5686a37e69f3444
Auto-generated-cl: translation import
2016-03-14 07:19:18 -07:00
Paul Stewart
d292ed866c Merge "WifiManager: Remove static objects" into mm-wireless-dev 2016-03-14 14:13:34 +00:00
Robin Lee
d646b3d67f Merge "Skip lockdown setup if user is not up yet" into nyc-dev 2016-03-14 13:19:56 +00:00
Robin Lee
18566c1bae 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
2016-03-14 13:19:14 +00:00
Geoff Mendal
ec09996b59 Import translations. DO NOT MERGE
Change-Id: I3d3f531613872fbce12cbf5c991d1fde61d3436f
Auto-generated-cl: translation import
2016-03-14 08:30:40 -04:00
Robin Lee
ab5ba2ef2a Specifically block suspending the package verifier.
Bug: 27635033
Change-Id: I65684239e0c1bcd710753ec76e436328a33f0967
2016-03-14 09:59:44 +00:00
Diego Perez
adf62b3ebc 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
2016-03-14 09:31:07 +00:00
Daichi Hirono
497b473b8a 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
2016-03-14 15:30:37 +09:00
Seigo Nonaka
62006a72a6 Merge "Remove duplicated test cases." into nyc-dev 2016-03-14 04:11:01 +00:00
Pierre Imai
68fe236172 Merge "Remove an unnecessary InputStream and prevent leaking memory." into nyc-dev 2016-03-14 02:54:11 +00:00
Roozbeh Pournader
8829e6b730 Merge "Remove Basque hyphenation patterns" into nyc-dev 2016-03-13 09:19:25 +00:00
Roozbeh Pournader
217a86c709 Remove Basque hyphenation patterns
Change-Id: Ib59de7c96fe19da9534fe65c3d553dc7c5399a1f
2016-03-12 20:56:23 -08:00
Brian Carlstrom
66f4831aa1 frameworks/base: Make Thread::run threadName argument required
Bug: 27557176
Change-Id: Icff15e51fb7c99387ac8317181d12749f343439a
2016-03-12 16:07:48 -08:00
Nick Kralevich
3972507684 fix spelling
Change-Id: I82e64fa8a64be0fbfda748e6b57b5d339fd6f903
2016-03-12 15:00:50 -08:00
Mady Mellor
466b702cac Merge "Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""" into nyc-dev 2016-03-12 17:50:42 +00:00
Zachary Kuznia
fd6aa8a1fa 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
2016-03-11 20:21:13 -08:00
Chris Craik
701b3cc0db Dump full Glop in GlopBuilder::dump
Change-Id: I022b3c8c265998fd97d41f13964f4703025b338a
2016-03-11 18:39:01 -08:00
George Mount
ca11a73cb1 Added internal test for AutoTransition.
Change-Id: Ieee0f4ed8a418293043f19f6edfc1c8302fec7f2
2016-03-11 18:23:17 -08:00
Wale Ogunwale
9185fb07c4 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
2016-03-11 18:15:58 -08:00
Dianne Hackborn
20c9aa735e Merge "Fix issue #27530395: API Review: JobInfo.Builder" into nyc-dev 2016-03-12 02:12:12 +00:00
Carlos Valdivia
83d036f497 Merge "Logging to KEY_INTENT security failure" into nyc-dev 2016-03-12 02:06:39 +00:00
Chris Tate
fcbe17e1e0 Merge "Once restored, the wallpaper needs to actually draw" into nyc-dev 2016-03-12 01:55:19 +00:00
Christopher Tate
41297ff82c 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
2016-03-11 17:51:33 -08:00