OSDN Git Service

android-x86/frameworks-base.git
8 years agoDo not draw background if the background drawable is null
Chong Zhang [Tue, 2 Feb 2016 00:08:21 +0000 (16:08 -0800)]
Do not draw background if the background drawable is null

Some apps may not have background drawables.

bug: 26729953
Change-Id: I1e93013bb91ba376449bc580646fc733ca4dd072

8 years agoMerge "Add 'package compile' shell command"
David Brazdil [Mon, 1 Feb 2016 18:44:22 +0000 (18:44 +0000)]
Merge "Add 'package compile' shell command"

8 years agoMerge "Add tests for rename documents feature - Add helper class for the Ui tests...
Aga Wronska [Mon, 1 Feb 2016 18:43:41 +0000 (18:43 +0000)]
Merge "Add tests for rename documents feature     - Add helper class for the Ui tests. It creates basic test environment.       It is intermediate layer between UiBot/DocumentsProviderHelper and UiTest classes.     - Refactor SearchView tests     - Add renaming support in the test DocumentsProvider     - Add renaming tests"

8 years agoAdd tests for rename documents feature
Aga Wronska [Tue, 26 Jan 2016 22:06:29 +0000 (14:06 -0800)]
Add tests for rename documents feature
    - Add helper class for the Ui tests. It creates basic test environment.
      It is intermediate layer between UiBot/DocumentsProviderHelper and UiTest classes.
    - Refactor SearchView tests
    - Add renaming support in the test DocumentsProvider
    - Add renaming tests

Bug=26799799

Change-Id: I2849913a1addabff0087bb06b80f36de7cb144f3

8 years agoAdd 'package compile' shell command
David Brazdil [Mon, 1 Feb 2016 13:48:46 +0000 (13:48 +0000)]
Add 'package compile' shell command

Bug: 26707406
Change-Id: I554969c9f3b3153179370d3d23a88fa7e8693885

8 years agoMerge "Revert "Throw for unknown user restrictions.""
Makoto Onuki [Mon, 1 Feb 2016 18:26:08 +0000 (18:26 +0000)]
Merge "Revert "Throw for unknown user restrictions.""

8 years agoRevert "Throw for unknown user restrictions."
Makoto Onuki [Mon, 1 Feb 2016 18:23:55 +0000 (18:23 +0000)]
Revert "Throw for unknown user restrictions."

This reverts commit 3861bf7e73fab9e39e8d1f6e5194f3600ed929a0.

Bug 26896902

Change-Id: I26fa0159b5bb832048ccd013054a01f91b54947b

8 years agoMerge "Add feature tag for high-performance VR devices."
Ruben Brunk [Mon, 1 Feb 2016 18:20:00 +0000 (18:20 +0000)]
Merge "Add feature tag for high-performance VR devices."

8 years agoMerge "Revert "Revert "FloatingToolbar: Fix orientation change handling."""
Abodunrinwa Toki [Mon, 1 Feb 2016 18:16:44 +0000 (18:16 +0000)]
Merge "Revert "Revert "FloatingToolbar: Fix orientation change handling."""

8 years agoMerge "Fixing crash loop when the parent affiliated task is removed."
Winson Chung [Mon, 1 Feb 2016 18:15:53 +0000 (18:15 +0000)]
Merge "Fixing crash loop when the parent affiliated task is removed."

8 years agoFixing crash loop when the parent affiliated task is removed.
Winson [Mon, 1 Feb 2016 18:05:10 +0000 (10:05 -0800)]
Fixing crash loop when the parent affiliated task is removed.

- Instead, since we get the tasks in order, we use the previous task
  lastActiveTime as the base point for the entire affiliated task group
  (which gets brought to the front together always) if the parent
  task is not available.

Bug: 26896738
Change-Id: Id034af3f13355442f33b22ca18f9ffffa0f9d3d5

8 years agoMerge "Revert "Enabled SoftAP Configuration Backup""
Ritesh Reddy [Mon, 1 Feb 2016 17:55:59 +0000 (17:55 +0000)]
Merge "Revert "Enabled SoftAP Configuration Backup""

