OSDN Git Service
Winson Chung [Fri, 12 Feb 2016 00:29:42 +0000 (00:29 +0000)]
Merge changes If90955f4,I9fa48c06,Ib4681a43 into nyc-dev
* changes:
Adding view debug annotations to simplifying debugging state.
Disallow launching third party apps in safe mode.
Drawing thumbnail background color for empty space in view.
Tomasz Mikolajewski [Fri, 12 Feb 2016 00:26:44 +0000 (00:26 +0000)]
Merge "Fix arguments order in DocumentsContract.moveDocument()." into nyc-dev
Jae Seo [Fri, 12 Feb 2016 00:05:00 +0000 (00:05 +0000)]
Merge "TIF: Separate service connection errors from recording errors" into nyc-dev
Fyodor Kupolov [Fri, 12 Feb 2016 00:04:03 +0000 (00:04 +0000)]
Merge "During update enable system apps for requested users only" into nyc-dev
Jae Seo [Thu, 11 Feb 2016 08:59:10 +0000 (00:59 -0800)]
TIF: Separate service connection errors from recording errors
Also clarify the expected behaviors when an error has occurred in a
recording session.
Bug:
27110861
Change-Id: I811197e45ea94b1b0e151d534a1f030a84b89d10
Rob Carr [Thu, 11 Feb 2016 23:06:25 +0000 (23:06 +0000)]
Merge "Correct error in window lifetime." into nyc-dev
Shreyas Basarge [Thu, 11 Feb 2016 17:06:13 +0000 (17:06 +0000)]
Fix for JobScheduler dropping periodic jobs
Skip writing to disk when a periodic job is
removed from jobStore after it completes
execution.
Change-Id: Ib4f2cf18554bf9c87138c1984c96cc62f8dbf7e2
Bug:
27147454
John Reck [Thu, 11 Feb 2016 22:35:35 +0000 (22:35 +0000)]
Merge "Fix build" into nyc-dev
John Reck [Thu, 11 Feb 2016 22:35:08 +0000 (14:35 -0800)]
Fix build
Change-Id: Id793d3a824902ab794b5d5a4cdf4c77a72c52add
Ben Kwa [Thu, 11 Feb 2016 22:18:53 +0000 (22:18 +0000)]
Merge "Handle spacebar events." into nyc-dev
John Reck [Thu, 11 Feb 2016 22:05:14 +0000 (22:05 +0000)]
Merge "Fix bpp mismatch" into nyc-dev
Ben Kwa [Thu, 11 Feb 2016 21:29:12 +0000 (13:29 -0800)]
Handle spacebar events.
Space/Shift-space scrolls the files list up/down.
BUG=
25195555
This is a re-land of ag/864217.
Change-Id: I496d43d8a0c0833493ec2d5b36ecb7cbeb619853
John Reck [Thu, 11 Feb 2016 21:22:25 +0000 (13:22 -0800)]
Fix bpp mismatch
Bug:
26980851
GL_RGBA16F was being incorrectly calculated
as 4 bpp instead of 16 in Texture's objectSize(),
leading to a mismatch in cache size tracking
in GradientCache
Change-Id: I533c52fcdf9910d7a7d14bbd80965b8cbef8e147
Ben Kwa [Thu, 11 Feb 2016 21:20:07 +0000 (21:20 +0000)]
Merge "Revert "Handle spacebar events."" into nyc-dev
Ben Kwa [Thu, 11 Feb 2016 21:19:54 +0000 (21:19 +0000)]
Revert "Handle spacebar events."
This reverts commit
ef8eb5c9dd45cc94219d6e889d026f53ecc5c7e9.
Change-Id: I6c473d09eae8289da1deb86a8f043aa88de4c6f0
Ben Kwa [Wed, 10 Feb 2016 19:54:55 +0000 (11:54 -0800)]
Make left- and right- arrow jump rows in grid mode.
Like ChromeOS. Pressing left at the beginning of a row of files in grid
mode, will move focus up to the end of the preceding row. Analogous
behaviour for right-arrow at the end of a row.
BUG=
27127282
Change-Id: I3b36c1da6559aaf01558807913502f8ab87a9e6e
(cherry picked from commit
f55e5b714d4adc9f343ab7e691a6846ffa6cd7b1)
Ben Kwa [Thu, 11 Feb 2016 21:08:52 +0000 (21:08 +0000)]
Merge "Allow multiple range selections using the shift key." into nyc-dev
Ben Kwa [Thu, 11 Feb 2016 21:07:11 +0000 (21:07 +0000)]
Merge "Handle shift-enter key events." into nyc-dev
Ben Kwa [Thu, 11 Feb 2016 21:06:51 +0000 (21:06 +0000)]
Merge "Handle spacebar events." into nyc-dev
Lifu Tang [Thu, 11 Feb 2016 21:06:00 +0000 (21:06 +0000)]
Merge "Fixed the build break" into nyc-dev
Ben Kwa [Wed, 10 Feb 2016 22:01:19 +0000 (14:01 -0800)]
Allow multiple range selections using the shift key.
- Introduce an API on MultiSelectManager for starting/ending range
selections.
- Navigation with the shift key pressed extends the current range
selection (or starts a new one, if one isn't in progress).
- Navigation without the shift key pressed will end the current range
selection.
BUG=
27124371
Change-Id: Ieddf3ee816812bf5210463536fe63179ef1809ad
(cherry picked from commit
09792ef1506f4cbd944e16651508be435d92c5be)
Phil Weaver [Thu, 11 Feb 2016 20:58:30 +0000 (20:58 +0000)]
Merge "Fix ViewPager crash for a11y z order." into nyc-dev
Lifu Tang [Thu, 11 Feb 2016 20:57:59 +0000 (12:57 -0800)]
Fixed the build break
Change-Id: I02ee9b3f44d79510f174a1041f28b9c60450aa9c
Ben Kwa [Wed, 10 Feb 2016 16:57:25 +0000 (08:57 -0800)]
Handle shift-enter key events.
Shift-enter toggles selection on the focused item.
BUG=
25196158
Change-Id: I261c249cdf1856d134910a4767b0daf8963d5b68
(cherry picked from commit
e0e36df29484bf6b0b34fb958701ed7ddd96a40a)
Ben Kwa [Wed, 10 Feb 2016 16:58:48 +0000 (08:58 -0800)]
Handle spacebar events.
Space/Shift-space scrolls the files list up/down.
BUG=
25195555
Change-Id: Ib6351831db77a930920610106cc1da2b710532c6
(cherry picked from commit
870fea3b03d94335b9c7234103bde8fbf813743f)
Hall Liu [Thu, 11 Feb 2016 20:51:56 +0000 (20:51 +0000)]
Merge "Initialize MD5 in logging in background" into cw-e-dev am:
5839e7804c
am:
6579e696fc -s ours
* commit '
6579e696fce978987e819d964d0f36179c05d5e0':
Initialize MD5 in logging in background
Sergey Poromov [Thu, 11 Feb 2016 20:36:32 +0000 (20:36 +0000)]
Merge "Don't call BackupTransport#checkFullBackupSize when preflight timeouted." into nyc-dev
Lifu Tang [Thu, 11 Feb 2016 20:10:10 +0000 (20:10 +0000)]
Merge "Optimized the memory consumption and renamed PRN" into nyc-dev
Paul Stewart [Thu, 11 Feb 2016 20:07:26 +0000 (20:07 +0000)]
Merge "WifiManager: Return empty scan list on remote exception" into mm-wireless-dev
am:
4e9e3d02e0
* commit '
4e9e3d02e057ddccb95d5299e60ac02da7766024':
WifiManager: Return empty scan list on remote exception
Chong Zhang [Thu, 11 Feb 2016 20:05:58 +0000 (20:05 +0000)]
Merge "Mark activity as visible and not stopped after resume-relaunch." into nyc-dev
Winson [Tue, 9 Feb 2016 20:31:00 +0000 (12:31 -0800)]
Adding view debug annotations to simplifying debugging state.
Change-Id: If90955f44be55ff09208998214bc1bb47f93a872
Paul Stewart [Thu, 11 Feb 2016 20:01:18 +0000 (20:01 +0000)]
Merge "WifiManager: Return empty scan list on remote exception" into mm-wireless-dev
Chong Zhang [Thu, 11 Feb 2016 02:47:06 +0000 (18:47 -0800)]
Mark activity as visible and not stopped after resume-relaunch.
After a resume-relaunch, the activity is assumed to be in resumed state,
and we'll not run the normal code for resume. But it needs to be marked
visible otherwise it will stuck in invisible state.
Also trade some AM traces for WM traces for further debugging.
bug:
27123118
Change-Id: I50ce5cde29f441115675db54523090ef86d95ea8
Winson [Tue, 9 Feb 2016 19:53:27 +0000 (11:53 -0800)]
Disallow launching third party apps in safe mode.
- Also desaturates out the disabled task
Bug:
25785926
Change-Id: I9fa48c062cfaf6d9cb60a9e49291ca6e15c6b343
Winson Chung [Fri, 5 Feb 2016 17:55:56 +0000 (17:55 +0000)]
Drawing thumbnail background color for empty space in view.
Change-Id: I2e8dfbe9c11a61876956658eff0674adb26d855d
Signed-off-by: Winson <winsonc@google.com>
Makoto Onuki [Thu, 11 Feb 2016 19:42:53 +0000 (19:42 +0000)]
Merge "If package has no active admins, just uninstall right away" into nyc-dev
Robert Carr [Thu, 11 Feb 2016 05:20:21 +0000 (21:20 -0800)]
Correct error in window lifetime.
Correct a simple logic error where application stop state is incorrectly
reset.
Bug:
27112965
Change-Id: I3058378c1e240e0a02665ad479678723e14921aa
Selim Cinek [Thu, 11 Feb 2016 19:37:49 +0000 (19:37 +0000)]
Merge "Added support for media notifications without expanded state" into nyc-dev
Lifu Tang [Mon, 8 Feb 2016 02:08:19 +0000 (18:08 -0800)]
Optimized the memory consumption and renamed PRN
Bug:
27058251
Change-Id: I2309943b1a4e7565868ed0f247b84edc631fbd59
Kenny Guy [Thu, 11 Feb 2016 19:27:21 +0000 (19:27 +0000)]
Merge "DPMS shouldn't remove admins that aren't crypto aware." into nyc-dev
Paul Stewart [Thu, 11 Feb 2016 19:08:24 +0000 (11:08 -0800)]
WifiManager: Return empty scan list on remote exception
In the (hopefully rare) situation where there is a remote exception
from a call to getScanResults(), do not pass null back to callers.
Nobody expects this, and failures that occur as a result can distract
from the real problem (e.g., the system server crashing). This CL
now returns an empty list.
BUG=
27139097
TEST=None
Change-Id: I637eae1fa8ac1a1bc2b76dea8628359b5dec06e1
Wale Ogunwale [Thu, 11 Feb 2016 18:55:49 +0000 (18:55 +0000)]
Merge "Force pre-N apps to be resizeable." into nyc-dev
Jeremy Joslin [Thu, 11 Feb 2016 18:55:37 +0000 (18:55 +0000)]
Merge "Send explicit broadcasts when the scorer changes." into nyc-dev
Andrei Stingaceanu [Thu, 11 Feb 2016 18:47:59 +0000 (18:47 +0000)]
Merge "Suspend apps - disable audio/vibrations" into nyc-dev
Hall Liu [Fri, 8 Jan 2016 01:35:54 +0000 (17:35 -0800)]
Initialize MD5 in logging in background
Use a background task to call MessageDigest.getInstance in order to
avoid a possible disk read on initialization.
Bug:
26069217
Change-Id: I0091ce012bcd811dfca0e85c21a12c54913ed919
Raph Levien [Thu, 11 Feb 2016 18:35:35 +0000 (18:35 +0000)]
Merge "Allow null string to BidiFormatter#unicodeWrap" into nyc-dev
Hall Liu [Thu, 11 Feb 2016 18:16:08 +0000 (18:16 +0000)]
Merge "Initialize MD5 in logging in background" into cw-e-dev
am:
5839e7804c
* commit '
5839e7804c717f3b398fd777540e2297e8c85300':
Initialize MD5 in logging in background
Gustav Sennton [Thu, 11 Feb 2016 18:14:45 +0000 (18:14 +0000)]
Merge "Allow using USER_ALL as user id when killing package dependents." into nyc-dev
Hall Liu [Thu, 11 Feb 2016 18:10:31 +0000 (18:10 +0000)]
Merge "Initialize MD5 in logging in background" into cw-e-dev
Kenny Guy [Thu, 11 Feb 2016 17:11:14 +0000 (17:11 +0000)]
DPMS shouldn't remove admins that aren't crypto aware.
DevicePolicyManagerService checks admins on boot
and removes ones that aren't found so it needs
to match crypto and non-crypto admins.
Match non-crypto aware apps when admin is enabling
system apps.
Bug:
27126412
Change-Id: Ibb20841679fb660de281782964b068d5a13b8fe9
Philipp Weiß [Thu, 11 Feb 2016 17:17:38 +0000 (17:17 +0000)]
Merge "DPM.createAndManageUser should work even with DISALLOW_ADD_USER set" into nyc-dev
Andrei Stingaceanu [Thu, 11 Feb 2016 16:23:49 +0000 (16:23 +0000)]
Suspend apps - disable audio/vibrations
Do not allow audio or vibrations for suspended apps.
Bug:
22776761
Bug:
26949521
Bug:
26954754
Bug:
26953560
Change-Id: I181288823e38efdb1631bc26ee23278697eeb0f5
Jerome Gaillard [Thu, 11 Feb 2016 17:12:08 +0000 (17:12 +0000)]
Merge branch 'nyc-dev' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev
Jerome Gaillard [Thu, 11 Feb 2016 17:11:33 +0000 (17:11 +0000)]
Layoutlib supports rounded corners of different sizes am:
3381cde9f2
am:
6f35d2c6ea
* commit '
6f35d2c6ea1d18decd6b646035fd02fd5b1f0256':
Layoutlib supports rounded corners of different sizes
Przemyslaw Szczepaniak [Thu, 11 Feb 2016 17:10:55 +0000 (17:10 +0000)]
Merge "Remove java.nio.channels.* classes without test coverage." into nyc-dev
Shreyas Basarge [Thu, 11 Feb 2016 17:09:29 +0000 (17:09 +0000)]
Merge "Fix ConcurrentModificationException in SyncManager" into nyc-dev
John Reck [Thu, 11 Feb 2016 17:02:47 +0000 (17:02 +0000)]
Merge "Revert "VectorDrawable native rendering - Step 5 of MANY"" into nyc-dev
John Reck [Thu, 11 Feb 2016 17:02:33 +0000 (17:02 +0000)]
Revert "VectorDrawable native rendering - Step 5 of MANY"
Bug:
27136799
This reverts commit
18bdf443e371e9f293439b4ff92cc79abaa422e5.
Change-Id: I825b061eec2a591f2d18119ba64494624b9ad4f2
Jerome Gaillard [Thu, 11 Feb 2016 16:57:48 +0000 (16:57 +0000)]
Layoutlib supports rounded corners of different sizes
am:
3381cde9f2
* commit '
3381cde9f293c52f195b31b0e4049649db31181a':
Layoutlib supports rounded corners of different sizes
Shreyas Basarge [Thu, 11 Feb 2016 14:52:47 +0000 (14:52 +0000)]
Fix ConcurrentModificationException in SyncManager
ConcurrentModificationException would be thrown because
we didn't break from the for loop after removing an
entry from the collection we were looping over.
Change-Id: I30435670f76f60b238e29658611b06ec789219aa
Bug:
27136502
(cherry picked from commit
12832e3291a66bcab12edd5943767c7827c3f7c6)
Jason Monk [Thu, 11 Feb 2016 16:41:24 +0000 (16:41 +0000)]
Merge "Guard against monkey crash" into nyc-dev
Jason Monk [Thu, 11 Feb 2016 16:37:24 +0000 (11:37 -0500)]
Guard against monkey crash
Bug:
27099281
Change-Id: I58951ee7ff5f14f5c2d60e450ed3b0fa7bf31e8e
Andreas Gampe [Thu, 11 Feb 2016 16:26:18 +0000 (16:26 +0000)]
Merge "Frameworks/base: Fix LineBreakBufferedWriter" into nyc-dev
Jeremy Joslin [Thu, 11 Feb 2016 15:59:36 +0000 (15:59 +0000)]
Merge "New systemapi to mark a wifi network as metered." into mm-wireless-dev
am:
3d4acbf5fb
* commit '
3d4acbf5fbe74133b70b0bec51a387428f251ac1':
New systemapi to mark a wifi network as metered.
Seigo Nonaka [Fri, 29 Jan 2016 06:45:36 +0000 (15:45 +0900)]
Introduce dimension of text edit related floating window.
This is a follow up CL of I5a9bcbe29400d6193eb0532a5e711a78a12383cd.
Floating toolbar and suggestion window has a same elevation and
layout_margin. Introduce dimension value for elevation and
layout_margin and refer them.
Bug:
15347319
Change-Id: I6c635398241b60415437707285faeac76a1a4b6d
(cherry picked from commit
eee8941e52042ff8a9be1b20f91c8c5045aa3b83)
Przemyslaw Szczepaniak [Thu, 11 Feb 2016 15:44:34 +0000 (15:44 +0000)]
Remove java.nio.channels.* classes without test coverage.
Removed classes come from openJdk 1.7 and were never
implemented before. We lack a testing suite to verify that
they are working correctly. Those clasess might by
re-added in further releases
Bug:
27117463
Change-Id: Ia7554a9182507b9fa1c1b6db9573ab68cb641f36
(cherry picked from commit
5fbc42d6a2baae747ddf660d5e64bc82b1795d4e)
Jeremy Joslin [Wed, 10 Feb 2016 15:31:33 +0000 (07:31 -0800)]
Send explicit broadcasts when the scorer changes.
When the scorer is changed send a targeted broadcast to the previous
scorer (if any) and then a targeted broadcast to the new scorer.
BUG:
26815773
Change-Id: If28414f4373a531b10f581ecd096cbc27a7318a4
David Brazdil [Thu, 11 Feb 2016 15:08:37 +0000 (15:08 +0000)]
Merge "Address minor comments after go/ag/858723" into nyc-dev
David Brazdil [Thu, 11 Feb 2016 13:36:07 +0000 (13:36 +0000)]
Address minor comments after go/ag/858723
Change-Id: I549bd3290ae47d46b2ef10553466db2c29296ee9
Jeremy Joslin [Thu, 11 Feb 2016 15:03:52 +0000 (15:03 +0000)]
Merge "New systemapi to mark a wifi network as metered." into mm-wireless-dev
Ben Kwa [Wed, 10 Feb 2016 15:46:35 +0000 (07:46 -0800)]
Introduce ChromeOS-style keyboard navigation.
- Turn the DirectoryFragment (DF) and the RootsFragment (RF) into
top-level views, and allow switching between them via the tab key.
- Disallow arrow-key navigation from switching the user between the
DF and RF.
- When nothing is explicitly focused, make navigation keys focus the
DF. This makes it so that if a user opens DocumentsUI and just starts
pressing arrow keys, they'll navigate in the directory listing.
- When restoring focus on the DF and RF, remember the last thing that
was focused, and restore focus on that thing.
BUG=
25195767
BUG=
25121367
Change-Id: I00e20cbdbe9edfe269fb356440a93ef5d67c5298
(cherry picked from commit
1c9f9222e56482682461013b703590c5c9471018)
phweiss [Wed, 10 Feb 2016 11:57:38 +0000 (12:57 +0100)]
DPM.createAndManageUser should work even with DISALLOW_ADD_USER set
For this, the DPM calls a new function
UserManagerInternal.createUserEvenWhenDisallowed() instead of
UserManager.createUser(). This calls
UserManagerService.createUserInternalUnchecked().
Also, only the system user is allowed to call this method, otherwise
a security exception is thrown.
Bug:
26952210
Bug:
26786199
Change-Id: I69c16354898d68592d13f5f53b840551f7ad4779
Erik Kline [Thu, 11 Feb 2016 13:27:27 +0000 (13:27 +0000)]
Use IpManager.ifname as the tag in log messages.
am:
ef1f39abff
* commit '
ef1f39abff088789853e8747418310534cf2127e':
Use IpManager.ifname as the tag in log messages.
Sergey Poromov [Wed, 10 Feb 2016 20:45:54 +0000 (21:45 +0100)]
Don't call BackupTransport#checkFullBackupSize when preflight timeouted.
mResult in SinglePackageBackupPreflight could be set
to a negative value if preflight timeouted.
Together with ag/863259 this change will better handle this case.
Bug:
26818914
Change-Id: I171bf95f146552b3b50f044964c2b041f6303d90
(cherry picked from commit
a235f7e4e046b1a69af988240ff5f0dd46f3b5f9)
Wale Ogunwale [Thu, 11 Feb 2016 03:24:49 +0000 (19:24 -0800)]
Force pre-N apps to be resizeable.
We feel this experience is better than the 2-finger gesture.
Added ActivityInfo.RESIZE_MODE_FORCE_RESIZEABLE resizeMode
to indicate we are force resizing an app.
Bug:
27132829
Bug:
26847884
Change-Id: I65db2de0d9f3f171cc3bb136cc1282b3ef3549b0
Jerome Gaillard [Fri, 5 Feb 2016 01:53:25 +0000 (19:53 -0600)]
Layoutlib supports rounded corners of different sizes
Bug: http://b.android.com/29098
Change-Id: I4e7dc3810559b509baf5ea306221c1d2504be0e1
David Brazdil [Thu, 4 Feb 2016 11:54:17 +0000 (11:54 +0000)]
Apply 'used in last 7 days' filter to OTA package extraction
Bug:
26813999
Change-Id: I5f1eddb1d5e9f0bbaab62d86e6ccf3cc097c4edb
(cherry picked from commit
e292175fbd495a63b48560439d2a84b239f91e18)
Daniel U [Fri, 29 Jan 2016 16:58:36 +0000 (16:58 +0000)]
Tweak toHtml() paragraph conversion behavior
For mode TO_HTML_PARAGRAPH_LINES_INDIVIDUAL:
1) Empty line outputs <br> instead of <p><br></p>
2) A <ul> element is closed if it is followed by a <br>
3) Explicit zero vertical margin is applied to <ul> instead of <li>'s
4) More deterministic way to encode AlignmentSpans: only spans with
SPAN_PARAGRAPH flag is used. If multiple spans exist, the last one
(which is added most recently) is used.
BUG:
26224878
Change-Id: I86a2aeced9965ae465daac1ace64e5e41cf45caf
Erik Kline [Thu, 11 Feb 2016 08:47:39 +0000 (17:47 +0900)]
Use IpManager.ifname as the tag in log messages.
Bug:
26991160
Change-Id: Idc9231819298b65da3cc3baa88f1f0cd18ab6df7
Daniel U [Thu, 11 Feb 2016 11:54:31 +0000 (11:54 +0000)]
Merge "Handle <span>, <ul>, and <li> tags in fromHtml()" into nyc-dev
Michal Karpinski [Tue, 9 Feb 2016 15:43:41 +0000 (15:43 +0000)]
Log strength of auth method used into security log
As approved by Android Security team, added logging of
strength of auth method as well as logging of fingerprint
keyguard actions.
Bug:
26841997
Change-Id: Ic8e3f125f775a7585fe56003f4c6442390edea61
Przemyslaw Szczepaniak [Thu, 11 Feb 2016 10:23:38 +0000 (10:23 +0000)]
Merge "SocketImpl#getFileDescriptor shouldn't be public" into nyc-dev
Przemyslaw Szczepaniak [Mon, 8 Feb 2016 16:54:35 +0000 (16:54 +0000)]
SocketImpl#getFileDescriptor shouldn't be public
It's protected, as it was before openJdk switch. Added
hidden public method getFD$ for tests.
Bug:
26689841
Change-Id: I18f53356a108c1f7e0525c6f2f8130eac173e81e
(cherry picked from commit
ce41c4ee22dbf4d53c2ba5a21a63a0a3081bd732)
Przemyslaw Szczepaniak [Mon, 8 Feb 2016 14:55:15 +0000 (14:55 +0000)]
Remove public InetAddress#getAddressInternal()
This method shouldn't be public + can be replaced by
the #getAddress method
Bug:
26689841
Change-Id: Ic0f9e0b03979d141c5648772ad94ba2c651ba6e7
(cherry picked from commit
1f3148c27db5f80c50cf326cc898387ba9d00b9a)
Selim Cinek [Thu, 11 Feb 2016 04:45:48 +0000 (04:45 +0000)]
Merge "Notifications now support runtime density changes" into nyc-dev
Selim Cinek [Thu, 11 Feb 2016 00:24:21 +0000 (16:24 -0800)]
Added support for media notifications without expanded state
Bug:
26837953
Change-Id: I9fcf56013c44a2420367ef0a908dc45992c8a766
Selim Cinek [Wed, 10 Feb 2016 03:25:31 +0000 (19:25 -0800)]
Notifications now support runtime density changes
We reinflate notifications whenever the density or the
font size changes.
Bug:
25613008
Change-Id: I61d48e477b1865e2124d055e537a592aceb667f2
Selim Cinek [Thu, 11 Feb 2016 03:41:37 +0000 (03:41 +0000)]
Merge "Improved the heads up logic to launch fullscreen intents less" into nyc-dev
Wale Ogunwale [Thu, 11 Feb 2016 03:31:01 +0000 (03:31 +0000)]
Merge "Fixed permission issue with AM.setFocusedStack/Task APIs" into nyc-dev
Wale Ogunwale [Thu, 11 Feb 2016 02:37:26 +0000 (18:37 -0800)]
Fixed permission issue with AM.setFocusedStack/Task APIs
- Check for MANAGE_ACTIVITY_STACKS permission when AM.setFocusedStack
or AM.setFocusedTask is called.
- Clear calling identity when AM.setFocusedStack is called.
Bug:
27135250
Change-Id: Ib082bc6cd03411c4cbf741e5bdcec54679441eff
Jae Seo [Thu, 11 Feb 2016 02:22:39 +0000 (02:22 +0000)]
Merge "TIF: Add Active Format Description to TvTrackInfo" into nyc-dev
Jorim Jaggi [Wed, 10 Feb 2016 06:25:16 +0000 (22:25 -0800)]
Do not ensure visibility when just resizing
No need to ensure the visibilities of activities if only the
bounds change. If we resize the docked stack to fullscreen this
method still gets called.
This makes multi-window dogfoodable again with all that DEBUG
churn we have enabled, but also helps performance in general
when the history is quite big.
Bug:
25015474
Change-Id: I9ae0281392353e6c01563d021bca7dc23125b14f
Jeremy Joslin [Wed, 10 Feb 2016 18:09:29 +0000 (10:09 -0800)]
New systemapi to mark a wifi network as metered.
The implementation will come after the wifi code base has stablized.
BUG:
27120794
Change-Id: I6a8140dae45dcd7ec70ac0c51b9513b907a41b63
Doris Liu [Tue, 2 Feb 2016 22:14:04 +0000 (14:14 -0800)]
VectorDrawable native rendering - Step 5 of MANY
Implemented reset() (public API for AVD)
and reverse() (internal API that needs to be supported)
Change-Id: Ife1650049f271cad1347943151a5800c40c20aa2
Raph Levien [Thu, 11 Feb 2016 00:56:26 +0000 (16:56 -0800)]
Allow null string to BidiFormatter#unicodeWrap
The BidiFormatter#unicodeWrap() methods allow null string, but the
toString() call on the result in the refactored code was crashing.
Also adds @Nullable annotations.
Bug:
27124532
Change-Id: I25922d104587af4a850c3640987af9315c3d3bde
Jeff Davidson [Thu, 11 Feb 2016 00:52:01 +0000 (00:52 +0000)]
Merge "Expose APIs to analyze UIDs in UserHandle/Process." into nyc-dev
John Reck [Thu, 11 Feb 2016 00:08:08 +0000 (16:08 -0800)]
Fix all LA memory leaks forever!
Bug:
27072626
Or at least fix this one and make it harder to leak
going forward. static_asserts are cool, use them liberally
Also makes allocation via LA (slightly) faster by fixing create*
variants to use rvalue references & std::forward, preventing
an accidental pass-by-value
Change-Id: I18fd696a93dd6ea49c8d8c587d4c8bee56dbfdf5
John Reck [Thu, 11 Feb 2016 00:41:45 +0000 (00:41 +0000)]
Merge "Revert "Fix all LA memory leaks forever!"" into nyc-dev
Makoto Onuki [Thu, 11 Feb 2016 00:35:08 +0000 (16:35 -0800)]
If package has no active admins, just uninstall right away
Also fix the bug where removeAdminArtifacts() is called
for all active admins on the target user.
Bug
27107878
Change-Id: I6edbdadffe8c75628539976d304e39d6abed73a4
John Reck [Thu, 11 Feb 2016 00:36:34 +0000 (00:36 +0000)]
Revert "Fix all LA memory leaks forever!"
This reverts commit
499d83f21e7ffb687788bba1668b05fe38f6ebaf.
Change-Id: Ia893ae16ebbeae68e49cd13a20587104b73d39a0