OSDN Git Service
Filip Gruszczynski [Tue, 15 Dec 2015 16:53:07 +0000 (16:53 +0000)]
Merge "Log window mode to tron."
Filip Gruszczynski [Fri, 11 Dec 2015 21:59:52 +0000 (13:59 -0800)]
Log window mode to tron.
Bug:
26013430
Change-Id: I45d397d956a66f407218047dc10581553f906077
Michael Wright [Tue, 15 Dec 2015 16:41:16 +0000 (16:41 +0000)]
Merge "Make KEYCODE_SPACE a confirm key."
Alan Viverette [Tue, 15 Dec 2015 15:10:45 +0000 (15:10 +0000)]
Merge "Only handle Context submenus as dialogs when parent is a dialog"
Winson Chung [Tue, 15 Dec 2015 14:27:25 +0000 (14:27 +0000)]
Merge "Only show historical tasks in history."
Winson Chung [Tue, 15 Dec 2015 14:26:58 +0000 (14:26 +0000)]
Merge changes I598642b1,I788fa06d
* changes:
Removing historical tasks when packages are uninstalled.
Saving the stack state when you rotate.
Winson Chung [Tue, 15 Dec 2015 14:26:24 +0000 (14:26 +0000)]
Merge "Coordinating empty view with the history view."
Clara Bayarri [Tue, 15 Dec 2015 14:14:34 +0000 (14:14 +0000)]
Merge "Make ConfirmCredentials take user into account when creating intent"
Lorenzo Colitti [Tue, 15 Dec 2015 13:24:52 +0000 (13:24 +0000)]
Merge "Remove defunct EVENT_SEND_STICKY_BROADCAST_INTENT."
Clara Bayarri [Thu, 19 Nov 2015 00:39:34 +0000 (16:39 -0800)]
Make ConfirmCredentials take user into account when creating intent
The existing implementation returned null if the device was not locked,
but when using ConfirmCredentials for the Work Profile we need to take into
account the user we want to confirm credentials for, given that the device
user might not have a lock but the work profile will.
Change-Id: Ifb5882846b0a62c73ac7cc04d90d1a4d9b103e63
Daichi Hirono [Tue, 15 Dec 2015 08:19:29 +0000 (08:19 +0000)]
Merge "Revert "Revert "Add device document to MtpDatabase."""
Daichi Hirono [Tue, 15 Dec 2015 07:45:06 +0000 (07:45 +0000)]
Revert "Revert "Add device document to MtpDatabase.""
I suspected that the commit was conflicted with ag/833494, but actually it wasn't. Let me reland this CL again.
This reverts commit
b63e8c6ccc1425d56f8b9c801f4bddf906d694e5.
Change-Id: I4e734422ce10ef93ee7c4ef3b8b72a81beaa769b
Daichi Hirono [Tue, 15 Dec 2015 07:34:53 +0000 (07:34 +0000)]
Merge "Revert "Add device document to MtpDatabase.""
Daichi Hirono [Tue, 15 Dec 2015 07:34:26 +0000 (07:34 +0000)]
Revert "Add device document to MtpDatabase."
This reverts commit
c0ae45be046b1aed005589791e1ee483c399ab1c.
Change-Id: I03337324e768c509bdcf94c89f7abe7ca00c8a18
Rob Carr [Tue, 15 Dec 2015 07:33:08 +0000 (07:33 +0000)]
Merge "Temporary enable logging for monkey testing"
Daichi Hirono [Tue, 15 Dec 2015 07:27:19 +0000 (07:27 +0000)]
Merge "Add device document to MtpDatabase."
Daichi Hirono [Tue, 15 Dec 2015 03:39:04 +0000 (12:39 +0900)]
Add device document to MtpDatabase.
BUG=
26175081
Change-Id: Ida91c50f7e33d7b300a32ee318b6f3837edf6606
Daichi Hirono [Tue, 15 Dec 2015 07:15:31 +0000 (07:15 +0000)]
Merge "Use column name instead of index in MtpDatabaseTest for readability."
Daichi Hirono [Tue, 15 Dec 2015 07:02:27 +0000 (16:02 +0900)]
Use column name instead of index in MtpDatabaseTest for readability.
BUG=
26194040
Change-Id: I58a6e59f4784fcc81988093bb113e721e36e46d0
Tomasz Mikolajewski [Tue, 15 Dec 2015 05:06:45 +0000 (05:06 +0000)]
Merge "Add support for copying virtual files in DocumentsUI."
Jun Mukai [Tue, 15 Dec 2015 04:46:53 +0000 (04:46 +0000)]
Merge "Make public pointer icon API with custom icons."
Robert Carr [Tue, 15 Dec 2015 04:07:08 +0000 (20:07 -0800)]
Temporary enable logging for monkey testing
Temporary enable logging for tracing
26157153 in monkey testing.
Bug:
26157153
Change-Id: I85aef42c426ceaa831b7919a37dd35ef78e9c779
Rob Carr [Tue, 15 Dec 2015 04:05:19 +0000 (04:05 +0000)]
Merge "Move window replacement tracking to window state."
Jun Mukai [Fri, 30 Oct 2015 22:54:33 +0000 (15:54 -0700)]
Make public pointer icon API with custom icons.
BUG:
25778347,
23804184
Change-Id: If138b97c750c912e9848412c27b65004899961eb
Tomasz Mikolajewski [Mon, 14 Dec 2015 07:15:57 +0000 (16:15 +0900)]
Add support for copying virtual files in DocumentsUI.
Bug:
26147488
Change-Id: I09cf010de7267fbdba6e3fcd0f300b0ecce19d10
Daichi Hirono [Tue, 15 Dec 2015 02:12:31 +0000 (02:12 +0000)]
Merge "Stop reopening MTP devices."
Daichi Hirono [Mon, 14 Dec 2015 07:20:14 +0000 (16:20 +0900)]
Stop reopening MTP devices.
BUG=
26175809
Change-Id: I45a51c0623b349f12e7d3cf787a89b089f230bc1
Daichi Hirono [Tue, 15 Dec 2015 02:08:50 +0000 (02:08 +0000)]
Merge "Integerate mapping methods for root/child documents into the same methods."
Daichi Hirono [Mon, 14 Dec 2015 08:14:29 +0000 (17:14 +0900)]
Integerate mapping methods for root/child documents into the same
methods.
The integrated methods will be used to add device documents as well as
root/child documents.
BUG=
26175081
Change-Id: Ibf474cfbc41df402a2958e9efcdd0061f07f5ced
Bryce Lee [Tue, 15 Dec 2015 01:17:28 +0000 (01:17 +0000)]
Allow access to deprecated LOCK_PATTERN_ENABLED flag. am:
4614596a39 am:
36393a5674 am:
4ab8b0696a
am:
0510ad1bc9
* commit '
0510ad1bc9a2da4fa84f1a5417a218dba48563e3':
Allow access to deprecated LOCK_PATTERN_ENABLED flag.
Jeff Sharkey [Tue, 15 Dec 2015 01:06:20 +0000 (01:06 +0000)]
Merge "Protect some more broadcasts."
Andreas Gampe [Tue, 15 Dec 2015 01:04:49 +0000 (01:04 +0000)]
Merge "Frameworks/base: Some cleanup in PackageManagerService"
Jeff Sharkey [Tue, 15 Dec 2015 01:02:43 +0000 (18:02 -0700)]
Protect some more broadcasts.
Bug:
26144973
Change-Id: Ic05bca52913ee5545719f0f24bed5b359f31259f
Tomasz Mikolajewski [Tue, 15 Dec 2015 00:55:44 +0000 (00:55 +0000)]
Merge "Simplify CopyService in DocumentsUI."
Filip Gruszczynski [Tue, 15 Dec 2015 00:32:14 +0000 (00:32 +0000)]
Merge "Refactor checking for inserting activity into existing task."
Bryce Lee [Tue, 15 Dec 2015 00:11:06 +0000 (00:11 +0000)]
Allow access to deprecated LOCK_PATTERN_ENABLED flag. am:
4614596a39 am:
36393a5674
am:
4ab8b0696a
* commit '
4ab8b0696a4383b7dec2fc2dc4f17596bcd9216a':
Allow access to deprecated LOCK_PATTERN_ENABLED flag.
Filip Gruszczynski [Mon, 14 Dec 2015 18:20:22 +0000 (10:20 -0800)]
Refactor checking for inserting activity into existing task.
Inserting into existing task is a large chunk of code with very deep
indentation. This removes 2 levels of indentation by checking them
together and returning final result.
CL also includes moving some of the permission checking code into a
separate method.
Change-Id: Ieba82ef9e410094de229b0d25b2a60bf18a1e869
Wale Ogunwale [Tue, 15 Dec 2015 00:06:02 +0000 (00:06 +0000)]
Merge "Still save config on client side when not reporting to activity."
Bryce Lee [Mon, 14 Dec 2015 23:57:38 +0000 (23:57 +0000)]
Allow access to deprecated LOCK_PATTERN_ENABLED flag. am:
4614596a39
am:
36393a5674
* commit '
36393a5674bf50b351b5961a194ce2814ca00140':
Allow access to deprecated LOCK_PATTERN_ENABLED flag.
Bryce Lee [Mon, 14 Dec 2015 23:43:54 +0000 (23:43 +0000)]
Allow access to deprecated LOCK_PATTERN_ENABLED flag.
am:
4614596a39
* commit '
4614596a395b6c86fff3f35a07edda2e848d743c':
Allow access to deprecated LOCK_PATTERN_ENABLED flag.
Wale Ogunwale [Mon, 14 Dec 2015 23:04:22 +0000 (15:04 -0800)]
Still save config on client side when not reporting to activity.
On the client side we have additional protection not to save new
configuration reported by activity manager if the app isn't handling
any of the configuration change that occurred. This is done because
the activity is expected to relaunch for any configuration it doesn't
handle. However, with multi-window support the activity manager doesn't
relaunch an activity if the configuration change doesn't cross a resource
threshold.
We now save the configuration on the client side when activity manager
tells us not to report the changes to the app (i.e. configuration
changed, but wasn't big enough for relaunch)
Bug:
23904868
Change-Id: I54f65cad65c1b8ed5da1165a8b2816adbea41d4b
Bryce Lee [Mon, 14 Dec 2015 22:39:10 +0000 (14:39 -0800)]
Allow access to deprecated LOCK_PATTERN_ENABLED flag.
It is possible that older platforms may have not cleared the lock pattern,
but instead only checked this flag to determine the lock pattern enabled
state. In such cases, upgrading to a platform with that only checks the
lock pattern can lead to the lock screen being re-enabled by accident.
These new methods allow this condition to be identified and resolved.
Bug:
26029690
Change-Id: I8f7ebc0e1915049afe49c219c87010aa38a16244
Michael Wright [Thu, 26 Nov 2015 16:04:54 +0000 (16:04 +0000)]
Make KEYCODE_SPACE a confirm key.
By default space should "click" the focused item. This behavior also
applies to GridView and ListView if the items are clickable, but will
continue the previous behavior of scrolling if it's just a list of
items you can't really interact with.
Change-Id: Ic3a0334614d1dc68ff98bc4b1fb1ae2f961f71af
Roozbeh Pournader [Mon, 14 Dec 2015 21:54:26 +0000 (21:54 +0000)]
Merge "Load Portuguese and German hyphenation in Hyphenator"
Greg Hackmann [Mon, 14 Dec 2015 21:49:02 +0000 (13:49 -0800)]
Merge "Trace SQLite operations" am:
6fe06606c4
am:
0f13ddfdff
* commit '
0f13ddfdffacffe1c8bcce3adba87dd32b0ab92a':
Trace SQLite operations
Greg Hackmann [Mon, 14 Dec 2015 21:37:30 +0000 (13:37 -0800)]
Merge "Trace SQLite operations"
am:
6fe06606c4
* commit '
6fe06606c4df39487d240cc1fa4ac6d944b33137':
Trace SQLite operations
Jun Mukai [Mon, 14 Dec 2015 21:34:28 +0000 (21:34 +0000)]
Merge "Allow specifying pointer shape from xml resource."
Roozbeh Pournader [Sat, 12 Dec 2015 20:08:37 +0000 (12:08 -0800)]
Load Portuguese and German hyphenation in Hyphenator
This also extends the fallback locale matching algorithm to consider
language+variant before just the language, so asking for "de-AT-1901"
would result in trying "de-1901" before trying "de".
Bug:
26169902
Change-Id: I55e5a73e7ac730d0bc14204126cbb3cc6ce0e9f1
Andreas Gampe [Sat, 12 Dec 2015 01:23:33 +0000 (17:23 -0800)]
Frameworks/base: Fix typo in AccountManagerService
Fix an unintended tautology.
Bug:
19797138
Change-Id: Iec19b5c9c80b9f49a61b0dc3c9a9d5c13c84a992
Greg Hackmann [Mon, 14 Dec 2015 21:12:52 +0000 (21:12 +0000)]
Merge "Trace SQLite operations"
Greg Hackmann [Mon, 1 Dec 2014 22:31:21 +0000 (14:31 -0800)]
Trace SQLite operations
Inefficient SQLite use can have non-obvious effects on performance. For
example, insert and update operations can trigger a surprising number of
fsync() calls, especially if they're not grouped together into
transactions.
Add tracepoints around SQLite operations, to make it easier to pinpoint
their effects on the rest of the system.
Change-Id: I30cc3d02eca264e46dcc09ca7512a32519543834
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Jun Mukai [Wed, 18 Nov 2015 00:22:02 +0000 (16:22 -0800)]
Allow specifying pointer shape from xml resource.
Bug:
25777986
Change-Id: I8be5d2cb130299b0ea8f4f4d3dc582143f7ff553
Wale Ogunwale [Mon, 14 Dec 2015 20:07:42 +0000 (20:07 +0000)]
Merge "Fixed bug with task record not updating to fullscreen sometimes"
Chad Brubaker [Mon, 14 Dec 2015 20:06:28 +0000 (12:06 -0800)]
Merge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base
Andreas Gampe [Mon, 14 Dec 2015 20:05:27 +0000 (20:05 +0000)]
Merge "Frameworks/base: Use Arrays.toString"
Chad Brubaker [Mon, 14 Dec 2015 20:05:20 +0000 (12:05 -0800)]
Merge "Use the application\'s usesCleartextTraffic flag" am:
d16f5f121e
am:
a1c0bea895
* commit '
a1c0bea89518d020b615740215bff7fc4356e991':
Use the application's usesCleartextTraffic flag
Andreas Gampe [Sat, 12 Dec 2015 02:00:38 +0000 (18:00 -0800)]
Frameworks/base: Use Arrays.toString
Fix a couple of cases where Arrays.toString should be used.
Bug:
19797138
Change-Id: I905fc79e63face9b26975320a92086c732bf6316
Chad Brubaker [Mon, 14 Dec 2015 20:03:22 +0000 (12:03 -0800)]
Merge "Check for null hostnames in RootTrustManager" am:
49ce7dc2ba
am:
15ea45c848
* commit '
15ea45c848fbf9e70bbfe6afbfb25d39ce406c80':
Check for null hostnames in RootTrustManager
Chad Brubaker [Mon, 14 Dec 2015 19:57:29 +0000 (11:57 -0800)]
Merge "Use the application\'s usesCleartextTraffic flag"
am:
d16f5f121e
* commit '
d16f5f121e560d9f18411cbdd3fa4fb48681c0c2':
Use the application's usesCleartextTraffic flag
Chad Brubaker [Mon, 14 Dec 2015 19:55:05 +0000 (11:55 -0800)]
Merge "Check for null hostnames in RootTrustManager"
am:
49ce7dc2ba
* commit '
49ce7dc2baa9ee867fc7b78301c65fab2168a9b2':
Check for null hostnames in RootTrustManager
Chad Brubaker [Mon, 14 Dec 2015 19:31:08 +0000 (19:31 +0000)]
Merge "Use the application's usesCleartextTraffic flag"
Chad Brubaker [Mon, 14 Dec 2015 19:30:44 +0000 (19:30 +0000)]
Merge "Check for null hostnames in RootTrustManager"
Winson Chung [Fri, 11 Dec 2015 15:26:06 +0000 (10:26 -0500)]
Only show historical tasks in history.
- Also only show the history button if there are
historical tasks (and reflect that in the
button text)
Change-Id: I7b9dcf79e2feef61f96b720f586144de4c5033e3
Winson Chung [Fri, 11 Dec 2015 15:25:57 +0000 (10:25 -0500)]
Removing historical tasks when packages are uninstalled.
Change-Id: I598642b14f55124969cb64f0331afce84115ba06
Winson Chung [Fri, 11 Dec 2015 15:25:46 +0000 (10:25 -0500)]
Saving the stack state when you rotate.
- Saving the focus and stack scroll, along with
the history visibility on configuration change.
Change-Id: I788fa06de9af8f7769de26442c804e27daa7e627
Winson Chung [Fri, 11 Dec 2015 15:25:40 +0000 (10:25 -0500)]
Coordinating empty view with the history view.
- Moving the empty view into the RecentsView so
that we can coordinate its animation with the
history button and the task stack (when history
is visible, all of the other views are animated
away, and vice versa)
- Removing unnecessary launch state flag to keep
track of recent task empty state just for deciding
animations for system bar scrims.
- Fixing issue with overview button not dismissing
the history view while it is open
- Fixing issue with swiping the last recent task
away causing both Overview and the docked task
to be dismissed to home
Bug:
26044055
Change-Id: I731fb0f7efb3de7d5f826673479c602b606453e9
Robert Carr [Thu, 10 Dec 2015 20:43:51 +0000 (12:43 -0800)]
Move window replacement tracking to window state.
In preparation for supporting replacement of child windows
we make replacement per window rather than per app.
Bug:
26070641
Change-Id: Ifa332086599c125611e430219c9497bae7e2ce31
Svetoslav Ganov [Mon, 14 Dec 2015 18:43:21 +0000 (10:43 -0800)]
Merge "Change signature|system permissions to signature|privileged" am:
cfed01af4b
am:
3dee9db651
* commit '
3dee9db6516fd97d7db3641fc81533cc3553fde8':
Change signature|system permissions to signature|privileged
Michael Wright [Mon, 14 Dec 2015 18:41:19 +0000 (10:41 -0800)]
Merge "Customize auto-brightness parameters" am:
a3931897fd
am:
59ec7199fa
* commit '
59ec7199fa2c8f37ae7be320eeb67281de45dd0a':
Customize auto-brightness parameters
Yohei Yukawa [Mon, 14 Dec 2015 18:39:19 +0000 (18:39 +0000)]
Merge "Rotate IMEs (subtypes) by Meta+Space."
Julia Reynolds [Mon, 14 Dec 2015 18:36:08 +0000 (18:36 +0000)]
Merge "resolve merge conflicts of
d1aa7ae6d7 to "
Julia Reynolds [Mon, 14 Dec 2015 18:32:36 +0000 (13:32 -0500)]
resolve merge conflicts of
d1aa7ae6d7 to master.
Change-Id: I544371082ed38652a47ed2e383a262f46f93e5a9
Wale Ogunwale [Mon, 14 Dec 2015 18:31:43 +0000 (10:31 -0800)]
Fixed bug with task record not updating to fullscreen sometimes
null is normally passed in to AMS.resizeStack API if the caller wants
to change the stack size to fullscreen. However, it is possible for the
caller to also pass in a bounds that corresponds to the fullscreen bounds
of the display the stack is on. When this happens, the call to window
manager to resize the stack correctly detects that the bounds is equal
to the fullsceen bounds of the display and sets the stack to fullscreen,
but the task record state isn't updated to fullscreen since they were
previously calculated on the activity manager side.
We now check if the bounds corresponds to the fullscreen bounds on the
activity manager side and set it to null so that the task record state
is correctly updated.
Bug:
25683717
Change-Id: Ife753c6e6c034fd8df663ab897d245f1d354bda7
Steve McKay [Mon, 14 Dec 2015 18:18:02 +0000 (18:18 +0000)]
Merge "Load Home directory by default."
Steve McKay [Wed, 9 Dec 2015 01:02:03 +0000 (17:02 -0800)]
Load Home directory by default.
Don't update toolbar before first root load.
This was causing Recents > Home flicker due
to Recents being the default root returned from getCurrentRoot.
Revert change causing regression in selection highlight.
Bug:
26093756
Change-Id: I2c555aa38d68e9bf7962b1407f9fc75c800216a6
Svetoslav Ganov [Mon, 14 Dec 2015 18:08:07 +0000 (10:08 -0800)]
Merge "Change signature|system permissions to signature|privileged"
am:
cfed01af4b
* commit '
cfed01af4bea6ff9025c31fbe3ed973f47529484':
Change signature|system permissions to signature|privileged
Geoff Mendal [Mon, 14 Dec 2015 17:57:56 +0000 (17:57 +0000)]
Merge "Import translations. DO NOT MERGE"
Michael Wright [Mon, 14 Dec 2015 17:54:02 +0000 (09:54 -0800)]
Merge "Customize auto-brightness parameters"
am:
a3931897fd
* commit '
a3931897fd4f8196288e37c712ab5490d846cb38':
Customize auto-brightness parameters
Svetoslav Ganov [Mon, 14 Dec 2015 17:53:15 +0000 (17:53 +0000)]
Merge "Change signature|system permissions to signature|privileged"
Michael Wright [Mon, 14 Dec 2015 17:38:58 +0000 (17:38 +0000)]
Merge "Customize auto-brightness parameters"
Julia Reynolds [Mon, 14 Dec 2015 17:13:56 +0000 (09:13 -0800)]
Merge "Fix volume expand arrow to be displayed correctly"
am:
caf1972dee
* commit '
caf1972dee1a63dcab130f9af1d066d6af9c38c2':
Fix volume expand arrow to be displayed correctly
Zoran Jovanovic [Thu, 10 Dec 2015 16:01:16 +0000 (17:01 +0100)]
Customize auto-brightness parameters
Auto-brightness parameters are device dependent so they should be
configurable.
The common issue with original values manifests as the screen being
perceived as too bright in dark rooms with minimum brightness and
also laginess on backlight change.
Change-Id: I2b040608bca73a3397c65c24d3b28a1514499ae6
Brad Ebinger [Mon, 14 Dec 2015 16:46:49 +0000 (08:46 -0800)]
Null pointer fix for StateMachine
Checks if StateMachine is null before calling callbacks.
Bug-Id:
26176787
Change-Id: I7ee92326e99e18a3b7045ccf098b52acfaff9a15
Geoff Mendal [Mon, 14 Dec 2015 16:54:50 +0000 (17:54 +0100)]
Import translations. DO NOT MERGE
Change-Id: Ie3ac7df99ed18d2f67d886a6b53a13deb86d9f71
Auto-generated-cl: translation import
Alan Viverette [Mon, 14 Dec 2015 16:42:44 +0000 (11:42 -0500)]
Only handle Context submenus as dialogs when parent is a dialog
Bug:
25656520
Change-Id: I5841d8f0c3d4a537e2d94aacddb1687d05d5c258
Julia Reynolds [Mon, 14 Dec 2015 16:39:49 +0000 (16:39 +0000)]
Merge "Fix volume expand arrow to be displayed correctly"
Winson Chung [Mon, 14 Dec 2015 16:35:02 +0000 (16:35 +0000)]
Merge "Revert "Saving the stack state when you rotate.""
Winson Chung [Mon, 14 Dec 2015 16:34:31 +0000 (16:34 +0000)]
Revert "Saving the stack state when you rotate."
This reverts commit
bf0be0a8030b91c7e75c23230c1f89a1536aa7eb.
Change-Id: I40b852889980473aea02828b5b0fe29c21951638
Winson Chung [Mon, 14 Dec 2015 16:34:29 +0000 (16:34 +0000)]
Merge "Revert "Removing historical tasks when packages are uninstalled.""
Winson Chung [Mon, 14 Dec 2015 16:34:12 +0000 (16:34 +0000)]
Revert "Removing historical tasks when packages are uninstalled."
This reverts commit
5d1413e7c391fdb1325c6833399c10a8448354dc.
Change-Id: I6ca79949b4c92a5825554b91f4350685fa605c8f
Winson Chung [Mon, 14 Dec 2015 16:34:00 +0000 (16:34 +0000)]
Revert "Fixing build."
This reverts commit
ae0803182a467ada59613fcbaf21b8a3537f8c2b.
Change-Id: Ieb797e73adfdbfc359ca413f49d56211ae6c70db
Winson Chung [Mon, 14 Dec 2015 16:19:38 +0000 (11:19 -0500)]
Fixing build.
Change-Id: I4bc5dcc5026179fe2021fb39c20319fbb8f4c5cb
Andreas Gampe [Mon, 14 Dec 2015 16:15:38 +0000 (16:15 +0000)]
Merge "Frameworks/base: Fix Notification code"
Winson Chung [Mon, 14 Dec 2015 15:40:41 +0000 (15:40 +0000)]
Merge "Removing historical tasks when packages are uninstalled."
Winson Chung [Mon, 14 Dec 2015 15:40:29 +0000 (15:40 +0000)]
Merge "Saving the stack state when you rotate."
Jason Monk [Mon, 14 Dec 2015 15:39:55 +0000 (15:39 +0000)]
Merge "Support dnd condition in Settings"
Winson Chung [Fri, 11 Dec 2015 15:25:57 +0000 (10:25 -0500)]
Removing historical tasks when packages are uninstalled.
Change-Id: I9eb1307264fab8dcace732af2290ca419fcc548a
Winson Chung [Fri, 11 Dec 2015 15:25:46 +0000 (10:25 -0500)]
Saving the stack state when you rotate.
- Saving the focus and stack scroll, along with
the history visibility on configuration change.
Change-Id: I159d2f0f6c58dac46cb3b16ee4d9e17c426ffb35
Winson Chung [Fri, 11 Dec 2015 15:23:59 +0000 (10:23 -0500)]
Fix: Affiliated tasks not showing when history is enabled.
- Because these tasks may not have valid
last-active times (they can be launched in the
background), the historical state should reflect
the task that they are affiliated with.
Bug:
26043228
Change-Id: I04db9effc371783a80bea80bd0a45b666269ead1
Alexander Toresson [Mon, 14 Dec 2015 15:10:04 +0000 (16:10 +0100)]
Fix volume expand arrow to be displayed correctly
Sometimes, the volume control expand arrow would be displayed
incorrectly. When different apps use different volume controls and
force different orientations, the position of the arrow (expand button)
will not be updated correctly. When this happens the arrow cannot be
pressed and the volume settings cannot be expanded.
The underlying reason is that onLayoutChange only compares the old
dimensions of a view with the new dimensions, which doesn't take into
account that the last time onLayoutChange was run it may have been run
for a different view (a different volume control), in which case the
dimensions of the new view may not have changed, but the arrow needs to
be repositioned anyway as it needs to be positioned in relation to
another view.
Fix this problem by storing the last stream (volume control) that the
arrow was positioned in relation to, and checking if we're positioning
in relation to the same stream the next time the position of the arrow
is updated.
Change-Id: Id23e7605d50857292e09c1909b3e27f01bdf5e22