OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix bytesPerPixel for SurfaceTexture" into nyc-dev
John Reck [Fri, 12 Feb 2016 16:11:30 +0000 (16:11 +0000)]
Merge "Fix bytesPerPixel for SurfaceTexture" into nyc-dev

8 years agoFix bytesPerPixel for SurfaceTexture
John Reck [Fri, 12 Feb 2016 16:08:29 +0000 (08:08 -0800)]
Fix bytesPerPixel for SurfaceTexture

Bug: 27158985
Change-Id: I148a86d76314681eb778292dd0eb64503375f328

8 years agoMerge "Track libcore change 9fbdd1b27de1a3d1005468108." into nyc-dev
Narayan Kamath [Fri, 12 Feb 2016 15:41:31 +0000 (15:41 +0000)]
Merge "Track libcore change 9fbdd1b27de1a3d1005468108." into nyc-dev

8 years agoMerge "Use long for preflight check size in BackupManagerService." into nyc-dev
Sergey Poromov [Fri, 12 Feb 2016 15:05:59 +0000 (15:05 +0000)]
Merge "Use long for preflight check size in BackupManagerService." into nyc-dev

8 years agoMerge "Support FBE for managed profiles." into nyc-dev
Kenny Guy [Fri, 12 Feb 2016 15:01:34 +0000 (15:01 +0000)]
Merge "Support FBE for managed profiles." into nyc-dev

8 years agoMerge "Maintain mSetupCompletedUsers for profiles correctly" into nyc-dev
Rubin Xu [Fri, 12 Feb 2016 14:40:10 +0000 (14:40 +0000)]
Merge "Maintain mSetupCompletedUsers for profiles correctly" into nyc-dev

8 years agoSupport FBE for managed profiles.
Kenny Guy [Tue, 9 Feb 2016 16:02:35 +0000 (16:02 +0000)]
Support FBE for managed profiles.

Allow launcher to see and attempt to launch non-crypto
aware application when profile is locked.
Hide unlock notification until parent user is unlocked.
Have unlock notitication use confirm credentials to unlock
the profile.
Updated notification strings as per suggestions in mocks
to make it clearer between users and profiles.

Bug: 27038260

Change-Id: If2d2c8148670d814544f4edd44193d15da32a289

8 years agoMaintain mSetupCompletedUsers for profiles correctly
Rubin Xu [Fri, 12 Feb 2016 13:47:04 +0000 (13:47 +0000)]
Maintain mSetupCompletedUsers for profiles correctly

When listening for USER_SETUP_COMPLETE changes, refresh the state for
the affected user instead of the current foreground user which excludes
the active managed profile.

Bug: 27061092
Change-Id: Iae525464d3d3faab9afb76aaf4304b9f10382e01

8 years agoMerge "Add support for current failed lock attempts and max attempts" into nyc-dev
Clara Bayarri [Fri, 12 Feb 2016 13:54:09 +0000 (13:54 +0000)]
Merge "Add support for current failed lock attempts and max attempts" into nyc-dev

8 years agoAdd support for current failed lock attempts and max attempts
Clara Bayarri [Thu, 11 Feb 2016 17:48:53 +0000 (17:48 +0000)]
Add support for current failed lock attempts and max attempts

This is needed from Settings to show a message informing the user
of the number of attempts before their work profile gets wiped
when using ConfirmDeviceCredentials.

Bug: 26677759
Change-Id: I4b16f7dc2f415d0ce0215a3b7a646f98fabece33

8 years agoMerge "Update HWUI makefiles to support use by other targets (e.g. Skia)" into nyc-dev
Derek Sollenberger [Fri, 12 Feb 2016 13:40:42 +0000 (13:40 +0000)]
Merge "Update HWUI makefiles to support use by other targets (e.g. Skia)" into nyc-dev

8 years agoMerge "Fix testApplicationRestrictionsManagingApp unit test" into nyc-dev
Rubin Xu [Fri, 12 Feb 2016 11:53:44 +0000 (11:53 +0000)]
Merge "Fix testApplicationRestrictionsManagingApp unit test" into nyc-dev

8 years agoTrack libcore change 9fbdd1b27de1a3d1005468108.
Narayan Kamath [Fri, 12 Feb 2016 11:48:19 +0000 (11:48 +0000)]
Track libcore change 9fbdd1b27de1a3d1005468108.