8 years agoMerge "File paths to system partition are okay-ish."
Jeff Sharkey [Mon, 1 Feb 2016 17:51:58 +0000 (17:51 +0000)]
Merge "File paths to system partition are okay-ish."

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 1 Feb 2016 17:50:32 +0000 (17:50 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoFile paths to system partition are okay-ish.
Jeff Sharkey [Mon, 1 Feb 2016 17:39:30 +0000 (10:39 -0700)]
File paths to system partition are okay-ish.

Unless SELinux blocks it, all apps have identical access to files
included on the system partition.  Since there are a handful of
useful files stored there, like ringtones and license files, carve
out an exception to allow file:///system/ style paths.

Note that StrictMode isn't a security mechanism, which is why we're
not concerned about resolving canonical paths.

Bug: 26895798
Change-Id: If0b659d30c4e51377edcf01445392759d1e4962e

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 17:43:59 +0000 (18:43 +0100)]
Import translations. DO NOT MERGE

Change-Id: Ieb9955126740aff1f20d550644faf19a52980c84
Auto-generated-cl: translation import

8 years agoMerge "Add upgrader for tuner"
Jason Monk [Mon, 1 Feb 2016 17:35:35 +0000 (17:35 +0000)]
Merge "Add upgrader for tuner"

8 years agoMerge "Update documentation for drawable state attributes"
Alan Viverette [Mon, 1 Feb 2016 17:30:57 +0000 (17:30 +0000)]
Merge "Update documentation for drawable state attributes"

8 years agoMerge "Don't move non-modal popups in response to global layout"
Alan Viverette [Mon, 1 Feb 2016 17:30:28 +0000 (17:30 +0000)]
Merge "Don't move non-modal popups in response to global layout"

8 years agoMerge "Added extra sanity checks."
Felipe Leme [Mon, 1 Feb 2016 17:28:57 +0000 (17:28 +0000)]
Merge "Added extra sanity checks."

8 years agoMerge "Scroll alert dialog buttons vertically when there's not enough space"
Alan Viverette [Mon, 1 Feb 2016 17:28:53 +0000 (17:28 +0000)]
Merge "Scroll alert dialog buttons vertically when there's not enough space"

8 years agoAdded extra sanity checks.
Felipe Leme [Sat, 30 Jan 2016 02:01:49 +0000 (18:01 -0800)]
Added extra sanity checks.

BUG: 26795255
BUG: 26805503
Change-Id: Ib95b337e54a174f178f70205f9d108223f192a62

8 years agoMerge "Ensure visibility of pinned activity when starting it."
Filip Gruszczynski [Mon, 1 Feb 2016 17:20:43 +0000 (17:20 +0000)]
Merge "Ensure visibility of pinned activity when starting it."

8 years agoMerge "Only create custom database paths."
Jeff Sharkey [Mon, 1 Feb 2016 17:18:59 +0000 (17:18 +0000)]
Merge "Only create custom database paths."

8 years agoOnly create custom database paths.
Jeff Sharkey [Mon, 1 Feb 2016 17:16:01 +0000 (10:16 -0700)]
Only create custom database paths.

If the getDatabasePath() caller is using the default getDatabasesDir()
path, that method already handles possible path creation, so no
need for us to retry.

Also fix two small bugs that would have NPE'ed when listing files in
a directory that wasn't created.

Bug: 26895777
Change-Id: Iced16b05cfe95062717da8d0414c48daefcb5648

8 years agoEnsure visibility of pinned activity when starting it.
Filip Gruszczynski [Mon, 1 Feb 2016 01:33:29 +0000 (17:33 -0800)]
Ensure visibility of pinned activity when starting it.

Currently we depend on resuming focused activity within the focused
stack to make it visible. This doesn't work for pinned stack, because
neither the stack nor the activity are focused and as a result the
pinned activity doesn't get resumed and made visible. We need to
explicitly force visibility without focusing the stack.

This fixes two issues:
* pinned activity not showing up when launched from a different full
screen stack activity;
* no entry animation when launching the activity from another full
screen stack.

Bug: 26891834
Bug: 25672053
Change-Id: I83065e10a2d237f1a1f26115e94c6648570e1d7f

