OSDN Git Service
Geoff Mendal [Mon, 1 Feb 2016 20:33:44 +0000 (20:33 +0000)]
Import translations. DO NOT MERGE am:
9ff5be7674 -s ours am:
4889505304 -s ours
am:
9f0bf63c91 -s ours
* commit '
9f0bf63c91b3e1cc203da50115daccea69772a18':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 20:31:03 +0000 (20:31 +0000)]
Import translations. DO NOT MERGE am:
9ff5be7674 -s ours
am:
4889505304 -s ours
* commit '
4889505304b7763e23bd847f833029f3d379ffe7':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 20:26:24 +0000 (20:26 +0000)]
Import translations. DO NOT MERGE
am:
9ff5be7674 -s ours
* commit '
9ff5be7674e3a925dc371bc812b220f3c476c501':
Import translations. DO NOT MERGE
Mihai Niță [Mon, 1 Feb 2016 20:22:36 +0000 (20:22 +0000)]
Merge "Fix: RTL sublocales need to display RTL"
Geoff Mendal [Mon, 1 Feb 2016 20:21:06 +0000 (12:21 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
26887782
Change-Id: If6bc1bd3f277f0289aecb7c063f899363079c248
Ben Kwa [Mon, 1 Feb 2016 19:17:36 +0000 (19:17 +0000)]
Merge "Don't clear the selection when directory contents change."
Wale Ogunwale [Mon, 1 Feb 2016 19:10:22 +0000 (19:10 +0000)]
Merge "Improved logic for determining visiblility of activities in the home stack"
Wale Ogunwale [Mon, 1 Feb 2016 19:09:27 +0000 (19:09 +0000)]
Merge "Allow activities without FLAG_ACTIVITY_NEW_TASK set to be home activities"
Wale Ogunwale [Mon, 1 Feb 2016 19:06:18 +0000 (19:06 +0000)]
Merge "Made some changes to window caption APIs"
Mihai Nita [Fri, 29 Jan 2016 20:32:56 +0000 (12:32 -0800)]
Fix: RTL sublocales need to display RTL
When the langage selected in the first step is right-to-left the
localized region names should also be rendered right-to-left,
regardless of the UI language of the system itself.
We only need this to happen for the sub-locale because all labels
are localized in the same language (the parent one), so it is all
consistent, not the mixture we have in the language selection.
Bug:
26278041
Change-Id: I54c4306763458be691a1ba0c2bc2dba613beb8c5
David Brazdil [Mon, 1 Feb 2016 18:44:22 +0000 (18:44 +0000)]
Merge "Add 'package compile' shell command"
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"
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
David Brazdil [Mon, 1 Feb 2016 13:48:46 +0000 (13:48 +0000)]
Add 'package compile' shell command
Bug:
26707406
Change-Id: I554969c9f3b3153179370d3d23a88fa7e8693885
Makoto Onuki [Mon, 1 Feb 2016 18:26:08 +0000 (18:26 +0000)]
Merge "Revert "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
Ruben Brunk [Mon, 1 Feb 2016 18:20:00 +0000 (18:20 +0000)]
Merge "Add feature tag for high-performance VR devices."
Abodunrinwa Toki [Mon, 1 Feb 2016 18:16:44 +0000 (18:16 +0000)]
Merge "Revert "Revert "FloatingToolbar: Fix orientation change handling."""
Winson Chung [Mon, 1 Feb 2016 18:15:53 +0000 (18:15 +0000)]
Merge "Fixing 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
Ritesh Reddy [Mon, 1 Feb 2016 17:55:59 +0000 (17:55 +0000)]
Merge "Revert "Enabled SoftAP Configuration Backup""
Jeff Sharkey [Mon, 1 Feb 2016 17:51:58 +0000 (17:51 +0000)]
Merge "File paths to system partition are okay-ish."
Geoff Mendal [Mon, 1 Feb 2016 17:50:32 +0000 (17:50 +0000)]
Merge "Import translations. DO NOT MERGE"
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
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
Jason Monk [Mon, 1 Feb 2016 17:35:35 +0000 (17:35 +0000)]
Merge "Add upgrader for tuner"
Alan Viverette [Mon, 1 Feb 2016 17:30:57 +0000 (17:30 +0000)]
Merge "Update documentation for drawable state attributes"
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"
Felipe Leme [Mon, 1 Feb 2016 17:28:57 +0000 (17:28 +0000)]
Merge "Added extra sanity checks."
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"
Felipe Leme [Sat, 30 Jan 2016 02:01:49 +0000 (18:01 -0800)]
Added extra sanity checks.
BUG:
26795255
BUG:
26805503
Change-Id: Ib95b337e54a174f178f70205f9d108223f192a62
Filip Gruszczynski [Mon, 1 Feb 2016 17:20:43 +0000 (17:20 +0000)]
Merge "Ensure visibility of pinned activity when starting it."
Jeff Sharkey [Mon, 1 Feb 2016 17:18:59 +0000 (17:18 +0000)]
Merge "Only 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
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
Ben Kwa [Mon, 1 Feb 2016 17:11:55 +0000 (09:11 -0800)]
Don't clear the selection when directory contents change.
Update the selection to remove IDs that no longer exist, but don't clear
it - doing so causes the selection to vanish whenever the underlying
directory contents change, which is disruptive to the user.
BUG=
22765812
Change-Id: Ice6ae54d0748cf842addf1342541ae7759435811
Jeff Sharkey [Mon, 1 Feb 2016 17:02:42 +0000 (17:02 +0000)]
Merge "Skip 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
Filip Gruszczynski [Mon, 1 Feb 2016 16:47:31 +0000 (16:47 +0000)]
Merge "Merge decor caption button drawables."
Daniel Sandler [Mon, 1 Feb 2016 16:45:45 +0000 (16:45 +0000)]
Merge "Temporarily remove file:// Uri checks in Notification.sound."
Jason Monk [Mon, 1 Feb 2016 16:39:06 +0000 (16:39 +0000)]
Merge "Add some cmds for statusbar"
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
Adam Powell [Mon, 1 Feb 2016 16:33:41 +0000 (16:33 +0000)]
Merge "Clear/restore calling identity for ChooserTargetService"
Rubin Xu [Mon, 1 Feb 2016 16:32:21 +0000 (16:32 +0000)]
Merge "Canel all work notification when the profile is turned off"
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
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
Dan Sandler [Sat, 30 Jan 2016 04:27:59 +0000 (23:27 -0500)]
Make color matrix parsing more robust.
Bug:
26880793
Change-Id: I95e1b24ed949c6b341ecee7de5732a286c674824
Jason Monk [Mon, 1 Feb 2016 16:10:53 +0000 (16:10 +0000)]
Merge "Fix 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
Shreyas Basarge [Mon, 1 Feb 2016 16:07:21 +0000 (16:07 +0000)]
Merge "Updated 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
Shreyas Basarge [Mon, 1 Feb 2016 15:32:58 +0000 (15:32 +0000)]
Merge "SyncManager on JobScheduler"
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
John Reck [Mon, 1 Feb 2016 15:24:57 +0000 (15:24 +0000)]
Merge "Fix TextDropShadowCache infinite loop"
Matt Sarett [Mon, 1 Feb 2016 15:22:42 +0000 (15:22 +0000)]
Merge "Encode paletted PNGs more efficiently (part 2)"
Matt Sarett [Mon, 1 Feb 2016 15:20:24 +0000 (15:20 +0000)]
Merge "Encode paletted PNGs more efficiently"
Jason Monk [Mon, 1 Feb 2016 15:19:47 +0000 (15:19 +0000)]
Merge "Let SysUI watch TileService's dialog lifecycle"
Matthew Williams [Mon, 1 Feb 2016 15:16:57 +0000 (15:16 +0000)]
Merge "Revert "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
Matthew Williams [Mon, 1 Feb 2016 15:14:49 +0000 (15:14 +0000)]
Merge "Bugfix for accountsUpdated receiver in SyncManager"
Wale Ogunwale [Mon, 1 Feb 2016 15:04:48 +0000 (15:04 +0000)]
Merge "Renamed Activity class multi-window APIs"
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
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
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
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
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."
Shreyas Basarge [Mon, 1 Feb 2016 14:33:44 +0000 (14:33 +0000)]
Merge "Run PeriodicJobs only if constraints are satisfied"
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
Ritesh Reddy [Mon, 1 Feb 2016 14:05:04 +0000 (14:05 +0000)]
Merge "Revert "Enabled NetworkPolicy backup and restore.""
Geoff Mendal [Mon, 1 Feb 2016 14:04:29 +0000 (14:04 +0000)]
Merge "Import translations. DO NOT MERGE"
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
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
Geoff Mendal [Mon, 1 Feb 2016 14:03:15 +0000 (14:03 +0000)]
Merge "Import 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
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
Narayan Kamath [Mon, 1 Feb 2016 13:43:49 +0000 (13:43 +0000)]
Merge "Revert "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
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
Abodunrinwa Toki [Mon, 1 Feb 2016 12:54:10 +0000 (12:54 +0000)]
Merge "FloatingToolbar: Fix orientation change handling."
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
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
Narayan Kamath [Mon, 1 Feb 2016 11:31:22 +0000 (11:31 +0000)]
Merge "close 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>
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
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
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
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
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
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
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
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
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
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
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
Tomasz Mikolajewski [Mon, 1 Feb 2016 00:17:30 +0000 (00:17 +0000)]
Merge "Cleanup copyDocument and moveDocument in SAF."
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
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"
Wale Ogunwale [Sun, 31 Jan 2016 19:51:37 +0000 (19:51 +0000)]
Merge "API council recommended changes to bounds APIs in ActivityOptions"
Wale Ogunwale [Sun, 31 Jan 2016 19:43:25 +0000 (11:43 -0800)]
Allow activities without FLAG_ACTIVITY_NEW_TASK set to be home activities
Some callers can launch the home activity without setting
FLAG_ACTIVITY_NEW_TASK on the intent. When this occurred we were
putting a copy of the home activity in the application stack
which causes a few issues like the home activity showing up in
the recents list.
We now don't check the FLAG_ACTIVITY_NEW_TASK flag when determining
if the activity is a home activity is it meets all the other
requirements.
Bug:
26797267
Change-Id: I8176c6d9c27d26e9db6fa9f0f1a48e2e1388fb46
Wale Ogunwale [Sun, 31 Jan 2016 02:30:55 +0000 (18:30 -0800)]
Improved logic for determining visiblility of activities in the home stack
- No other activity in the home stack should be visible behind the home
activity. Home activities is usually a translucent activity with the
wallpaper behind them. However, when they don't have the wallpaper
behind them, we want to show activities in the next application stack
behind them vs. another activity in the home stack like recents.
- We don't want any other activities in the home stack visible if the
recents activity is going to be returning to an application activity
type. We do this to preserve the visible order the user used to get
into the recents activity. The recents activity is normally
translucent and if it doesn't have the wallpaper behind it the next
activity in the home stack shouldn't be visible when the home stack
is brought to the front to display the recents activity from an app.
- Also fixed issue with not setting correct return type for tasks
when they don't have Intent.FLAG_ACTIVITY_TASK_ON_HOME flag set.
Bug:
26571156
Change-Id: I45ef795c6a19ab859e9f6204fb059e875ad798c5