bug: 26689841
Change-Id: I3a0e5d3ab1ada313d73514913990a2aa19ad5b8f

8 years agoMerge "Adopt HTML/CSS color values in fromHtml()" into nyc-dev
Daniel U [Fri, 12 Feb 2016 11:24:55 +0000 (11:24 +0000)]
Merge "Adopt HTML/CSS color values in fromHtml()" into nyc-dev

8 years agoMerge "Remove higher speech rate settings." into nyc-dev
Shweta Chahar [Fri, 12 Feb 2016 11:18:33 +0000 (11:18 +0000)]
Merge "Remove higher speech rate settings." into nyc-dev

8 years agoresolve merge conflicts of 3b74289fdf to nyc-dev
Erik Kline [Fri, 12 Feb 2016 11:01:48 +0000 (20:01 +0900)]
resolve merge conflicts of 3b74289fdf to nyc-dev

Change-Id: Ib41c75bf44bdafbe57532717e8f41a4ed545d29c

8 years agoMerge "Duplicate DhcpStateMachine public constants into DhcpClient" into nyc-dev
Erik Kline [Fri, 12 Feb 2016 10:51:53 +0000 (10:51 +0000)]
Merge "Duplicate DhcpStateMachine public constants into DhcpClient" into nyc-dev

8 years agoMerge "Move current WebView provider from Settings.Secure to Settings.Global" into...
Gustav Sennton [Fri, 12 Feb 2016 10:35:23 +0000 (10:35 +0000)]
Merge "Move current WebView provider from Settings.Secure to Settings.Global" into nyc-dev

8 years agoDuplicate DhcpStateMachine public constants into DhcpClient
Erik Kline [Thu, 11 Feb 2016 15:17:02 +0000 (00:17 +0900)]
Duplicate DhcpStateMachine public constants into DhcpClient

This is so we can ultimately delete DhcpStateMachine altogether.

Bug: 24837343
Bug: 26991160
Change-Id: If116639e5f72c97cfc67f748dc5f6433dccd9cf0

8 years agoDuplicate DhcpStateMachine public constants into DhcpClient
Erik Kline [Thu, 11 Feb 2016 15:17:02 +0000 (00:17 +0900)]
Duplicate DhcpStateMachine public constants into DhcpClient

This is so we can ultimately delete DhcpStateMachine altogether.

Bug: 24837343
Bug: 26991160
Change-Id: If116639e5f72c97cfc67f748dc5f6433dccd9cf0

8 years agoMerge "AudioTrack: fix docs for return code for setBufferSizeInFrames()" into nyc-dev
Phil Burk [Fri, 12 Feb 2016 06:32:13 +0000 (06:32 +0000)]
Merge "AudioTrack: fix docs for return code for setBufferSizeInFrames()" into nyc-dev

8 years agoMerge "Fix locale matching algorithm for resources" into nyc-dev
Roozbeh Pournader [Fri, 12 Feb 2016 05:19:36 +0000 (05:19 +0000)]
Merge "Fix locale matching algorithm for resources" into nyc-dev

8 years agoFix locale matching algorithm for resources
Roozbeh Pournader [Fri, 12 Feb 2016 01:58:24 +0000 (17:58 -0800)]
Fix locale matching algorithm for resources

We get ResTables two different ways: one is from AAPT, another from
settings-based requests from the Java side. In the settings-based
requests, localeScript will be autocomputed, but for AAPT-filled
tables (especially if they come from older versions of AAPT), we need
to compute the script.

Previously, locales that came from packages were incorrectly assumed
to have "undeterminable" scripts, rather than "undetermined" scripts.
This led to us mistakenly falling back to the old logic of requiring
the locales' countries to match, rather than just looking at computed
scripts.

Bug: 27157452

Change-Id: Id7e346d3ecfb17273ffb63de5bcb4849a6eafbbd

8 years agoDo not show directory change animation on screen rotation.
Tomasz Mikolajewski [Tue, 9 Feb 2016 10:48:49 +0000 (19:48 +0900)]
Do not show directory change animation on screen rotation.

When more than one level deep directory is opened.

Bug: 27090439
Change-Id: I73e789a820af3b710f0981ac12f5ea43cc389cf6
(cherry picked from commit f908640fd07b4734b8ef235ed2849ea20c55acab)

