Commit Graph

246497 Commits

Author SHA1 Message Date
TreeHugger Robot
53482cb6c0 Merge "Don’t relaunch activity in fullscreen stack when entering split screen mode" into nyc-dev 2016-05-02 19:13:45 +00:00
Dirk Dougherty
5d8d511264 Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs 2016-05-02 19:13:42 +00:00
Dirk Dougherty
934e9d0614 Change youtube metadata refs to use https.
Change-Id: I10f73bbdcce86de4918d7e57b7826b05e505d2d3
2016-05-02 12:11:45 -07:00
Dirk Dougherty
cabb54b570 Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.
am: a74a6e5ba9

* commit 'a74a6e5ba92d049710de31c5bcf75e3bda4aadcc':
  Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.

Change-Id: I681173818b4f7f4fa8e1d1182b7b30a91fefd834
2016-05-02 19:11:01 +00:00
Makoto Onuki
4d36b3a8c5 ShortcutManager: finishing touches
- Change back the throttling quota to 10 calls / day
- Foreground apps are no longer throttled, and when an app comes to
foreground the call counter will be reset.
- When the system locale changes, reset throttling for all packages
for all users.
  See LocalService.onSystemLocaleChangedNoLock() for how it's performed.
  Because the reset must happen before any other apps have a chance to
  publish shortcuts, the logic is not straightforward.

- Added an internal API to reset the throttling upon inline-reply
from a notification.

- Stop supporting icons from "content:" URIs
- Improved javadoc on several APIs.

Also internal refactor needed to this:
- ShortcutUser.getAllPackages()/getAllLaunchers() are no longer
accessible to outer code to prevent accidentally adding/removing the
content.  Outer code should use forAllPackages() / forAllLaunchers().

Bug 27923857

Change-Id: I002511193d1d33718163bb1dabe77610bde58198
2016-05-02 12:02:19 -07:00
Dirk Dougherty
a74a6e5ba9 Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.
Change-Id: Id0053752db7bc304d02b78d04055b86b5e5e8ad5
2016-05-02 11:47:13 -07:00
Wale Ogunwale
132daa9679 Use existing bounds when pinning an activity if there is already pinned stack
Using null will take the pinned stack to fullscreen. We need to use
the existing bounds when pinning an activity if pinned stack already exist.

Bug: 28517964
Change-Id: I9a15a2e4477a2ee0e2f09cf052627034f9ff6023
2016-05-02 11:36:58 -07:00
Chien-Yu Chen
0e0110512d Merge "Camera: Update for video buffer binder changes" into nyc-dev
am: b99d272e43

* commit 'b99d272e4367d137c5887740e9ed4bfe1badb347':
  Camera: Update for video buffer binder changes

Change-Id: I1f9fefccf7ddb539e4f3740b03ee01fc7b81ecd6
2016-05-02 18:36:51 +00:00
Phil Weaver
0f36545bb8 Re-enable accessibility when UiAutomation closed.
We need to read the settings when UiAutomation closes in order to
configure other accessibility features from settings.

Bug: 28461805
Bug: 28460671
Change-Id: I030761922ec4acfa2d916e171c39e9dc2deb85a2
2016-05-02 11:36:00 -07:00
Jeff Sharkey
9540ca4fc4 When fork() fails, clean up data structures.
There are a number of different conditions that could cause
ActivityManager to fail to fork() a process.  One of the most common
ones is a package being "frozen" during a PackageManager operation.