8 years agoMerge "Skip setting up cache paths on system package."
Jeff Sharkey [Mon, 1 Feb 2016 17:02:42 +0000 (17:02 +0000)]
Merge "Skip setting up cache paths on system package."

8 years agoSkip setting up cache paths on system package.
Jeff Sharkey [Mon, 1 Feb 2016 16:59:12 +0000 (09:59 -0700)]
Skip setting up cache paths on system package.

The system package doesn't have any real data directories, so we
shouldn't try setting any cache paths.

Bug: 26895494
Change-Id: Iafca72f51d77eac5f602d842369de74ae8669b02

8 years agoMerge "Merge decor caption button drawables."
Filip Gruszczynski [Mon, 1 Feb 2016 16:47:31 +0000 (16:47 +0000)]
Merge "Merge decor caption button drawables."

8 years agoMerge "Temporarily remove file:// Uri checks in Notification.sound."
Daniel Sandler [Mon, 1 Feb 2016 16:45:45 +0000 (16:45 +0000)]
Merge "Temporarily remove file:// Uri checks in Notification.sound."

8 years agoMerge "Add some cmds for statusbar"
Jason Monk [Mon, 1 Feb 2016 16:39:06 +0000 (16:39 +0000)]
Merge "Add some cmds for statusbar"

8 years agoTemporarily remove file:// Uri checks in Notification.sound.
Dan Sandler [Mon, 1 Feb 2016 16:33:54 +0000 (11:33 -0500)]
Temporarily remove file:// Uri checks in Notification.sound.

Bug: 26895798
Change-Id: I83034ab812108a5f692bbb608faf5951682f212e

8 years agoMerge "Clear/restore calling identity for ChooserTargetService"
Adam Powell [Mon, 1 Feb 2016 16:33:41 +0000 (16:33 +0000)]
Merge "Clear/restore calling identity for ChooserTargetService"

8 years agoMerge "Canel all work notification when the profile is turned off"
Rubin Xu [Mon, 1 Feb 2016 16:32:21 +0000 (16:32 +0000)]
Merge "Canel all work notification when the profile is turned off"

8 years agoRevert "Enabled SoftAP Configuration Backup"
Ritesh Reddy [Mon, 1 Feb 2016 13:45:33 +0000 (13:45 +0000)]
Revert "Enabled SoftAP Configuration Backup"

This reverts commit 188ae9dc22e0ecc0612c8bfe1efdb0e22acdc43e.

Change-Id: I37e517d0e7a9a17614fa1b6890e1854346fd0138

8 years agoCanel all work notification when the profile is turned off
Rubin Xu [Mon, 1 Feb 2016 16:13:45 +0000 (16:13 +0000)]
Canel all work notification when the profile is turned off

When the work profile is turned off, all work apps are killed and the
profile marked as stopped. Cancel all pending work notifications
immediately in this case, with a new reason.

Bug: 22541941
Change-Id: I97935c3bac3eba1e9c38f7449ebcc182f6c66769

8 years agoMake color matrix parsing more robust.
Dan Sandler [Sat, 30 Jan 2016 04:27:59 +0000 (23:27 -0500)]
Make color matrix parsing more robust.

Bug: 26880793
Change-Id: I95e1b24ed949c6b341ecee7de5732a286c674824

8 years agoMerge "Fix crash in add QS tiles"
Jason Monk [Mon, 1 Feb 2016 16:10:53 +0000 (16:10 +0000)]
Merge "Fix crash in add QS tiles"

8 years agoFix crash in add QS tiles
Jason Monk [Mon, 1 Feb 2016 16:08:18 +0000 (11:08 -0500)]
Fix crash in add QS tiles

It seems one of the tiles has an empty icon... Fix the crash for
now, will deal with the tile later.

Bug: 26897121
Change-Id: I9abd073a891a5222711fe81ed05ade2a87d70121

8 years agoMerge "Updated Javadoc to reflect min period"
Shreyas Basarge [Mon, 1 Feb 2016 16:07:21 +0000 (16:07 +0000)]
Merge "Updated Javadoc to reflect min period"