8 years agoMerge "IMS RAT Reporting in Registration Unsol" into mm-wireless-dev
Tyler Gunn [Fri, 12 Feb 2016 03:45:32 +0000 (03:45 +0000)]
Merge "IMS RAT Reporting in Registration Unsol" into mm-wireless-dev
am: 989594638a

* commit '989594638ad2aa7360cf39b5ea67c137a9078c86':
  IMS RAT Reporting in Registration Unsol

8 years agoMerge "IMS RAT Reporting in Registration Unsol" into mm-wireless-dev
Tyler Gunn [Fri, 12 Feb 2016 03:40:08 +0000 (03:40 +0000)]
Merge "IMS RAT Reporting in Registration Unsol" into mm-wireless-dev

8 years agoFix NullPointerException
Jorim Jaggi [Fri, 12 Feb 2016 03:18:47 +0000 (19:18 -0800)]
Fix NullPointerException

Change-Id: Ifce7af5ac6aacc04fb621f3afd707164f36ba980

8 years agoMerge "Handle light status bar for split-screen" into nyc-dev
Jorim Jaggi [Fri, 12 Feb 2016 03:12:17 +0000 (03:12 +0000)]
Merge "Handle light status bar for split-screen" into nyc-dev

8 years agoMerge "Add error message for locked device." into nyc-dev
Daichi Hirono [Fri, 12 Feb 2016 02:51:16 +0000 (02:51 +0000)]
Merge "Add error message for locked device." into nyc-dev

8 years agoAdd error message for locked device.
Daichi Hirono [Thu, 11 Feb 2016 00:55:37 +0000 (16:55 -0800)]
Add error message for locked device.

If the remote MTP device is a smartphone, it does not provide files
until a user unlocks the device. The CL adds specific error message for
the situation.

BUG=26318917

Change-Id: Ic4c34609c55ec9c99b7b8a9143d6dae3835784e3

8 years agoMerge "Open the connected device in Files app when tapping notification." into nyc-dev
Daichi Hirono [Fri, 12 Feb 2016 02:38:29 +0000 (02:38 +0000)]
Merge "Open the connected device in Files app when tapping notification." into nyc-dev

8 years agoUpdate FBE notification strings
Jim Miller [Mon, 8 Feb 2016 21:58:21 +0000 (13:58 -0800)]
Update FBE notification strings

Fixes bug 26863154

Change-Id: I6b130a8ba6e21e2cbd47551aabf5fc3e31f6f1c0
(cherry picked from commit 6338561c925fc4885275949d29193c14e83db71f)

8 years agoMerge "AAPT: Remove warnings for public resources without comments" into nyc-dev
Adam Lesinski [Fri, 12 Feb 2016 01:42:16 +0000 (01:42 +0000)]
Merge "AAPT: Remove warnings for public resources without comments" into nyc-dev

8 years agoMerge "Clear calling identity before setting restrictions" into nyc-dev
Fyodor Kupolov [Fri, 12 Feb 2016 01:37:37 +0000 (01:37 +0000)]
Merge "Clear calling identity before setting restrictions" into nyc-dev

8 years agoMerge "Show specific error message for busy device." into nyc-dev
Daichi Hirono [Fri, 12 Feb 2016 01:02:52 +0000 (01:02 +0000)]
Merge "Show specific error message for busy device." into nyc-dev

8 years agoMerge "Returns "application/octet-stream" for unknown types of MTP files." into nyc-dev
Daichi Hirono [Fri, 12 Feb 2016 00:51:28 +0000 (00:51 +0000)]
Merge "Returns "application/octet-stream" for unknown types of MTP files." into nyc-dev

8 years agoMerge "Optimized add|removeRestrictBackgroundWhitelistedUid()." into nyc-dev
Felipe Leme [Fri, 12 Feb 2016 00:50:46 +0000 (00:50 +0000)]
Merge "Optimized add|removeRestrictBackgroundWhitelistedUid()." into nyc-dev

8 years agoAudioTrack: fix docs for return code for setBufferSizeInFrames()
Phil Burk [Fri, 12 Feb 2016 00:42:13 +0000 (16:42 -0800)]
AudioTrack: fix docs for return code for setBufferSizeInFrames()

