Commit Graph

62058 Commits

Author SHA1 Message Date
Todd Kennedy
3dc479bd3f Merge "Fix API" into nyc-dev
am: 791a154648

* commit '791a1546484f643e98a4bb245c3b7c302b894f78':
  Fix API
2016-03-14 21:36:45 +00:00
Todd Kennedy
791a154648 Merge "Fix API" into nyc-dev 2016-03-14 21:31:44 +00:00
Todd Kennedy
948b702f39 Fix API
change name and allow passing in a boolean

Change-Id: I29b9765fedbd6b49878bb75df782012ad87a6866
2016-03-14 14:29:52 -07:00
Oren Blasberg
086c22442b Merge "Fix constant name in WallpaperManager javadoc." into nyc-dev
am: cea9f353f7

* commit 'cea9f353f79d2c367a30fa84ceca524e5eacce08':
  Fix constant name in WallpaperManager javadoc.
2016-03-14 20:47:55 +00:00
Oren Blasberg
cea9f353f7 Merge "Fix constant name in WallpaperManager javadoc." into nyc-dev 2016-03-14 20:43:43 +00:00
Jeff Davidson
cb4ad1548e Merge "NetworkStats.Bucket API polish." into nyc-dev
am: 1c0c14febf

* commit '1c0c14febfaab3fac0239328e2f3b0aaeb9bf56d':
  NetworkStats.Bucket API polish.
2016-03-14 19:35:48 +00:00
Wale Ogunwale
f12c4de1bf Merge "Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation" into nyc-dev
am: 0fbdab8397

* commit '0fbdab8397ecee12d04ec5f273e7277c74e020eb':
  Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation
2016-03-14 19:31:42 +00:00
Wale Ogunwale
99079b4f49 Merge "Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode" into nyc-dev
am: 7c74ae040d

* commit '7c74ae040d2edf956d3ec943f146c5baa93af0eb':
  Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode
2016-03-14 19:31:40 +00:00
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
Andrii Kulian
f1108690c1 Merge "Update Display#getRealMetrics() behaviour" into nyc-dev
am: 7600174181

* commit '76001741814f16522c321108f7ef89965389cbe0':
  Update Display#getRealMetrics() behaviour
2016-03-14 18:51:41 +00:00
Andrii Kulian
7600174181 Merge "Update Display#getRealMetrics() behaviour" into nyc-dev 2016-03-14 18:47:19 +00:00
Jeff Sharkey
961a091bc4 Merge "Offer to cache ContentResolver-related Bundles." into nyc-dev
am: 815c6a8716

* commit '815c6a8716a5d326a87cd8211de1a87a5015d0f4':
  Offer to cache ContentResolver-related Bundles.
2016-03-14 18:41:25 +00:00
Jeff Sharkey
815c6a8716 Merge "Offer to cache ContentResolver-related Bundles." into nyc-dev 2016-03-14 18:36:32 +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
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
039fd06595 Merge "Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties." into nyc-dev
am: 7020aa66bf

* commit '7020aa66bf7aac6b2e834447332763fc6c1a62eb':
  Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties.
2016-03-14 17:45:13 +00:00
Polina Bondarenko
7020aa66bf Merge "Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties." into nyc-dev 2016-03-14 17:41:57 +00:00
Oren Blasberg
2eee8c6e0e Fix constant name in WallpaperManager javadoc.
It should be FLAG_SET_LOCK, not FLAG_SET_LOCK_WALLPAPER
(same thing for SYSTEM).

Change-Id: I1a7a91edb3e67103b5584affc7d46a98d9a735b2
2016-03-14 10:06:08 -07:00
Makoto Onuki
d0a90344fd Merge "Add ENCRYPTION_STATUS_ACTIVE_PER_USER to..." into nyc-dev
am: c070a099f5

* commit 'c070a099f5e96d7d6eb4553b9d4591708bab20af':
  Add ENCRYPTION_STATUS_ACTIVE_PER_USER to...
2016-03-14 15:59:49 +00:00
Amith Yamasani
c070a099f5 Merge "Add ENCRYPTION_STATUS_ACTIVE_PER_USER to..." into nyc-dev 2016-03-14 15:54:19 +00:00
Alan Viverette
8761e95f06 Merge "Ensure all Java-side usages of config flags are using Java flags" into nyc-dev
am: 781fbf28c7

* commit '781fbf28c70868d803a6caf13a2209c785fa4fce':
  Ensure all Java-side usages of config flags are using Java flags
2016-03-14 15:06:16 +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
Roozbeh Pournader
da7e989135 Merge "Remove Basque hyphenation patterns" into nyc-dev
am: 8829e6b730

* commit '8829e6b730f22991de79c285fc5b92902994579f':
  Remove Basque hyphenation patterns