8 years agoUpdated Javadoc to reflect min period
Shreyas Basarge [Fri, 29 Jan 2016 19:25:51 +0000 (19:25 +0000)]
Updated Javadoc to reflect min period

Javadoc updated and logging added for
min period and min flex enforcements
in JobScheduler and SyncManager.

Bug: 26874152
Change-Id: Ifdd248b776a1bd04df21b7b9f0ac96bdef0f8bb6

8 years agoMerge "SyncManager on JobScheduler"
Shreyas Basarge [Mon, 1 Feb 2016 15:32:58 +0000 (15:32 +0000)]
Merge "SyncManager on JobScheduler"

8 years agoRevert "Revert "FloatingToolbar: Fix orientation change handling.""
Abodunrinwa Toki [Mon, 1 Feb 2016 13:54:10 +0000 (13:54 +0000)]
Revert "Revert "FloatingToolbar: Fix orientation change handling.""

This reverts commit 6608a80fb317ca1bd4d9644bf6ac3a4cb108fd4c.
...and fix the syntax errors.

Change-Id: If2ca31d426b2e3eeac8444f7cb24ab21f169d30d

8 years agoMerge "Fix TextDropShadowCache infinite loop"
John Reck [Mon, 1 Feb 2016 15:24:57 +0000 (15:24 +0000)]
Merge "Fix TextDropShadowCache infinite loop"

8 years agoMerge "Encode paletted PNGs more efficiently (part 2)"
Matt Sarett [Mon, 1 Feb 2016 15:22:42 +0000 (15:22 +0000)]
Merge "Encode paletted PNGs more efficiently (part 2)"

8 years agoMerge "Encode paletted PNGs more efficiently"
Matt Sarett [Mon, 1 Feb 2016 15:20:24 +0000 (15:20 +0000)]
Merge "Encode paletted PNGs more efficiently"

8 years agoMerge "Let SysUI watch TileService's dialog lifecycle"
Jason Monk [Mon, 1 Feb 2016 15:19:47 +0000 (15:19 +0000)]
Merge "Let SysUI watch TileService's dialog lifecycle"

8 years agoMerge "Revert "Bugfix for accountsUpdated receiver in SyncManager""
Matthew Williams [Mon, 1 Feb 2016 15:16:57 +0000 (15:16 +0000)]
Merge "Revert "Bugfix for accountsUpdated receiver in SyncManager""

8 years agoRevert "Bugfix for accountsUpdated receiver in SyncManager"
Matthew Williams [Mon, 1 Feb 2016 15:16:14 +0000 (15:16 +0000)]
Revert "Bugfix for accountsUpdated receiver in SyncManager"

Hastily submitted this patch which is already fixed in ag/846619
reverting for simplicity of merge
This reverts commit d9be7216fdfc8eeebb9090af8eacd327cc0d2e1a.

Change-Id: I799869c33f42044ee4e06477ee46b83a3436cc40

8 years agoMerge "Bugfix for accountsUpdated receiver in SyncManager"
Matthew Williams [Mon, 1 Feb 2016 15:14:49 +0000 (15:14 +0000)]
Merge "Bugfix for accountsUpdated receiver in SyncManager"

8 years agoMerge "Renamed Activity class multi-window APIs"
Wale Ogunwale [Mon, 1 Feb 2016 15:04:48 +0000 (15:04 +0000)]
Merge "Renamed Activity class multi-window APIs"

8 years agoLet SysUI watch TileService's dialog lifecycle
Jason Monk [Fri, 29 Jan 2016 16:28:44 +0000 (11:28 -0500)]
Let SysUI watch TileService's dialog lifecycle

That way it can better handle tokens and service binding.

Change-Id: I9b882181ecbe52a65e731a2c45f1d296315884b4

8 years agoAdd upgrader for tuner
Jason Monk [Fri, 29 Jan 2016 21:18:09 +0000 (16:18 -0500)]
Add upgrader for tuner

Unspam everybody's status bar icons with new default off icons.

Change-Id: Id8375d1871705cc2b3bf258f934176c7510a0fde