When this happens, use the common forceStopPackageLocked() method
to cleanup any internal bookkeeping structures.  (It's slightly
misnamed, since it doesn't actually "force stop" the app.)  It's
also the same method that we called moments earlier when the package
was first frozen through KILL_APPLICATION_MSG.

Bug: 28395549
Change-Id: I7b1623c5f66fc1de24cad5360c977ea764d09244
2016-05-02 12:33:24 -06:00
Julia Reynolds
0fa02c7db9 Don't unbundle updated notifications.
Bug: 28520827
Change-Id: I76593df3869a86353a1583e64e98b4aef04a7d1f
2016-05-02 14:32:26 -04:00
Chien-Yu Chen
b99d272e43 Merge "Camera: Update for video buffer binder changes" into nyc-dev 2016-05-02 18:24:54 +00:00
Jorim Jaggi
d3ec507160 Fix minimized dock stack for translucent activity over home task
Previously, we only looked at whether home task is going away or
getting visible. This doesn't work anymore, as we also need to
un-minimize docked stack if another task is visible with translucency
over the home task.

Change-Id: I993f58a25d99d2ef9f562f7d1587c2dec0d05142
Fixes: 28434466
Fixes: 27906038
2016-05-02 11:24:25 -07:00
Wale Ogunwale
ae30f308ee Allow pinned activities to finish immediately
Pinned activities are normally in the paused state so when finishing
they can finish immediately as there might not be additional transition
in the system to finish them.

Bug: 28434641
Bug: 28350881
Change-Id: I5f1eaf0969a7eb08292cb9cc123bf8c0fddc9ea8
2016-05-02 10:56:57 -07:00
Christopher Tate
33410d8ef0 Preserve shared {system+lock} wallpaper when setting system only
am: 8347b63188

* commit '8347b631883d073a2919517179c1e1378a8671e6':
  Preserve shared {system+lock} wallpaper when setting system only

Change-Id: I5c22278eadba3ab7f8d7ce4871a3c0c7b6402bac
2016-05-02 17:48:24 +00:00
Tianjie Xu
249eadf35e Merge "Set security update label in framework" into nyc-dev
am: 8ebedfd0d9

* commit '8ebedfd0d9b22893d2e87e246347d67881f0f848':
  Set security update label in framework

Change-Id: I1d920edd5c6d6d78245acba24bc0ff8c1b5091c3
2016-05-02 17:48:21 +00:00
Christopher Tate
8347b63188 Preserve shared {system+lock} wallpaper when setting system only
We migrate the existing (shared) system wallpaper to be the lock-only
wallpaper when setting a new system-only wallpaper.  The end result
is that if you say "set the system wallpaper only" the lock wallpaper
won't change.

(The migration is via a rename of the underlying imagery files, not
via copying, because copying all that data would be silly.)

Bug 27599080

Change-Id: I03ecf23c943fe88af58d5ac26f05587a15e2d0a9
2016-05-02 17:40:06 +00:00
Chong Zhang
31fd5681fd Merge "Do not update surface for dummy animation as long as transition is set" into nyc-dev
am: 5b7a097b22

* commit '5b7a097b22cae234a7b0e575bda063525989a985':
  Do not update surface for dummy animation as long as transition is set

Change-Id: If472fc155d34d155a626bdaf4addb1650ee8e385
2016-05-02 17:39:15 +00:00
Tianjie Xu
8ebedfd0d9 Merge "Set security update label in framework" into nyc-dev 2016-05-02 17:38:52 +00:00
Chong Zhang
5b7a097b22 Merge "Do not update surface for dummy animation as long as transition is set" into nyc-dev 2016-05-02 17:31:14 +00:00
Ben Lin
726bf6a3ce Add ability to rename a downloaded file.
Bug: 28359663
Change-Id: I2674720777c7aafd81e8395e873967fd5d7a2f26
2016-05-02 10:10:47 -07:00
Philip P. Moltmann
771f8d6b15 Merge "Check if user is unlocked when handler is executed" into nyc-dev
am: beb3d2990b

* commit 'beb3d2990b2b480d06f465a8df4a6509ec4e098b':
  Check if user is unlocked when handler is executed

Change-Id: I31d2777b1a06802aa2450c7d9242a4f1c5d555a5
2016-05-02 17:08:23 +00:00
Pavel Zhamaitsiak
6619131b87 Merge "Connectivity Metrics service: dump throttling states to dumpsys" into nyc-dev
am: aabed1c5f8

* commit 'aabed1c5f8d2bdbcf4c854fadf9c50a8fd1bc0a6':
  Connectivity Metrics service: dump throttling states to dumpsys

Change-Id: I88679a6e2c75bbdd37ab43145314b8f7381a76a3
2016-05-02 17:08:20 +00:00
Hangyu Kuang
77a326e5f3 Merge "media: Add missing dobly-vision profile." into nyc-dev
am: 66496d0d6d

* commit '66496d0d6d179116af5218d409ca64c5f0f16ed4':
  media: Add missing dobly-vision profile.

Change-Id: I81a3d3cd29120b07d5a3a2f45b0c582fa2c72962
2016-05-02 17:08:18 +00:00
Jason Monk
f7037689b3 Merge "Update QS custom tile icons when they change" into nyc-dev
am: 2c003c39e7

* commit '2c003c39e7aa05f2515a849d99306a7d3538e978':
  Update QS custom tile icons when they change

Change-Id: I2dfdb17f0a0c18d9fb44e997b04bc61fcea2aa1c
2016-05-02 16:59:49 +00:00
Philip P. Moltmann
beb3d2990b Merge "Check if user is unlocked when handler is executed" into nyc-dev 2016-05-02 16:59:08 +00:00
Pavel Zhamaitsiak
aabed1c5f8 Merge "Connectivity Metrics service: dump throttling states to dumpsys" into nyc-dev 2016-05-02 16:58:34 +00:00
Hangyu Kuang
66496d0d6d Merge "media: Add missing dobly-vision profile." into nyc-dev 2016-05-02 16:55:38 +00:00
Philip P. Moltmann
b299051ac6 Merge "Handle more config changes and handle onDestroy" into nyc-dev
am: 383189f494

* commit '383189f494aba302555113ba6873a151bcb4a414':
  Handle more config changes and handle onDestroy

Change-Id: I5659ea33f9d2747cb866adab392c5f5a1ce3baac
2016-05-02 16:54:49 +00:00
Jason Monk
2c003c39e7 Merge "Update QS custom tile icons when they change" into nyc-dev 2016-05-02 16:49:44 +00:00
Philip P. Moltmann
640918f911 Check if records is inited before removing items
The record might already be removed and the records array set to null
when the binder dies, hence handle the scenario.

Bug: 28512952
Change-Id: Id21b03b6d14d1dc8cb792ee4ec0519287a289a33
2016-05-02 09:46:22 -07:00
Philip P. Moltmann
efb1950263 Check if user is unlocked when handler is executed
When the user gets unlocked we schedule a handler-runnable to do cleanup work.
This runnable might be executed after the user is already locked again.

Fixes: 28512952
Change-Id: I6c05cbc8adab699e451565d74d56ad0f9b965954
2016-05-02 09:44:08 -07:00
Philip P. Moltmann
383189f494 Merge "Handle more config changes and handle onDestroy" into nyc-dev 2016-05-02 16:43:52 +00:00
Chris Craik
20136f3194 Add LightingFilter behavior test
bug:28519669

Change-Id: I81ca4109bae04387f2eb73374d0f11821745fea1
2016-05-02 09:43:30 -07:00
Chris Thornton
b0fa8b0c55 Merge "Keep STH state in sync with HAL" into nyc-dev
am: 7cdc320a6b

* commit '7cdc320a6be3ef285b8f0c7923c2a91ac618fbe3':
  Keep STH state in sync with HAL

Change-Id: Icf6fd3d9416ce062703163a5f8f62e2d014bf89f
2016-05-02 16:33:23 +00:00
Wale Ogunwale
71a9d40911 Merge "Launch home activity in home stack if coming from ResolverActivity" into nyc-dev
am: b7d513cb47

* commit 'b7d513cb47ba872bc3e3d4689a67bd05720f8569':
  Launch home activity in home stack if coming from ResolverActivity

Change-Id: Id8d6f342ee8507aafd6fe95b103fdfd3b50118e5
2016-05-02 16:33:20 +00:00
Chris Thornton
7cdc320a6b Merge "Keep STH state in sync with HAL" into nyc-dev 2016-05-02 16:26:19 +00:00
Glenn Kasten
1d46276a62 Improve documentation for AudioTrack buffer sizes
Bug: 28321706
Change-Id: I18ecc5a88e97d8c425a8524f216cc2b02e2e4ca9
2016-05-02 09:22:09 -07:00
Renat Aksitov
c8dd93d4c8 Voice Messaging Intent API.
Adding missing items about MIME type and account type to the
"integration with the Contacts Provider" section.

Bug 28295510

Change-Id: I890458e62a714519be70e930fd53315c141ba354
2016-05-02 09:22:02 -07:00
TreeHugger Robot
b7d513cb47 Merge "Launch home activity in home stack if coming from ResolverActivity" into nyc-dev 2016-05-02 16:21:42 +00:00
Fyodor Kupolov
3b050a96b3 Merge "Do not enforce unlocked state when there is no caller" into nyc-dev
am: b9f7541d9b

* commit 'b9f7541d9bd8b0b37f04ea8244a8d0bd5fb97717':
  Do not enforce unlocked state when there is no caller

Change-Id: I2b8b00a730e7b0b27da6ad360b76c82c6bc1b178
2016-05-02 16:16:02 +00:00
Fyodor Kupolov
b9f7541d9b Merge "Do not enforce unlocked state when there is no caller" into nyc-dev 2016-05-02 16:05:41 +00:00
Philip P. Moltmann
cb60c8bf21 Merge "Visibility of pageRangeTitle =!= pageRangeText" into nyc-dev
am: 8582909cae

* commit '8582909caefe952d02889e239642af945f64c03d':
  Visibility of pageRangeTitle =!= pageRangeText

Change-Id: I89a018d8c3fa6394e8c4af93feab2463815fd2d7
2016-05-02 15:59:01 +00:00
Philip P. Moltmann
1679077c48 Merge "Delay callback from printerRegistry after Constr." into nyc-dev
am: 1f113db350

* commit '1f113db35095c8f43b702991dd68edc1ce398c82':
  Delay callback from printerRegistry after Constr.

Change-Id: I7fbea2dc9cef8c37889616ac1ac694f253adf533
2016-05-02 15:58:58 +00:00
Philip P. Moltmann
8582909cae Merge "Visibility of pageRangeTitle =!= pageRangeText" into nyc-dev 2016-05-02 15:50:01 +00:00
Philip P. Moltmann
1f113db350 Merge "Delay callback from printerRegistry after Constr." into nyc-dev 2016-05-02 15:49:49 +00:00
Wale Ogunwale
1affbbc593 Launch home activity in home stack if coming from ResolverActivity
ResolverActivity launches activities it resolves as the initial caller.
In the case of the home intent it can be sys-ui, but only the system
server is currently allow to launch things into the home stack, so the
resolved home activity is placed in non-home stack. This wasn’t a
visible problem in fullscreen mode as the user would notice since
everything is fullscreen, however it is very visible in multi-window mode.
We now allow home activities to be places in the home stack if it is coming
from the ResolverActivity.

Bug: 28487506
Change-Id: I68f81da68a207efab9ce911fa6661bd573f1e949
2016-05-02 08:03:25 -07:00
Wale Ogunwale
0a583debd4 Merge "Don\'t move stack to front when creating a task for activity to be started" into nyc-dev
am: a092aa436e

* commit 'a092aa436eb1eaa0c9606a0a395f3b52ad9cccef':
  Don't move stack to front when creating a task for activity to be started

Change-Id: I03cd1bd5764a90f91379663db31594c5af0e8d70
2016-05-02 14:51:59 +00:00
Todd Kennedy
67cc0b2b8f Merge "Restrict updates of system packages" into nyc-dev
am: 4e4fca43b0

* commit '4e4fca43b0fb1320ce0265640d33b700cd886da8':
  Restrict updates of system packages

Change-Id: Ie6e530365b1b805091f60ca4c5a3a2b1701409ca
2016-05-02 14:51:57 +00:00
Jason Monk
624cbe2d8c Update QS custom tile icons when they change
When an app updates to change their default tile icon, pick up on
the change.  When listening this comes from the TileLifecycleManager
and when not listening this guts picked up next time listening starts.

Change-Id: Ib730f02ed54ca1c1ba72ce50adf7dcf91f01738f
Fixes: 27911877
2016-05-02 10:49:50 -04:00