2016-03-13 09:23:25 +00:00
Roozbeh Pournader
217a86c709 Remove Basque hyphenation patterns
Change-Id: Ib59de7c96fe19da9534fe65c3d553dc7c5399a1f
2016-03-12 20:56:23 -08:00
Dianne Hackborn
40b0005cc7 Merge "Fix issue #27530395: API Review: JobInfo.Builder" into nyc-dev
am: 20c9aa735e

* commit '20c9aa735eb7f938c2fca1cac3ff74cd41079412':
  Fix issue #27530395: API Review: JobInfo.Builder
2016-03-12 02:16:13 +00: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
Christopher Tate
3422c197a8 Merge "Once restored, the wallpaper needs to actually draw" into nyc-dev
am: fcbe17e1e0

* commit 'fcbe17e1e0a0a487ff5f41a32ff6bb7d056e5a76':
  Once restored, the wallpaper needs to actually draw
2016-03-12 01:58:48 +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
Yorke Lee
2e2bb0a789 Merge "Fix for drag start event being incorrectly cached" into nyc-dev
am: 26903a3431

* commit '26903a34317a3137b49ed405e1388ec6f44f1f40':
  Fix for drag start event being incorrectly cached
2016-03-12 00:13:50 +00:00
Andrii Kulian
dd6ca42934 Merge "Update docs for DisplayMetrics pixel size fields" into nyc-dev
am: d5db062682

* commit 'd5db0626825e3a91efcc40f585ac65602d111247':
  Update docs for DisplayMetrics pixel size fields
2016-03-12 00:13:48 +00:00
Yorke Lee
26903a3431 Merge "Fix for drag start event being incorrectly cached" into nyc-dev 2016-03-12 00:04:48 +00:00
Fyodor Kupolov
f51cd20795 Merge "Added logoutCurrentUser method" into nyc-dev
am: 89f1622e48

* commit '89f1622e48206d2f8ebd9af9c32449f1f8eab7d1':
  Added logoutCurrentUser method
2016-03-11 23:54:21 +00:00
Alex Klyubin
ea9917a570 Merge "Workaround for verifying large APKs." into nyc-dev
am: 026cf53fe4

* commit '026cf53fe46a3da512088212f22a2989993eb963':
  Workaround for verifying large APKs.
2016-03-11 23:54:20 +00:00
Makoto Onuki
5592d0ed7c Merge "Add a flag to log service side runtime exception" into nyc-dev
am: 4b19f4a702

* commit '4b19f4a702b9da07c91d093b922b30163ddd1471':
  Add a flag to log service side runtime exception
2016-03-11 23:54:18 +00:00
Ruben Brunk
c5630f8247 Merge "Allow per-package exemptions for restricted AppOps" into nyc-dev
am: 89db9dbedb

* commit '89db9dbedbb250e012d5853a7c3ae2b8fa070ecc':
  Allow per-package exemptions for restricted AppOps
2016-03-11 23:54:17 +00:00
Doris Liu
d6c67154cb Merge "Set end value immediately when start a 0-duration animation" into nyc-dev
am: 5a705d0bbb

* commit '5a705d0bbbd1f5eb117170c9c68399cc7b484b7a':
  Set end value immediately when start a 0-duration animation
2016-03-11 23:54:10 +00:00
Yohei Yukawa
2d9b9b8181 Merge "Use LocaleUtils#filterByLanguage for non-keyboard subtypes." into nyc-dev
am: fc1713dfad

* commit 'fc1713dfadecf089e88cecc765e99a460b7f4513':
  Use LocaleUtils#filterByLanguage for non-keyboard subtypes.
2016-03-11 23:54:04 +00:00
Todd Kennedy
52e1a26891 Merge "Allow app downgrades" into nyc-dev
am: b0f6e311ce

* commit 'b0f6e311ce19add792048db855844e542e808dd6':
  Allow app downgrades
2016-03-11 23:54:03 +00:00
Todd Kennedy
aa2b0035de Merge "Add minSdk to dumpsys" into nyc-dev
am: 1374af2c7b

* commit '1374af2c7be265701b9b402b7d4749ffe716ef01':
  Add minSdk to dumpsys
2016-03-11 23:54:00 +00:00
Andrii Kulian
d5db062682 Merge "Update docs for DisplayMetrics pixel size fields" into nyc-dev 2016-03-11 23:50:47 +00:00
Makoto Onuki
d4c9e541ec 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
2016-03-11 15:50:04 -08:00
Andrii Kulian
a4bb9d3f52 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
2016-03-11 15:40:53 -08:00
Fyodor Kupolov
89f1622e48 Merge "Added logoutCurrentUser method" into nyc-dev 2016-03-11 23:25:10 +00:00
Alex Klyubin
026cf53fe4 Merge "Workaround for verifying large APKs." into nyc-dev 2016-03-11 23:03:59 +00:00
Makoto Onuki
4b19f4a702 Merge "Add a flag to log service side runtime exception" into nyc-dev 2016-03-11 22:52:35 +00:00