OSDN Git Service
Selim Cinek [Tue, 10 May 2016 23:14:00 +0000 (23:14 +0000)]
Merge "Fixed a bug where the content wasn't transforming in a group" into nyc-dev
Selim Cinek [Tue, 10 May 2016 23:13:50 +0000 (23:13 +0000)]
Merge "Fixed a bug where the positioning on the lockscreen was wrong" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 22:38:25 +0000 (22:38 +0000)]
Merge "Fix density change bugs in SystemUI" into nyc-dev
Amith Yamasani [Tue, 10 May 2016 22:29:18 +0000 (22:29 +0000)]
Merge "Fix multi-window assiststructure trashing" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 22:06:40 +0000 (22:06 +0000)]
Merge "ExifInterface: Set mPosition in AssetStream with proper values" into nyc-dev
Adam Powell [Tue, 10 May 2016 21:34:27 +0000 (21:34 +0000)]
Merge "Move Activity multi-window event logic out of the public methods" into nyc-dev
Chong Zhang [Tue, 10 May 2016 18:20:14 +0000 (11:20 -0700)]
Disable keep_screen_on traces
bug:
28692100
bug:
27522448
Change-Id: Ic077e8985f1f21bc111287813fb2992ed01df909
Winson Chung [Tue, 10 May 2016 21:33:32 +0000 (21:33 +0000)]
Merge "Reducing the number of recent tasks we keep." into nyc-dev
Chong Zhang [Tue, 10 May 2016 21:30:39 +0000 (21:30 +0000)]
Merge "Fixes for restoring more than one child surfaces" into nyc-dev
Android Build Merger (Role) [Tue, 10 May 2016 21:25:16 +0000 (21:25 +0000)]
Merge "Updating redirects to correct Studio Tips and Tricks am:
8e2431513f am:
908a8703f0 am:
c712fdcc45" into nyc-dev
Mary Yanchar [Tue, 10 May 2016 21:24:50 +0000 (21:24 +0000)]
Updating redirects to correct Studio Tips and Tricks am:
8e2431513f am:
908a8703f0
am:
c712fdcc45
* commit '
c712fdcc4524face58cec7afd711a4d66db80e8d':
Updating redirects to correct Studio Tips and Tricks
Change-Id: I04d4614b395e74e058b6b727f254612fa5d62d98
Doug Felt [Tue, 10 May 2016 21:24:34 +0000 (21:24 +0000)]
Merge "Remove rifle (1F946) from emoji font." into nyc-dev
Android Build Merger (Role) [Tue, 10 May 2016 21:22:56 +0000 (21:22 +0000)]
Merge "Updating redirects to correct Studio Tips and Tricks am:
8e2431513f am:
908a8703f0 am:
c712fdcc45" into nyc-dev
Mary Yanchar [Tue, 10 May 2016 21:22:33 +0000 (21:22 +0000)]
Updating redirects to correct Studio Tips and Tricks am:
8e2431513f am:
908a8703f0
am:
c712fdcc45
* commit '
c712fdcc4524face58cec7afd711a4d66db80e8d':
Updating redirects to correct Studio Tips and Tricks
Change-Id: Iecda302c587733e8cd8f741aa8af52cb1cf8975c
Mary Yanchar [Tue, 10 May 2016 21:19:54 +0000 (21:19 +0000)]
Updating redirects to correct Studio Tips and Tricks am:
8e2431513f
am:
908a8703f0
* commit '
908a8703f0119367255d1d1a184f2f9b9b9c074a':
Updating redirects to correct Studio Tips and Tricks
Change-Id: I4425c56a5e44b9c4426fab180ebcfbce702e660d
Keisuke Kuroyanagi [Tue, 10 May 2016 21:16:01 +0000 (21:16 +0000)]
Merge "Sum up character widths to get the last line width for ellipsis." into nyc-dev
Mary Yanchar [Tue, 10 May 2016 21:13:51 +0000 (21:13 +0000)]
Updating redirects to correct Studio Tips and Tricks
am:
8e2431513f
* commit '
8e2431513fbc32b64e240b9b39995b1217111bc6':
Updating redirects to correct Studio Tips and Tricks
Change-Id: I16c631bb7ec38fba7ba11132c85e90cb205ff26d
Selim Cinek [Tue, 10 May 2016 21:11:54 +0000 (17:11 -0400)]
Fixed a bug where the content wasn't transforming in a group
Too many booleans.
Change-Id: I1451484b1abcae3880448db60cff18ad97e9505f
Fixes:
28677158
Paul Crowley [Tue, 10 May 2016 21:07:57 +0000 (21:07 +0000)]
Merge "Revert "Two phases to set the password for disk encryption"" into nyc-dev
Adrian Roos [Thu, 5 May 2016 14:50:49 +0000 (10:50 -0400)]
Fix density change bugs in SystemUI
- Reinflate KeyguardUserSwitcher on density changes.
- Update size of UserAvatar on Keyguard.
- Fix brightness slider width in quick settings.
- Refetch and rescale user icons on density changes.
Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9
Fixes:
28535987
Fixes:
28454340
Winson [Tue, 10 May 2016 20:59:36 +0000 (13:59 -0700)]
Reducing the number of recent tasks we keep.
- This should decrease the time it takes to fetch the recent task list,
and also reduce the number of tasks we store on-disk.
- Since a user can still open a fair number of tasks within the
time-window, and this list includes tasks that are excluded from the
UI, we are just reducing it to about half for the time being.
Bug:
28318359
Change-Id: Ie21b3d3d09a567007015fbbecaf914123c71cc06
Antonio Cansado [Tue, 10 May 2016 20:58:32 +0000 (20:58 +0000)]
Merge "Addressing API council comments on NetworkStatsManager." into nyc-dev
Paul Crowley [Tue, 10 May 2016 20:36:56 +0000 (20:36 +0000)]
Revert "Two phases to set the password for disk encryption"
This reverts commit
17e5dce5112fece2d2b9cd070c2f96bf65108e40.
Bug:
28694324
Change-Id: I6d89bc26cb429b195c9bcf640666c495617257b7
Amith Yamasani [Tue, 10 May 2016 20:31:46 +0000 (20:31 +0000)]
Merge "Fix the issue that App crash on startForeground" into nyc-dev
Sudheer Shanka [Tue, 10 May 2016 20:28:35 +0000 (20:28 +0000)]
Merge "Update docs for DELETE_PACKAGES permission." into nyc-dev
Selim Cinek [Tue, 10 May 2016 19:50:53 +0000 (15:50 -0400)]
Fixed a bug where the positioning on the lockscreen was wrong
Because of a circular dependancy of calculating the notification
heights and setting them to GONE, the views could be laid out in a
wrong fashion. Another issue was that ambient notifications would
still be taken into account as well as removed notifications.
This also lead to a bug where the removal of notifications could
lead to unnecessary add animations when swiping them away.
Change-Id: If9ad81237a520b14dc6851df3af52406d192a7a7
Fixes:
28441832
Antonio Cansado [Wed, 30 Mar 2016 18:37:18 +0000 (11:37 -0700)]
Addressing API council comments on NetworkStatsManager.
Callbacks
- DataUsageCallback renamed to UsageCallback
- DataUsagePolicy removed; passing in params directly to register method
- making it an abstract class
- passing in (networkType, subscriberId) that reached its threshold
- renaming onLimitReached to onThresholdReached to match existing naming
- only monitor single network,subscriberId
- no monitoring of specific uids; using device or user wide instead
Tags
- only owner uid can read its tags
- exposing only TAG_NONE to match service side
BUG:
27530098
Change-Id: I2b2664da71806868a1e937d2bf4d1f234637509b
Phil Weaver [Tue, 10 May 2016 20:18:11 +0000 (20:18 +0000)]
Merge "Reduce cost of a11y services with magnification." into nyc-dev
Paul Crowley [Tue, 10 May 2016 20:12:40 +0000 (20:12 +0000)]
Merge "Hide notification before tie managed profile lock" into nyc-dev
Chong Zhang [Mon, 9 May 2016 19:47:11 +0000 (12:47 -0700)]
Fixes for restoring more than one child surfaces
App may have more than one windows and subwindows. Remember which ones
are visible at the last setAppVisibility time, and restore only those
that was visible then. If the app itself requested to hide a window
before that, we don't want to use the window for early animation.
Also move mAnimatingWithSavedSurface into WindowState as it needs to
be tracked per window.
bug:
27455025
bug:
28296945
Change-Id: I3ed1879634fa7709de699d4518d8fcfc91a85554
Mary Yanchar [Tue, 10 May 2016 19:58:42 +0000 (12:58 -0700)]
Updating redirects to correct Studio Tips and Tricks
Updating the _redirects.yaml to correct the Studio Tips and Tricks
redirect, to match the CL already submitted in Piper (
121956464).
Bug:
28680261
Change-Id: I7fc075d26061c37a7b2ba20d91b6deca4dae6557
Andreas Gampe [Tue, 10 May 2016 19:55:41 +0000 (19:55 +0000)]
Merge "Frameworks/base: Shorten system property" into nyc-dev
Andreas Gampe [Tue, 10 May 2016 19:51:45 +0000 (12:51 -0700)]
Frameworks/base: Shorten system property
Otherwise it's too long.
Bug:
26877591
Change-Id: I741186a9fbea6ee50df6cef58d528ec58662c772
Doug Felt [Tue, 10 May 2016 19:50:25 +0000 (12:50 -0700)]
Remove rifle (1F946) from emoji font.
Bug:
28678310
Change-Id: I60097cd78f28764d83abe0d12b53e2a7e6c974dc
TreeHugger Robot [Tue, 10 May 2016 19:47:40 +0000 (19:47 +0000)]
Merge "Don't even try adjusting when dock is minimized" into nyc-dev
Keisuke Kuroyanagi [Tue, 10 May 2016 19:21:33 +0000 (12:21 -0700)]
Sum up character widths to get the last line width for ellipsis.
To properly apply ellipsis, we virtually concatenate the last line and
overflowed lines after line breaking for a paragraph.
Previously, width of the concatenated line was computed by summing up all
line's width. However, the width is wrong when there are any trailing
white spaces that can be normal white spaces by concatenating lines.
With this CL, we sum up widths of all characters in lines except the last
overflowed line.
Bug:
28599066
Change-Id: I41d828ee8eb8a702cd5096d626b307cbb3467047
Amith Yamasani [Tue, 10 May 2016 18:44:12 +0000 (11:44 -0700)]
Fix multi-window assiststructure trashing
When multiple activities within the same process
try to handle requests for AssistStructure, the
singleton mLastAssistStructure tends to trash
the old structure when a second window's request
comes in.
This change passes in a sessionId so that the
cache is only cleared if the session id changes.
Bug:
28348867
Change-Id: I07efcd933db7e48aefd25a1c95493b71bbcffe4b
TreeHugger Robot [Tue, 10 May 2016 19:17:02 +0000 (19:17 +0000)]
Merge "Simplify permitted-path construction" into nyc-dev
Ricky Wai [Tue, 10 May 2016 19:11:59 +0000 (20:11 +0100)]
Hide notification before tie managed profile lock
We should hide the notification asap before setting
managed profile lock, to reduce the time that user is unlocked
while the notification is still showing.
Bug:
28689675
Change-Id: I289302302e3079726998adefebe2e8b113b2e52a
Svetoslav Ganov [Tue, 10 May 2016 18:52:15 +0000 (18:52 +0000)]
Merge "Don't throw runtime exceptions for permission flags" into nyc-dev
Cheryl Potter [Tue, 10 May 2016 18:37:18 +0000 (18:37 +0000)]
docs: Add redirects for deleted files on AS devsite b/
28679461 am:
bc753be9e3 am:
90f143e1f3
am:
9f2b8642a8
* commit '
9f2b8642a8d496cceb0e0ab3ed0f67ae7f357ae0':
docs: Add redirects for deleted files on AS devsite b/
28679461
Change-Id: I3a1ae7b5c76cb6395ea2bfbfe8cea223fecf653a
Cheryl Potter [Tue, 10 May 2016 18:34:39 +0000 (18:34 +0000)]
docs: Add redirects for deleted files on AS devsite b/
28679461 am:
bc753be9e3
am:
90f143e1f3
* commit '
90f143e1f384ae37878e46997e43b171384c421d':
docs: Add redirects for deleted files on AS devsite b/
28679461
Change-Id: I9e5c8225010dbfa631c6f51fad094def57e4db15
Cheryl Potter [Tue, 10 May 2016 18:32:01 +0000 (18:32 +0000)]
docs: Add redirects for deleted files on AS devsite b/
28679461
am:
bc753be9e3
* commit '
bc753be9e3838cedfb2b45ef2076cc71f2cbe9b5':
docs: Add redirects for deleted files on AS devsite b/
28679461
Change-Id: I196bb7059c78439d051a5e3e9daac0033e4c6595
Jorim Jaggi [Tue, 10 May 2016 01:44:34 +0000 (18:44 -0700)]
Don't even try adjusting when dock is minimized
Bug:
28652219
Change-Id: I61fa515ec945e1da6b9e7a53766abea2fb1e606e
Cheryl Potter [Tue, 10 May 2016 05:08:18 +0000 (22:08 -0700)]
docs: Add redirects for deleted files on AS devsite
b/
28679461
Change-Id: I825cf17a4065b1af67fa1792cf66e50c30208e17
Narayan Kamath [Tue, 10 May 2016 17:56:21 +0000 (17:56 +0000)]
Merge "Use MetricsLogger.histogram for optimizing app statistics." into nyc-dev
Chong Zhang [Tue, 10 May 2016 17:53:25 +0000 (17:53 +0000)]
Merge "Make sure preserved surface is removed when it's no longer needed" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 17:52:27 +0000 (17:52 +0000)]
Merge "Fixed logic error when calculating window touch exclude region." into nyc-dev
Dimitry Ivanov [Tue, 10 May 2016 17:51:40 +0000 (10:51 -0700)]
Simplify permitted-path construction
The white list of permitted directories is applied for every
classloader namespace by libnativeloader. LoadedApk no longer
needs to do that.
Add mDataDir to permitted paths in the case if for any reason
it is outside of the whitelisted dirs.
Bug: http://b/
28639227
Change-Id: I5b61ac64e281ecee3e3e9b1fe56cf04dc6ee7b25
TreeHugger Robot [Tue, 10 May 2016 17:41:58 +0000 (17:41 +0000)]
Merge "Keep RemoteInputView visible when focused" into nyc-dev
Benoit Lamarche [Tue, 10 May 2016 16:28:27 +0000 (16:28 +0000)]
Merge "Set jack.assert.policy value to 'always'" into nyc-dev
Wale Ogunwale [Tue, 10 May 2016 15:39:01 +0000 (08:39 -0700)]
Fixed logic error when calculating window touch exclude region.
Problem was introduced in ag/960365. We need to properly set the
temp variable to the current task bounds before trying to use it.
Bug:
26962445
Change-Id: I3cded03582e1379e16fa48f69da6ceadb92d8d4b
Svetoslav Ganov [Tue, 10 May 2016 03:43:52 +0000 (20:43 -0700)]
Don't throw runtime exceptions for permission flags
We were thrwing undocumented runtime exception when
one gets the permission flags - now we just return
default result of the package is gone.
bug:
28657926
Change-Id: I42554a86b9304ff83fe9385f3eea930b8ebf0c63
Jason Monk [Tue, 10 May 2016 15:26:35 +0000 (15:26 +0000)]
Merge "Fix accessibility order in nav bar" into nyc-dev
Jason Monk [Tue, 10 May 2016 15:02:24 +0000 (11:02 -0400)]
Fix accessibility order in nav bar
Change-Id: I2e90dee8e50b0642f39258fe3d04ded2f0bb8961
Fixes:
28281859
Ruben Brunk [Tue, 10 May 2016 14:54:44 +0000 (14:54 +0000)]
Merge "Set notification listener defaults for system VrListeners." into nyc-dev
Narayan Kamath [Tue, 10 May 2016 14:32:24 +0000 (15:32 +0100)]
Use MetricsLogger.histogram for optimizing app statistics.
bug:
28528058
bug:
28544474
Change-Id: Icbe26e9699eade08725e38914f07d7584e77b608
TreeHugger Robot [Tue, 10 May 2016 14:45:35 +0000 (14:45 +0000)]
Merge "Patrially revert
4ec026930bfbbb5d8923f359c8." into nyc-dev
Delphine Martin [Tue, 10 May 2016 13:41:34 +0000 (15:41 +0200)]
Set jack.assert.policy value to 'always'
The policy value 'enable' does not exist anymore
and was replaced by 'always'
Change-Id: I233a555821a84d917e3b3ec923b5baffc18bd2d2
Baligh Uddin [Tue, 10 May 2016 13:45:25 +0000 (13:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Narayan Kamath [Tue, 10 May 2016 13:24:45 +0000 (14:24 +0100)]
Patrially revert
4ec026930bfbbb5d8923f359c8.
In preparation for using MetricsLogger.histogram / count. The main
purpose of this change is to remove the (now bogus) action IDs
associated with this logging.
bug:
28528058
bug:
28544474
Change-Id: Id79de2d34c3f937a327ac21d44e55c18047bce85
TreeHugger Robot [Tue, 10 May 2016 12:09:25 +0000 (12:09 +0000)]
Merge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 09:35:50 +0000 (09:35 +0000)]
Merge "Add a command to print package dexopt status." into nyc-dev
Janis Danisevskis [Tue, 10 May 2016 09:12:48 +0000 (09:12 +0000)]
Merge "Updates training/camera/photobasics.jd with FileProvider details" into nyc-dev
Narayan Kamath [Mon, 2 May 2016 13:44:31 +0000 (14:44 +0100)]
Add a command to print package dexopt status.
Can be invoked like so :
$adb shell dumpsys package dexopt
$adb shell dumpsys package dexopt <packageName>
bug:
27494108
Change-Id: Ie91f744aeac772e0e22abc9c805df9290a4e2418
Guang Zhu [Tue, 10 May 2016 07:03:06 +0000 (07:03 +0000)]
Merge "Revert "Persist settings on a dedicated background thread"" into nyc-dev
Guang Zhu [Tue, 10 May 2016 07:02:42 +0000 (07:02 +0000)]
Revert "Persist settings on a dedicated background thread"
Bug:
25472484
This reverts commit
82b8c92b97d3c7006d7a9f67a9cdb83263d6bf2c.
Change-Id: I1a8c2e186ad74d78f1c82fe508c6f71c438177dc
Joe Fernandez [Tue, 10 May 2016 06:00:16 +0000 (06:00 +0000)]
docs: Wear F Preview page infrastructure am:
9ccfe2553b
am:
1b99b2ce92
* commit '
1b99b2ce927ec16ade8f05f607eb190dc91b2548':
docs: Wear F Preview page infrastructure
Change-Id: I2ac0d97023fad2c20f67f96d89921c19b7c72270
Joe Fernandez [Tue, 10 May 2016 05:54:38 +0000 (05:54 +0000)]
docs: Wear F Preview page infrastructure
am:
9ccfe2553b
* commit '
9ccfe2553bb0f2cf5ae6f493f12042cf9fa1eba2':
docs: Wear F Preview page infrastructure
Change-Id: I7665b4ecbd3c46a8ea7eb1a675933f43243911cc
Joe Fernandez [Sun, 10 Apr 2016 23:10:09 +0000 (16:10 -0700)]
docs: Wear F Preview page infrastructure
- add new landing page for F Preview
- add new supporting pages for F Preview
- Update TOC file to list new pages
b/
28004352
Change-Id: I3a4de8b3c756f1bbee91e136d67a413a5953277a
Andreas Gampe [Tue, 10 May 2016 04:15:12 +0000 (04:15 +0000)]
Merge "Frameworks/base: Make profile buffer adjustable" into nyc-dev
Andreas Gampe [Mon, 9 May 2016 21:26:07 +0000 (14:26 -0700)]
Frameworks/base: Make profile buffer adjustable
Add a debug system property to change the profile buffer size.
Bug:
26877591
Change-Id: Idd13f2bc6563fd88daadd1d6679f3243dab1a0ef
Svet Ganov [Mon, 9 May 2016 17:24:49 +0000 (10:24 -0700)]
Persist settings on a dedicated background thread
Settings were persisted on the system background thread but during
first boot the device is under heavy load and persisting settings
competes with other system components using the shared background
thread. As a result persisting settings can be delayed much longer
than the expected 200ms. This can cause issues with setup wizard
being skipped/went over and its component disaabled being persisted
but the setting whether the device is provisioned not being
persisted - now if the device boots it will have no SUW but also
the home button would be missing. Generally, we need a tansactional
abstraction in the system process to peform all delayed operations
atomically.
bug:
25472484
Change-Id: Icf38e72403b190a8fa9d0554b8dd83ce78da3bc8
TreeHugger Robot [Tue, 10 May 2016 03:31:32 +0000 (03:31 +0000)]
Merge "Remove replaced window if we aren't animating its exit." into nyc-dev
Selim Cinek [Tue, 10 May 2016 03:03:08 +0000 (03:03 +0000)]
Merge "Fixed a memory leak with notification children" into nyc-dev
Chong Zhang [Tue, 10 May 2016 01:28:27 +0000 (18:28 -0700)]
Make sure preserved surface is removed when it's no longer needed
Preserved surface might be used for format change as well as surface
size change outside a drag resizing. We currently remove the preserved
surface in prepareSurfaceLocked() after the window is shown, but
sometimes app gets stopped before any animation pass is run.
bug:
28546172
Change-Id: I7f883f4b5c6da4dce70f94173b368a912056d062
Selim Cinek [Tue, 10 May 2016 02:22:33 +0000 (22:22 -0400)]
Fixed a memory leak with notification children
Children where not removed from the stackscrollstate as
their removal was blocked when removing a group.
Change-Id: I0a3bbb91d0df2693e1ec7e89276c8714636a34ad
Fixes:
28670320
smain@google.com [Tue, 10 May 2016 01:48:11 +0000 (01:48 +0000)]
update the collections metadata for relocated studio pages. bug:
28632136 am:
8fb04c66c8 am:
6d18d5dc1f
am:
78ac696e6b
* commit '
78ac696e6b525b40d85c2699940da823198909ac':
update the collections metadata for relocated studio pages. bug:
28632136
Change-Id: I70e4f37404e639b8afd579dbea8aefb6f983ce50
smain@google.com [Tue, 10 May 2016 01:42:11 +0000 (01:42 +0000)]
update the collections metadata for relocated studio pages. bug:
28632136 am:
8fb04c66c8
am:
6d18d5dc1f
* commit '
6d18d5dc1f457661d798aef252391b67b71171f6':
update the collections metadata for relocated studio pages. bug:
28632136
Change-Id: I26feb5b6fc327378d32e878301fef95d32076902
smain@google.com [Tue, 10 May 2016 01:36:08 +0000 (01:36 +0000)]
update the collections metadata for relocated studio pages. bug:
28632136
am:
8fb04c66c8
* commit '
8fb04c66c8f51d39722a7b0be4f55812aac36270':
update the collections metadata for relocated studio pages. bug:
28632136
Change-Id: I606539247da364cf02ae9645e0b4ee7b5c7fbd77
TreeHugger Robot [Tue, 10 May 2016 01:23:35 +0000 (01:23 +0000)]
Merge "TIF: Handle possible memory leaks" into nyc-dev
smain@google.com [Mon, 9 May 2016 22:04:53 +0000 (15:04 -0700)]
update the collections metadata for relocated studio pages.
bug:
28632136
Change-Id: I3c858523751c8a58b8ad90c15ffd5400925ad4df
TreeHugger Robot [Tue, 10 May 2016 00:44:40 +0000 (00:44 +0000)]
Merge "Fixed bug with pop-up window placement at the bottom in split-screen" into nyc-dev
Carlos Valdivia [Tue, 10 May 2016 00:25:46 +0000 (00:25 +0000)]
Merge "[Security] Prevent malicious notifications from AMS." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 00:19:38 +0000 (00:19 +0000)]
Merge "Fix package cleanup when parsed APK missing." into nyc-dev
Selim Cinek [Mon, 9 May 2016 23:33:14 +0000 (23:33 +0000)]
Merge "Fixed an issue where clearing transient views could ANR" into nyc-dev
Ruben Brunk [Mon, 9 May 2016 19:46:28 +0000 (12:46 -0700)]
Set notification listener defaults for system VrListeners.
- For a package that has been enabled as a VrListenerService
and been preinstalled on the device's system image, enable
NotificationListenerServices by default for that package as
well.
- Use appops function instead of packagemanager for runtime
permissions.
Bug:
28614768
Change-Id: If88d47b666656a6e9567118626c1d9fa00280ec4
Adrian Roos [Thu, 5 May 2016 21:45:44 +0000 (17:45 -0400)]
Keep RemoteInputView visible when focused
Scrolls the NotificationStackScrollLayout in response to movement
to ensure that the focused view stays visible. Also makes sure that
the action list is always aligned at the bottom of the notification
to avoid jank during this scrolling when the height changes.
Fixes:
28193862
Fixes:
26919632
Change-Id: I911a873367fe26eafd9fae4bca4e693d0827eba7
Phil Weaver [Mon, 2 May 2016 16:39:07 +0000 (09:39 -0700)]
Reduce cost of a11y services with magnification.
Services that declare that they can control magnification,
but never actually make a change or register a listener
waste cycles as we compute magnification data they never use.
Avoid registering for magnification callbacks unless magnification
gestures are enabled, a service is listening for magnification
changes, or a service has changed magnification.
Bug:
28425922
Change-Id: I114a833669bd53b2cd757c94ea52b65a2f838a08
Selim Cinek [Mon, 9 May 2016 23:19:27 +0000 (23:19 +0000)]
Merge "Fixed a crash with min-priority notifications in a group" into nyc-dev
Selim Cinek [Mon, 9 May 2016 22:54:10 +0000 (18:54 -0400)]
Fixed an issue where clearing transient views could ANR
It could lead to an infinite loop because it was called on
the wrong view.
Change-Id: Ie8008114474eccf2c0a4b930a5299eb6be1247c1
Fixes:
28634521
Jeff Sharkey [Mon, 9 May 2016 22:51:08 +0000 (16:51 -0600)]
Fix package cleanup when parsed APK missing.
Recently the uninstall logic was changed to require a parsed APK to
succeed, but we need uninstall to succeed when the APK lives on an
ejected storage device.
To fix that case, create a fake parsed package with just enough
information for the delete to proceed.
Fix package movement bug that sent an invalid user ID to installd;
we need to explicitly ask for each user.
Bug:
28658206
Change-Id: Icf417661f07688c7523f0d082528adec2ac70cc6
Adam Powell [Mon, 9 May 2016 22:45:37 +0000 (15:45 -0700)]
Move Activity multi-window event logic out of the public methods
Move the logic for dispatching multi-window mode change events to
fragments and the activity window out of the public API onFoo methods
meant to be overridden by apps. This prevents problems if an extending
class forgets to call super.onFoo in these methods and removes the
need for doing so.
Bug
28667205
Change-Id: Ibf4c543e22b95753e1e4812bbd3e81f7648de54d
Youngsang Cho [Mon, 9 May 2016 22:30:43 +0000 (15:30 -0700)]
TIF: Handle possible memory leaks
Bug:
28656236
Change-Id: I162bb8ebc59be90ac1b1eb824c1db5aa9169c247
TreeHugger Robot [Mon, 9 May 2016 22:03:03 +0000 (22:03 +0000)]
Merge "Fix a couple bad links in the javadoc for android.os.health." into nyc-dev
Winson Chung [Mon, 9 May 2016 21:36:56 +0000 (21:36 +0000)]
Merge "Fixing regression in call to showRecents()." into nyc-dev
Paul Crowley [Mon, 9 May 2016 21:35:33 +0000 (21:35 +0000)]
Merge "Two phases to set the password for disk encryption" into nyc-dev
Chong Zhang [Mon, 9 May 2016 21:16:48 +0000 (21:16 +0000)]
Merge "Fix a flicker when opening app again quickly while it's exiting" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 21:03:59 +0000 (21:03 +0000)]
Merge "Workaround for assist crash with multiwindow" into nyc-dev
Selim Cinek [Mon, 9 May 2016 20:36:10 +0000 (16:36 -0400)]
Fixed a crash with min-priority notifications in a group
Those notifications could get into a group with higher priority
because they were autobundled or if the app said so.
This could lead to invisible views on the lockscreen and a crash
when this happened in an animated fashion.
The bug was triggering old code that wasn't needed anymore that
removed the viewstate.
Change-Id: Ic86c2f03d55f2e98e352cdbfbb3ca80d8e676765
Fixes:
28611831