8 years agoRenamed Activity class multi-window APIs
Wale Ogunwale [Sat, 30 Jan 2016 01:46:53 +0000 (17:46 -0800)]
Renamed Activity class multi-window APIs

As requested by API council.

Bug: 26507736
Change-Id: I2a87c5eb3c1b48d52703103c2a4f72c250a9a827

8 years agoAdd some cmds for statusbar
Jason Monk [Thu, 28 Jan 2016 15:40:20 +0000 (10:40 -0500)]
Add some cmds for statusbar

They will be used for tests?!

Also move around where some of the tile lifecycle happens so that
it can easily be shared with these commands.

Change-Id: I72386afce5a2d335df45ecc5946679efcd826bae

8 years agoMerge "Don't forward an intent if all handlers are suspended."
Nicolas Prévot [Mon, 1 Feb 2016 14:52:03 +0000 (14:52 +0000)]
Merge "Don't forward an intent if all handlers are suspended."

8 years agoMerge "Run PeriodicJobs only if constraints are satisfied"
Shreyas Basarge [Mon, 1 Feb 2016 14:33:44 +0000 (14:33 +0000)]
Merge "Run PeriodicJobs only if constraints are satisfied"

8 years agoEncode paletted PNGs more efficiently (part 2)
Matt Sarett [Fri, 29 Jan 2016 23:02:41 +0000 (18:02 -0500)]
Encode paletted PNGs more efficiently (part 2)

Many PNGs have multiple distinct pixels with zero alpha.  This
CL allows us to treat all of those pixels as a single zero pixel.

This saves space in the color palette and also may help save
memory pages when we skip writing zeros.

There is also a potential disadvantage: if someone intended to decode
this image as unpremultiplied with particular transfer modes where
their color components have an effect even though alpha is zero,
this will prevent that.  At the moment, we do not support unpremul as
a source, so this won't affect anyone trying to draw with the view
system.

This change originated in:
https://googleplex-android-review.git.corp.google.com/#/c/854580/

Change-Id: I702c7bd22d431cc7c775ed29bbd73c930f945ca3

