Commit Graph

245370 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
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
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
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
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
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
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
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
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
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
Wale Ogunwale
a092aa436e Merge "Don't move stack to front when creating a task for activity to be started" into nyc-dev 2016-05-02 14:46:39 +00:00
Todd Kennedy
4e4fca43b0 Merge "Restrict updates of system packages" into nyc-dev 2016-05-02 14:44:20 +00:00
Nadia Benbernou
f4810f5506 Merge "Add api to WearableExtender for setting and getting the dismissal id. Bug:27696581" into nyc-dev 2016-05-02 14:15:46 +00:00
Lorenzo Colitti
4a992cbde8 Merge changes I86257bc8,I5c2221c5 into nyc-dev
* changes:
  Use Netd's binder interface to set resolver configuration.
  Add Gservices settings for resolver configuration.
2016-05-02 12:49:19 +00:00
Pierre Imai
bd8759bdd1 Use Netd's binder interface to set resolver configuration.
BUG: 25731675
Change-Id: I86257bc84371832466161e5357ae173c305a7d18
2016-05-02 08:29:21 +00:00
Pierre Imai
8e48e67827 Add Gservices settings for resolver configuration.
BUG: 25731675

Change-Id: I5c2221c5a2478fe2fa0fdf9ceeb13a932d758d33
2016-05-02 08:26:09 +00:00
Janis Danisevskis
e0e6cf8e87 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd am: d92fe240b9
am: 38d54f72e3

* commit '38d54f72e3795eb67eceacf5325b14a13492b25d':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I12d68857f2fed0bb62b040df4193fc00cc97f500
2016-05-02 08:12:08 +00:00
Janis Danisevskis
38d54f72e3 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd
am: d92fe240b9

* commit 'd92fe240b9811bd1b20af0b744f1aa727c80b97c':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I7371da3bffa54b8904bd18d52b9803fb45afa31e
2016-05-02 08:08:03 +00:00
Janis Danisevskis
d92fe240b9 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs
am: 73813c06cd

* commit '73813c06cd59a94fe53483b657fa58e954c97551':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I92bcad43201a90273af9428a1a0a97e7e66b03bb
2016-05-02 08:03:54 +00:00
Janis Danisevskis
7f7337d675 Clarifies that filesystem permission 0700 is not enforced as an invariant
The 0700 permission on apps' home directories is not
enforced as a invariant. This change to the behavior
changes documentation reflects this.

Change-Id: I2257796b804574f3c6c7d273957625f4458fe81b
(cherry picked from commit b25a17b3ea)
2016-05-02 07:54:25 +00:00
Janis Danisevskis
73813c06cd Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs 2016-05-02 07:53:53 +00:00
Keisuke Kuroyanagi
c6fad96b59 Show drag handles after finishing batch edit if needed.
Drag handles are blocked from being shown if batch edit mode is active
when onPreDraw is called; however, IME can start and end batch edit
mode regardless of onPreDraw timing.
As a result, drag handles are sometimes not shown even if selection is
created and text action mode is started.

With this CL, drag handles are shown after finishing batch edit mode
if the handles were blocked from being shown in the above case.

Bug: 28366507
Change-Id: I7f099d0626bee70a63bb14bc75eefc2551a52d53
2016-05-02 15:11:41 +09:00
Daichi Hirono
07f48ad0df Do not terminate AppFuse message loop when FUSE_FORGET.
Currently AppFuse tries to terminate its message loop when it receives
FUSE_FORGET. But kernel continues to dispatch messages after FUSE_FORGET
and it should not terminate AppFuse meesage loop.

Change-Id: I070a71c35a8d80bcaaf7603305d219e65be97bc9
Fixes: 28508169
2016-05-02 12:55:35 +09:00
Seigo Nonaka
9d430f5189 Merge "Add missing theme entries to Holo.Light" into nyc-dev 2016-05-02 02:55:13 +00:00
Wale Ogunwale
a4d92a0152 Don’t relaunch activity in fullscreen stack when entering split screen mode
When entering split-screen mode by long pressing the recents button, the
top task in the fullscreen stack is moved to the docked stack and the new
top task is the fullscreen stack is considered visible for a short amount
of time until sys-ui launches the recents activity. This causes the new
top activity in the fullscreen stack to be relaunched due to configuration
change.
To fix this sys-ui now sends an hint to activity manager to move the home
stack forward so that it can be on-top of the fullscreen stack and makes
it invisible before recent is launched and animated in.

Bug: 28470261
Change-Id: Icfd85e932fe913dfb498752b5878cc7c690fd559
2016-05-01 16:02:16 -07:00
Wale Ogunwale
efef374ccf Don't move stack to front when creating a task for activity to be started
This causes foucs to move to the current activity in the stack which isn't
needed. Focus will be moved when the new activity is started in the stack.

Bug: 26381750
Change-Id: Ia76962dc5ba3ce336d2a4e074d14db06eebbe78c
2016-05-01 10:39:41 -07:00