Commit Graph

56636 Commits

Author SHA1 Message Date
Adrian Roos
8fa819399b Merge "Don\'t show wallpaper when backdrop is visible" into nyc-dev
am: 7400f82699

* commit '7400f82699c76618d5ca24d6528580afb4695dbf':
  Don't show wallpaper when backdrop is visible
2016-03-15 03:30:01 +00:00
Adrian Roos
7400f82699 Merge "Don't show wallpaper when backdrop is visible" into nyc-dev 2016-03-15 03:26:02 +00:00
Tyler Gunn
aa86a3a41a Merge "Add API support for multi-endpoint." into nyc-dev
am: 32d1a1a911

* commit '32d1a1a9110921dc043e4103e3ef1d075e1cf518':
  Add API support for multi-endpoint.
2016-03-15 02:07:37 +00:00
Tyler Gunn
32d1a1a911 Merge "Add API support for multi-endpoint." into nyc-dev 2016-03-15 01:59:43 +00:00
Adrian Roos
d5c2db630f Don't show wallpaper when backdrop is visible
Hides the wallpaper when it's not needed and fixes
the unlock animation to not unnecessairly show the
wallpaper if neither the Keyguard nor the underlying
app need it.

Also fixes a bug where the enter animation had a background
set, which led to uglyness when no wallpaper is involved.

Bug: 27533740
Change-Id: I667c6f7ca6c0e1ff7e9f793c6ddc13f6da8387b1
2016-03-14 18:55:41 -07:00
Carlos Valdivia
71dfb1654b Merge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev
am: 658e4c5ece

* commit '658e4c5eceefcb2f0d070d478fb1ab0af27a1bbe':
  Permissions: Get rid of GET_ACCOUNTS
2016-03-15 01:40:26 +00:00
Carlos Valdivia
658e4c5ece Merge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev 2016-03-15 01:36:26 +00:00
Tyler Gunn
876dbfb476 Add API support for multi-endpoint.
This CL includes changes required to support multi-endpoint (see the
design doc linked off the bug).

Main changes include:
- support for indicating if a call/connection is "external" to the device.
- support for indicating if an external call can be pulled from the
remote device to the local device.
- API used to initiate a pull of a call external to the current device to
the current device.
- Made the "connection event" API public (was previously @hide); this will
be used to support passing some error events involving pulling calls to
the incall ui.
- Added new InCallService metadata which will be used to determine if an
InCallService wants to be informed of external calls.
- New disconnect causes which will be used to expose the fact that a
multi-endpoint call was answered elsewhere and that a call ended because
it was pulled to another device.
- New call log call types to indicate if calls were answered elsewhere
or pulled to another device.

Bug: 27458894
Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
2016-03-14 23:26:34 +00:00
Makoto Onuki
6c525ae97b Merge "Implement the launcher side permission." into nyc-dev
am: 49f6fbcd1f

* commit '49f6fbcd1f516ec543ada6aeab62eb51a3cdf712':
  Implement the launcher side permission.
2016-03-14 22:22:14 +00:00
Makoto Onuki
49f6fbcd1f Merge "Implement the launcher side permission." into nyc-dev 2016-03-14 22:12:16 +00:00
Makoto Onuki
2d5b465fa9 Implement the launcher side permission.
Only the default launcher can call the LauncherApps shortcut APIs.

Bug 27548047

Change-Id: I6d597fcad80c5201a2f93b8cbecd567fc79926d8
2016-03-14 15:00:58 -07:00
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
Carlos Valdivia
d39600585b Permissions: Get rid of GET_ACCOUNTS
Second attempt. Still need to add strict mode violation checks and
logging.

Bug: 21901286

This reverts commit bf33bd4d31.

Change-Id: I5d73343544c32ce4fc4c377ba44db8e677a1287d
2016-03-13 17:13:54 -07: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