Also added some documentation links that were failing before.

Change-Id: I0a744dd0a3d3e1d09f643b35d976863fa0422d10
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMerge "Split bugreport identifier into id and pid." into nyc-dev
Felipe Leme [Fri, 12 Feb 2016 00:40:40 +0000 (00:40 +0000)]
Merge "Split bugreport identifier into id and pid." into nyc-dev

8 years agoOpen the connected device in Files app when tapping notification.
Daichi Hirono [Thu, 11 Feb 2016 18:08:21 +0000 (10:08 -0800)]
Open the connected device in Files app when tapping notification.

Previously when tapping the MTP devce notification, MtpDocumentsProvider
opens home direcotry in Files app. The CL adds data URI of connected
device to the intent so that MtpDocumentsProvider can open the connected
device's root in Files app.

BUG=26611224
Change-Id: I97ecd6669852cd2fc875294cbcbf5660fbfaa0da

8 years agoNAN: Disable all DBG flags.
Etan Cohen [Fri, 12 Feb 2016 00:35:10 +0000 (00:35 +0000)]
NAN: Disable all DBG flags.
am: 7d6c389edf

* commit '7d6c389edf41ef8ce490fa7af963484f9502cbc1':
  NAN: Disable all DBG flags.

8 years agoMerge changes If90955f4,I9fa48c06,Ib4681a43 into nyc-dev
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.

8 years agoMerge "Fix arguments order in DocumentsContract.moveDocument()." into nyc-dev
Tomasz Mikolajewski [Fri, 12 Feb 2016 00:26:44 +0000 (00:26 +0000)]
Merge "Fix arguments order in DocumentsContract.moveDocument()." into nyc-dev

8 years agoMerge "TIF: Separate service connection errors from recording errors" 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

8 years agoMerge "During update enable system apps for requested users only" 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

8 years agoIMS RAT Reporting in Registration Unsol
Omkar Kolangade [Tue, 5 May 2015 00:49:14 +0000 (17:49 -0700)]
IMS RAT Reporting in Registration Unsol

Adding a parameter to the IMS registration complete
and progressing callbacks, allowing frameworks to be
notified of the radio access technology over which
IMS is registered.

Bug: 21902225
Change-Id: I271f2fca299585302a67d0f5476f6fac3e7099dd

8 years agoTIF: Separate service connection errors from recording errors
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

8 years agoMerge "Correct error in window lifetime." into nyc-dev
Rob Carr [Thu, 11 Feb 2016 23:06:25 +0000 (23:06 +0000)]
Merge "Correct error in window lifetime." into nyc-dev

8 years agoNAN: Disable all DBG flags.
Etan Cohen [Thu, 11 Feb 2016 22:57:00 +0000 (14:57 -0800)]
NAN: Disable all DBG flags.

Change-Id: Ib60cf3c9fd4c8dbf973e118d94340fbfd890a738

8 years agoFix for JobScheduler dropping periodic jobs
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

8 years agoMerge "Fix build" into nyc-dev
John Reck [Thu, 11 Feb 2016 22:35:35 +0000 (22:35 +0000)]
Merge "Fix build" into nyc-dev

8 years agoFix build
John Reck [Thu, 11 Feb 2016 22:35:08 +0000 (14:35 -0800)]
Fix build

Change-Id: Id793d3a824902ab794b5d5a4cdf4c77a72c52add

8 years agoMerge "Handle spacebar events." into nyc-dev
Ben Kwa [Thu, 11 Feb 2016 22:18:53 +0000 (22:18 +0000)]
Merge "Handle spacebar events." into nyc-dev

8 years agoAAPT: Remove warnings for public resources without comments
Adam Lesinski [Thu, 11 Feb 2016 22:17:25 +0000 (14:17 -0800)]
AAPT: Remove warnings for public resources without comments

There are so many public resources that do not warrant comments
that having a warning that no one cares about is just producing
log spam.

Bug:21495023
Change-Id: I84e3b39c7139ee67fb5cb711d5ab466d8f4ef2e0

8 years agoMerge "Fix bpp mismatch" into nyc-dev
John Reck [Thu, 11 Feb 2016 22:05:14 +0000 (22:05 +0000)]
Merge "Fix bpp mismatch" into nyc-dev