8 years agoMerge "Revert "Enabled NetworkPolicy backup and restore.""
Ritesh Reddy [Mon, 1 Feb 2016 14:05:04 +0000 (14:05 +0000)]
Merge "Revert "Enabled NetworkPolicy backup and restore.""

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 1 Feb 2016 14:04:29 +0000 (14:04 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoEncode paletted PNGs more efficiently
Matt Sarett [Thu, 28 Jan 2016 23:38:38 +0000 (18:38 -0500)]
Encode paletted PNGs more efficiently

Saves about 2 MB of encoded size across affected assets.

Also will enable more efficient decoding.

Specifically, encoded palette values are assumed to be opaque unless
alpha values are provided in a tRNS chunk.  Before this change, we
would wastefully store many opaque alpha values in tRNS chunk.
Additionally, the decoder used to need to premultiply all of these
opaque colors, because the encoded data indicated that they had alpha.

Change-Id: Id21b3b31850c9db6149ced6d20ed5e0ce2d71c5b

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 14:03:29 +0000 (06:03 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ief9ab0c1b5fd8f6ceb868e8cd9804ede5913d6f8
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 1 Feb 2016 14:03:15 +0000 (14:03 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 14:01:48 +0000 (06:01 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ieec11d6ae7c9daf5f56b4cca99fb2aa46acfc195
Auto-generated-cl: translation import

8 years agoRevert "Enabled NetworkPolicy backup and restore."
Ritesh Reddy [Mon, 1 Feb 2016 13:47:48 +0000 (13:47 +0000)]
Revert "Enabled NetworkPolicy backup and restore."

This reverts commit 9f548b00dcdd89e8d557223b8b99269ca7362c2e.

Change-Id: If0081fa34333339e36f9e8b9a34a2e3a84e4638f

8 years agoMerge "Revert "FloatingToolbar: Fix orientation change handling.""
Narayan Kamath [Mon, 1 Feb 2016 13:43:49 +0000 (13:43 +0000)]
Merge "Revert "FloatingToolbar: Fix orientation change handling.""

8 years agoRevert "FloatingToolbar: Fix orientation change handling."
Narayan Kamath [Mon, 1 Feb 2016 13:40:43 +0000 (13:40 +0000)]
Revert "FloatingToolbar: Fix orientation change handling."

This reverts commit a874e30959c9a19275ff3ce47ba6deda1955d094.

Change-Id: I8e61e4d1f4af8dea71f69babbe6224c01bb6c6ac

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 13:18:12 +0000 (05:18 -0800)]
Import translations. DO NOT MERGE

Change-Id: I67ade5e23bfdea3b831bcdf4868456e27d735ff0
Auto-generated-cl: translation import

8 years agoMerge "FloatingToolbar: Fix orientation change handling."
Abodunrinwa Toki [Mon, 1 Feb 2016 12:54:10 +0000 (12:54 +0000)]
Merge "FloatingToolbar: Fix orientation change handling."

8 years agoMerge "close file in PersistentDataBlockService jni" am: c71c44a524
Narayan Kamath [Mon, 1 Feb 2016 11:42:45 +0000 (11:42 +0000)]
Merge "close file in PersistentDataBlockService jni" am: c71c44a524
am: 8e5a0d7da7

* commit '8e5a0d7da7f6df2c10d752b526a50ed4f5ade3fe':
  close file in PersistentDataBlockService jni

8 years agoMerge "close file in PersistentDataBlockService jni"
Narayan Kamath [Mon, 1 Feb 2016 11:38:27 +0000 (11:38 +0000)]
Merge "close file in PersistentDataBlockService jni"
am: c71c44a524

* commit 'c71c44a524e3b5f1f6a9864a0f03b20acd153a6d':
  close file in PersistentDataBlockService jni

8 years agoMerge "close file in PersistentDataBlockService jni"
Narayan Kamath [Mon, 1 Feb 2016 11:31:22 +0000 (11:31 +0000)]
Merge "close file in PersistentDataBlockService jni"

8 years agoclose file in PersistentDataBlockService jni
Lianwei Wang [Thu, 14 Jan 2016 02:42:35 +0000 (18:42 -0800)]
close file in PersistentDataBlockService jni

The opened file should be closed.

Change-Id: I8a43b338c5c9eb0a5b1b5329eec767c6395bc7eb
Signed-off-by: Lianwei Wang <lianwei.wang@gmail.com>
8 years agoTrack libcore change
Kenny Root [Mon, 1 Feb 2016 11:24:03 +0000 (03:24 -0800)]
Track libcore change

Internal master also has test-current.txt which needs the new Java8 SNI
things added to it.

Change-Id: I36ad96ffc57cbcec4f0996e4f9dd390aff260017

8 years agoMerge changes from topic \'sni\' am: c76789d35a
Kenny Root [Mon, 1 Feb 2016 11:09:20 +0000 (11:09 +0000)]
Merge changes from topic \'sni\' am: c76789d35a
am: a849f1e430

* commit 'a849f1e4309e7624bdb3da7b443907cfd829a82e':
  Track libcore change
  Track libcore change

8 years agoMerge changes from topic \'sni\'
Kenny Root [Mon, 1 Feb 2016 11:05:01 +0000 (11:05 +0000)]
Merge changes from topic \'sni\'
am: c76789d35a

* commit 'c76789d35a7ca92c0b334cc6cf4a44a0044b2a44':
  Track libcore change
  Track libcore change

8 years agoMerge changes from topic 'sni'
Kenny Root [Mon, 1 Feb 2016 10:58:14 +0000 (10:58 +0000)]
Merge changes from topic 'sni'

* changes:
  Track libcore change
  Track libcore change

8 years agoTrack libcore change
Kenny Root [Fri, 15 Jan 2016 23:10:02 +0000 (15:10 -0800)]
Track libcore change

This tracks libcore change I5972095a2b51da50249016fda11ed4c046af4211
which adds honor-cipher-suite-ordering API.

Change-Id: I7f17e42561c76b4c0a3f451d1126458480c90273

8 years agoTrack libcore change
Kenny Root [Fri, 15 Jan 2016 23:10:02 +0000 (15:10 -0800)]
Track libcore change

This tracks libcore change I23b85308ac25fd00307d37cff1d93ee6c2bfba98
which adds SNI support.

Change-Id: I93d8a4b07cc1f599123565a5c0672dd7848f05bf

8 years agoAdd DevicePolicyManager APIs for process logging.
Rubin Xu [Mon, 11 Jan 2016 12:11:35 +0000 (12:11 +0000)]
Add DevicePolicyManager APIs for process logging.

Add Device Owner APIs for controlling and retrieving the logs. Retrieving the
logs should be rate limited unless we are at the risk of losing logs due to
constrained buffer space.

Bug: 22860162
Change-Id: I80658f5a14e86d7cfd42402fbc5e98dc11698c0e

8 years agoMake Notification Redaction independent for work profiles
Clara Bayarri [Thu, 28 Jan 2016 11:33:25 +0000 (11:33 +0000)]
Make Notification Redaction independent for work profiles

Bug: 26709332
Change-Id: Ifc13c3c5a62110a3dfc44c2a02df9db11d92b431

8 years agoInitial refactoring to group IP-related elements into an IpManager
Erik Kline [Mon, 1 Feb 2016 10:08:40 +0000 (10:08 +0000)]
Initial refactoring to group IP-related elements into an IpManager
am: a636761bd6

* commit 'a636761bd67963385397ee920dcf76ec7cf113fb':
  Initial refactoring to group IP-related elements into an IpManager

8 years agoInitial refactoring to group IP-related elements into an IpManager
Erik Kline [Wed, 13 Jan 2016 08:36:08 +0000 (17:36 +0900)]
Initial refactoring to group IP-related elements into an IpManager

Bug: 17345682
Change-Id: I88f3f4bd32d18cd8d4f1404493648c8bcc1deeec

8 years agoAdd launch notification for MTP devices.
Daichi Hirono [Mon, 18 Jan 2016 09:05:17 +0000 (18:05 +0900)]
Add launch notification for MTP devices.

The CL adds launch notification that are shown after MTP/PTP device is
connected to Android device. By tapping the notification, Users can
launch an applicaiton that can handle USB_DEVICE_ATTACHED intent of MTP
device.

BUG=26611224

Change-Id: I6fd179ccd436531dfff6ff9a50dc2b754c20f190

8 years agoMerge "Cleanup copyDocument and moveDocument in SAF."
Tomasz Mikolajewski [Mon, 1 Feb 2016 00:17:30 +0000 (00:17 +0000)]
Merge "Cleanup copyDocument and moveDocument in SAF."

8 years agoMerge changes I8d546487,Ib62d357f
Wale Ogunwale [Sun, 31 Jan 2016 20:02:45 +0000 (20:02 +0000)]
Merge changes I8d546487,Ib62d357f

* changes:
  Allow resizeableActivity to be specified at the application level
  Renamed manifest attributes initialWidth/Height to defaultWidth/Height

8 years agoMerge "Renamed FLAG_ACTIVITY_LAUNCH_TO_SIDE to FLAG_ACTIVITY_LAUNCH_ADJACENT"
Wale Ogunwale [Sun, 31 Jan 2016 19:57:16 +0000 (19:57 +0000)]
Merge "Renamed FLAG_ACTIVITY_LAUNCH_TO_SIDE to FLAG_ACTIVITY_LAUNCH_ADJACENT"

8 years agoMerge "API council recommended changes to bounds APIs in ActivityOptions"
Wale Ogunwale [Sun, 31 Jan 2016 19:51:37 +0000 (19:51 +0000)]
Merge "API council recommended changes to bounds APIs in ActivityOptions"

8 years agoIgnore null actions.
Jeff Sharkey [Sun, 31 Jan 2016 00:58:09 +0000 (17:58 -0700)]
Ignore null actions.

Bug: 26862905
Change-Id: I30a21e67b0f60ebca5eaccc843834059e52a6b78

8 years agoThrow when using deprecated file modes.
Jeff Sharkey [Sun, 31 Jan 2016 00:44:15 +0000 (17:44 -0700)]
Throw when using deprecated file modes.

installd no longer grants o+x to private app data directories for
apps targeting N, so the long-deprecated MODE_WORLD_READABLE and
MODE_WORLD_WRITEABLE flags no longer have any effect, which may lead
to frustrating debugging sessions.

So to help clearly communicate that these flags no longer work, let's
throw when an app targeting N tries using them.

Bug: 26886867
Change-Id: I97dae6182fc3c55639ff37a39c4aae6dd0bed507

8 years agoOffer to migrate databases and SharedPreferences.
Jeff Sharkey [Sat, 30 Jan 2016 00:13:29 +0000 (17:13 -0700)]
Offer to migrate databases and SharedPreferences.

Databases and SharedPreferences often involve multiple files under
the hood, so developers wanting to migrate them between different
storage contexts should ask us to make sure all relevant files are
migrated correctly.

This makes a best-effort attempt to recover from battery pulls
during migration, while still trying to alert developers to
conflicting files.

Bug: 2666851025860525
Change-Id: I9ffa3e8cb6191dfd4237b9466a081d6d77df3ba0

8 years agoMerge "Hide action bar search icon in directories that do not support search operation."
Aga Wronska [Sat, 30 Jan 2016 22:01:50 +0000 (22:01 +0000)]
Merge "Hide action bar search icon in directories that do not support search operation."

8 years agoAllow resizeableActivity to be specified at the application level
Wale Ogunwale [Sat, 30 Jan 2016 21:01:33 +0000 (13:01 -0800)]
Allow resizeableActivity to be specified at the application level

Makes it easier for developers to set a state for all their activities
vs. doing it individually.

Bug: 26508215
Change-Id: I8d546487b6461a03f75cce7760522e7af9fc2740

8 years agoRenamed manifest attributes initialWidth/Height to defaultWidth/Height
Wale Ogunwale [Sat, 30 Jan 2016 20:23:09 +0000 (12:23 -0800)]
Renamed manifest attributes initialWidth/Height to defaultWidth/Height

Per feedback from API council.

Bug: 26508215
Change-Id: Ib62d357f0e6309ad6f6305ba5ac376c5e3ab04e7

8 years agoMerge "Deliver onEnterAnimationComplete when there is no transition animation."
Filip Gruszczynski [Sat, 30 Jan 2016 19:36:30 +0000 (19:36 +0000)]
Merge "Deliver onEnterAnimationComplete when there is no transition animation."

8 years agoRenamed FLAG_ACTIVITY_LAUNCH_TO_SIDE to FLAG_ACTIVITY_LAUNCH_ADJACENT
Wale Ogunwale [Sat, 30 Jan 2016 19:27:21 +0000 (11:27 -0800)]
Renamed FLAG_ACTIVITY_LAUNCH_TO_SIDE to FLAG_ACTIVITY_LAUNCH_ADJACENT

Per feedback from API council.

Bug: 26508215
Change-Id: Id17166fe981587c9c16c382ccbdf0846ed2ae5d6

8 years agoMerge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API." am: 49aee686d8
Stephen Hines [Sat, 30 Jan 2016 17:57:30 +0000 (17:57 +0000)]
Merge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API." am: 49aee686d8
am: c033f493f2

* commit 'c033f493f23574dc69bf8ecd0f04af8910b4a47e':
  Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API.

8 years agoMerge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API."
Stephen Hines [Sat, 30 Jan 2016 17:52:28 +0000 (17:52 +0000)]
Merge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API."
am: 49aee686d8

* commit '49aee686d8c1c888fd0dd2778c19d5968dae0252':
  Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API.

8 years agoMerge "Fix rare crash in bt detail panel"
Jason Monk [Sat, 30 Jan 2016 17:52:14 +0000 (17:52 +0000)]
Merge "Fix rare crash in bt detail panel"

8 years agoFix rare crash in bt detail panel
Jason Monk [Sat, 30 Jan 2016 17:49:41 +0000 (12:49 -0500)]
Fix rare crash in bt detail panel

Since bond state is gotten directly from the bluetooth stack it is
possible it could change, and therefore change the number of devices
if pairing happens while the detail panel is updating.  Fix this by
just dropping them into a list.

Bug: 26258223
Change-Id: I7703520391798fd7c9ab097b0057b7b43b877212