8 years agoHandle spacebar events.
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

8 years agoUpdate HWUI makefiles to support use by other targets (e.g. Skia)
Derek Sollenberger [Thu, 11 Feb 2016 17:13:07 +0000 (12:13 -0500)]
Update HWUI makefiles to support use by other targets (e.g. Skia)

(1) Update both static and shared lib to export libhwui headers
(2) Work around problem in current make system where a static
    libraries dependencies are not transitively included by moving
    those dependencies into a file that can be included by targets
    using libhwui_static.
(3) Do not expose protobuf headers to clients outside of HWUI

Change-Id: I08470c02a83ae64116081eff0c2050878990c6ed

8 years agoFix bpp mismatch
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

8 years agoMerge "Revert "Handle spacebar events."" into nyc-dev
Ben Kwa [Thu, 11 Feb 2016 21:20:07 +0000 (21:20 +0000)]
Merge "Revert "Handle spacebar events."" into nyc-dev

8 years agoRevert "Handle spacebar events."
Ben Kwa [Thu, 11 Feb 2016 21:19:54 +0000 (21:19 +0000)]
Revert "Handle spacebar events."

This reverts commit ef8eb5c9dd45cc94219d6e889d026f53ecc5c7e9.

Change-Id: I6c473d09eae8289da1deb86a8f043aa88de4c6f0

8 years agoMake left- and right- arrow jump rows in grid mode.
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)

8 years agoMerge "Allow multiple range selections using the shift key." into nyc-dev
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

8 years agoMerge "Handle shift-enter key events." 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

8 years agoMerge "Handle spacebar events." into nyc-dev
Ben Kwa [Thu, 11 Feb 2016 21:06:51 +0000 (21:06 +0000)]
Merge "Handle spacebar events." into nyc-dev

8 years agoMerge "Fixed the build break" into nyc-dev
Lifu Tang [Thu, 11 Feb 2016 21:06:00 +0000 (21:06 +0000)]
Merge "Fixed the build break" into nyc-dev

8 years agoAllow multiple range selections using the shift key.
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)

8 years agoMerge "Fix ViewPager crash for a11y z order." into nyc-dev
Phil Weaver [Thu, 11 Feb 2016 20:58:30 +0000 (20:58 +0000)]
Merge "Fix ViewPager crash for a11y z order." into nyc-dev

8 years agoFixed the build break
Lifu Tang [Thu, 11 Feb 2016 20:57:59 +0000 (12:57 -0800)]
Fixed the build break

Change-Id: I02ee9b3f44d79510f174a1041f28b9c60450aa9c

8 years agoHandle shift-enter key events.
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)

8 years agoHandle spacebar events.
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)

8 years agoMerge "Initialize MD5 in logging in background" into cw-e-dev am: 5839e7804c
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

8 years agoShow specific error message for busy device.
Daichi Hirono [Wed, 10 Feb 2016 22:59:52 +0000 (14:59 -0800)]
Show specific error message for busy device.

When MTP device is busy (e.g. used by other application),
MtpDocumentsProvider cannot open the device. The CL introduces specific
error message for the case.

BUG=26694828

Change-Id: Iffee2e1c554e4089601186469ff0eac2fd04decd

8 years agoUse long for preflight check size in BackupManagerService.
Sergey Poromov [Thu, 11 Feb 2016 16:21:15 +0000 (17:21 +0100)]
Use long for preflight check size in BackupManagerService.

Bug: 26557141
Change-Id: I3794a91b62578044745a61bf774f5028f3e3b373

8 years agoReturns "application/octet-stream" for unknown types of MTP files.
Daichi Hirono [Thu, 11 Feb 2016 19:40:47 +0000 (11:40 -0800)]
Returns "application/octet-stream" for unknown types of MTP files.

According to DocumentsContract mime type field is required.
MtpDocumentsProvider should returns mime type for unknown types of MTP
files as well.

BUG=27148801

Change-Id: I7e4b832f6c00f438cf90190c074f204fdedceef5

8 years agoMerge "Don't call BackupTransport#checkFullBackupSize when preflight timeouted."...
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

8 years agoHandle light status bar for split-screen
Jorim Jaggi [Wed, 10 Feb 2016 05:36:09 +0000 (21:36 -0800)]
Handle light status bar for split-screen

In split-screen the light status bar flag for one side of the
status bar can be different from the other side.
SYSTEM_UI_FLAG_LIGHT_STATUS_BAR is now reported for both
the fullscreen stack and docked stack, but not anymore in the
"default" SysUI visibility field when reporting a visibility
change to SystemUI. The change also reports the docked stack
and the fullscreen stack bounds, so SystemUI can guard tinting
the icons on whether the icon is one of the areas.

When calculating the light status bar flag in PWM, we keep track
of the top fullscreen opaque window state for the docked and
fullscreen stack separately.

Bug: 24365214
Change-Id: Id2240a86d75bf96e0138ec7652a4793859f56e3c

8 years agoMerge "Optimized the memory consumption and renamed PRN" 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

8 years agoMerge "WifiManager: Return empty scan list on remote exception" into mm-wireless-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

8 years agoMerge "Mark activity as visible and not stopped after resume-relaunch." into nyc-dev
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

8 years agoAdding view debug annotations to simplifying debugging state.
Winson [Tue, 9 Feb 2016 20:31:00 +0000 (12:31 -0800)]
Adding view debug annotations to simplifying debugging state.

Change-Id: If90955f44be55ff09208998214bc1bb47f93a872

8 years agoMerge "WifiManager: Return empty scan list on remote exception" into mm-wireless-dev
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

8 years agoMark activity as visible and not stopped after resume-relaunch.
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

8 years agoDisallow launching third party apps in safe mode.
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

8 years agoDrawing thumbnail background color for empty space in view.
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>
8 years agoMerge "If package has no active admins, just uninstall right away" into nyc-dev
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

8 years agoCorrect error in window lifetime.
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

8 years agoMerge "Added support for media notifications without expanded state" into nyc-dev
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

8 years agoOptimized the memory consumption and renamed PRN
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

8 years agoMerge "DPMS shouldn't remove admins that aren't crypto aware." into nyc-dev
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

8 years agoWifiManager: Return empty scan list on remote exception
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

8 years agoMerge "Force pre-N apps to be resizeable." into nyc-dev
Wale Ogunwale [Thu, 11 Feb 2016 18:55:49 +0000 (18:55 +0000)]
Merge "Force pre-N apps to be resizeable." into nyc-dev

8 years agoMerge "Send explicit broadcasts when the scorer changes." 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

8 years agoMerge "Suspend apps - disable audio/vibrations" 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

8 years agoInitialize MD5 in logging in background
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

8 years agoMerge "Allow null string to BidiFormatter#unicodeWrap" into nyc-dev
Raph Levien [Thu, 11 Feb 2016 18:35:35 +0000 (18:35 +0000)]
Merge "Allow null string to BidiFormatter#unicodeWrap" into nyc-dev

8 years agoAdopt HTML/CSS color values in fromHtml()
Daniel U [Wed, 3 Feb 2016 14:29:09 +0000 (14:29 +0000)]
Adopt HTML/CSS color values in fromHtml()

- "green", "gray/grey", "lightgray/lightgrey", and
  "darkgray/darkgrey" have different values in HTML/CSS.

- Adopt HTML/CSS color values according to user specified
  option flag.

- Remove support to "@color" notation as it is not standard
  HTML/CSS.

- Replace SPAN_MARK_MARK with SPAN_INCLUSIVE_EXCLUSIVE
  consistency.

BUG:26950749
Change-Id: I5b33282368042f74f1b4768e096aae3e5bf45de6

8 years agoMove current WebView provider from Settings.Secure to Settings.Global
Gustav Sennton [Thu, 11 Feb 2016 12:51:27 +0000 (12:51 +0000)]
Move current WebView provider from Settings.Secure to Settings.Global

The current WebView provider is not user-specific and should therefore
be stored as a Global rather than a Secure setting.

Also do some code cleaning including a fix in WebViewProviderInfo to
always fetch up-to-date information about whether a webview
implementation package is enabled.

Bug: 27142972
Change-Id: I4d4b8fca775e97980fb5c34313be6d82472e7d33

8 years agoMerge "Initialize MD5 in logging in background" into cw-e-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

8 years agoMerge "Allow using USER_ALL as user id when killing package dependents." into nyc-dev
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

8 years agoMerge "Initialize MD5 in logging in background" into cw-e-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