OSDN Git Service
Jason Monk [Wed, 17 Feb 2016 13:53:28 +0000 (08:53 -0500)]
Fixes and changes to support settings using UsageView
Bug:
27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f
Sergey Poromov [Wed, 17 Feb 2016 13:46:19 +0000 (13:46 +0000)]
Merge "Fix BackupTransport#getBackupQuota() javadoc." into nyc-dev
Sergey Poromov [Wed, 17 Feb 2016 13:46:00 +0000 (13:46 +0000)]
Merge "Synchronize results from runner thread to main full backup thread." into nyc-dev
Geoff Mendal [Wed, 17 Feb 2016 13:30:05 +0000 (13:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 17 Feb 2016 13:27:36 +0000 (08:27 -0500)]
Import translations. DO NOT MERGE
Change-Id: I01c7b9f2ca1bdff55f474ddf2020051cb09d4b71
Auto-generated-cl: translation import
Sergey Poromov [Tue, 9 Feb 2016 20:13:45 +0000 (21:13 +0100)]
Synchronize results from runner thread to main full backup thread.
Previously, all results from runner thread - both for preflight
or full backup pass were ignored.
This change adds two synchronized method to get preflight result
and result of full backup pass.
This leads to better coverage of AGENT_ERROR to return in callback
as a result of backup operation.
On the other side we won't start backup pass in main thread
if preflight check hasn't been succeeded.
Change-Id: Id5f9e4c956a1bd5c396d59b7ad2098139a15e69d
Erik Kline [Wed, 17 Feb 2016 13:06:49 +0000 (13:06 +0000)]
Remove references to BaseDhcpStateMachine and DhcpStateMachine
am:
29a215268d
* commit '
29a215268dfa18f5023dc3c06b33db68e91ae316':
Remove references to BaseDhcpStateMachine and DhcpStateMachine
Erik Kline [Wed, 17 Feb 2016 12:44:25 +0000 (21:44 +0900)]
Remove references to BaseDhcpStateMachine and DhcpStateMachine
Bug:
26991160
Change-Id: I3742780a4e5121c163d9d1380951e25edaba19f3
Erik Kline [Wed, 17 Feb 2016 12:20:19 +0000 (12:20 +0000)]
Add IpManager#shutdown() to terminate the state machine.
am:
b1ee39540e
* commit '
b1ee39540ead2e4ee74d4dba9ee1b84211766221':
Add IpManager#shutdown() to terminate the state machine.
Andrei Stingaceanu [Fri, 12 Feb 2016 18:38:19 +0000 (18:38 +0000)]
Suspend packages - decline suspending the active launcher
Bug:
26953019
Bug:
26683041
Bug:
22776761
Change-Id: I7b65abff03aa32f5db8dce68364467a588facdac
Andrei Stingaceanu [Wed, 17 Feb 2016 11:57:50 +0000 (11:57 +0000)]
Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev
Erik Kline [Wed, 17 Feb 2016 09:02:51 +0000 (18:02 +0900)]
Add IpManager#shutdown() to terminate the state machine.
Additionally, remove IpManager.Callback#usingIpReachabilityMonitor()
now that this is now longer used.
Bug:
26991160
Change-Id: I9a17497c82238a9fb37a20d01aeca7bc4913ae2c
Tomasz Mikolajewski [Wed, 17 Feb 2016 11:34:11 +0000 (11:34 +0000)]
Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev
Michal Karpinski [Wed, 17 Feb 2016 10:53:18 +0000 (10:53 +0000)]
Merge "Remote bugreport notifications rework" into nyc-dev
Florian Salbrechter [Wed, 17 Feb 2016 10:12:55 +0000 (10:12 +0000)]
Merge "Fix bug in IntentService and Service example code." into nyc-dev
Daichi Hirono [Sat, 6 Feb 2016 12:05:57 +0000 (21:05 +0900)]
Use device key to map device documents.
The CL introduces MAPPING_KEY column to the database and lets Mapper use
the column to map IDs of devices.
It also removes the concept of mapping mode from Mapper for
simplyfing. Now Mapper just tries to multiple mapping keys (MTP
identifier, display name, and mapping key) to find candidate of ID
mapping.
BUG=
26212981
Change-Id: I19f6c7dac146047e9978de4eb33d5076406037ad
(cherry picked from commit
637a2010f4a0c0484b13c4cb87aa2858bdf079b2)
Tomasz Mikolajewski [Wed, 17 Feb 2016 07:04:16 +0000 (07:04 +0000)]
Merge "Provide siblings in a sorted orders in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Wed, 17 Feb 2016 07:02:54 +0000 (07:02 +0000)]
Merge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev
Seigo Nonaka [Wed, 17 Feb 2016 06:42:13 +0000 (06:42 +0000)]
Merge "Improve backspace for emoji and variation sequences." into nyc-dev
Seigo Nonaka [Thu, 21 Jan 2016 10:47:21 +0000 (19:47 +0900)]
Improve backspace for emoji and variation sequences.
This CL makes backspace handling aware of variation selector, combining
enclosing keycaps, zero width joiner, regional indicator symbols and
emoji modifiers.
BUG:
25737208
Change-Id: I740578bfee955cc623e2831778e5b7ec4b8cb627
Jorim Jaggi [Sat, 13 Feb 2016 00:55:18 +0000 (16:55 -0800)]
Fix recents transitions
- Also animate when there is no thumbnail, which can frequently
happen after exiting multi-window.
- Also animate when the target stack id is INVALID, because we
currently don't persist stack id's in the tasks.
Change-Id: I280c85e62f55d712408a3e77c43f665acb19bc4c
Jae Seo [Wed, 17 Feb 2016 02:52:42 +0000 (02:52 +0000)]
Merge "TIF: Rename setTvInputInfo to updateTvInputInfo" into nyc-dev
Chong Zhang [Wed, 17 Feb 2016 01:03:19 +0000 (01:03 +0000)]
Merge "Remove AM/WM traces" into nyc-dev
Chong Zhang [Wed, 17 Feb 2016 00:58:37 +0000 (16:58 -0800)]
Remove AM/WM traces
Change-Id: I75f70ce18bf133527b33d42148c71c3fd1be9311
Nathan Harold [Wed, 17 Feb 2016 00:52:29 +0000 (00:52 +0000)]
Merge "Create BandMode Constants" into mm-wireless-dev
am:
e629c06730
* commit '
e629c067308964659a5886921642920cd2e1f2f4':
Create BandMode Constants
Chong Zhang [Wed, 17 Feb 2016 00:47:40 +0000 (00:47 +0000)]
Merge "Clear mPendingScreenOff and stop color fade animiation if screen is on" into nyc-dev
Felipe Leme [Wed, 17 Feb 2016 00:46:36 +0000 (00:46 +0000)]
Merge "Added option to check if an app is whitelisted for deviceidle." into nyc-dev
Felipe Leme [Wed, 17 Feb 2016 00:46:14 +0000 (00:46 +0000)]
Merge "Added extra check to avoid NPE if package does not exist." into nyc-dev
Nathan Harold [Wed, 17 Feb 2016 00:44:12 +0000 (00:44 +0000)]
Merge "Create BandMode Constants" into mm-wireless-dev
Chong Zhang [Wed, 17 Feb 2016 00:31:48 +0000 (16:31 -0800)]
Clear mPendingScreenOff and stop color fade animiation if screen is on
bug:
24116819
Change-Id: I4a962878001b00daf5473d90cbd257ac318c0446
Felipe Leme [Wed, 17 Feb 2016 00:26:05 +0000 (16:26 -0800)]
Added extra check to avoid NPE if package does not exist.
BUG:
26685616
Change-Id: I244e479fd9668bc4f07b8797ce2fc1e1df7a4d28
Jae Seo [Sat, 13 Feb 2016 09:38:08 +0000 (01:38 -0800)]
TIF: Rename setTvInputInfo to updateTvInputInfo
As TvInputInfo includes many complex objects as fields, it is not
practical to check whether an existing TvInputInfo has actually
"changed" by using simple comparisons when a new TvInputInfo object is
set by a TV input service.
This code change renames
- setTvInputInfo to updateTvInputInfo
- onTvInputInfoChanged to onTvInputInfoUpdated
to indicate that the callback is mechanically invoked whenever
updateTvInputInfo method is called.
Change-Id: Ia351b3591d0ed9da962311546f0ba51158e6478e
Doris Liu [Tue, 16 Feb 2016 23:38:56 +0000 (23:38 +0000)]
Merge "Check RenderNode's owning view before attaching animators" into nyc-dev
Doris Liu [Tue, 16 Feb 2016 23:38:42 +0000 (23:38 +0000)]
Merge "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY""" into nyc-dev
Keisuke Kuroyanagi [Tue, 16 Feb 2016 23:26:31 +0000 (23:26 +0000)]
Merge "Make scrollbar draggable only when it's visible." into nyc-dev
Siyamed Sinir [Tue, 16 Feb 2016 22:37:53 +0000 (22:37 +0000)]
Merge "Ellipsized and Non-ellipsized baselines should be same." into nyc-dev
Wale Ogunwale [Tue, 16 Feb 2016 22:32:22 +0000 (22:32 +0000)]
Merge changes from topic 'flaky-test' into nyc-dev
* changes:
Fixed issue with losing window name when copying WindowManager.LayoutParams
Added AM API to remove a stack
Don't resume activity on start if there are activities pausing.
Doris Liu [Fri, 12 Feb 2016 04:08:10 +0000 (20:08 -0800)]
Check RenderNode's owning view before attaching animators
-Only add animators to a RenderNode when its owning view is attached
-When changing animator's target RenderNode, remove the animator from
the old target RenderNode that it's currently running on, if any.
Bug:
27141983
Bug:
27145149
Change-Id: I9c9592382d64ecc0390f7ec743a59ce1ad7d9798
Selim Gurun [Tue, 16 Feb 2016 22:17:41 +0000 (22:17 +0000)]
Merge "Better document the ignore behavior for client cert api" into nyc-dev
George Mount [Tue, 16 Feb 2016 21:38:01 +0000 (21:38 +0000)]
Merge "Fix TransitionSet javadoc to use transitionOrdering attribute." into nyc-dev
George Mount [Tue, 16 Feb 2016 21:37:39 +0000 (21:37 +0000)]
Merge "Don't use forceVisibility for Activity Transitions." into nyc-dev
Jason Monk [Tue, 16 Feb 2016 21:26:24 +0000 (21:26 +0000)]
Merge "Battery graph in QS Detail" into nyc-dev
Jason Monk [Thu, 11 Feb 2016 16:33:09 +0000 (11:33 -0500)]
Battery graph in QS Detail
Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.
Use that graph in the battery detail panel to show more stuffs.
Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
Svetoslav Ganov [Thu, 11 Feb 2016 16:50:43 +0000 (08:50 -0800)]
Fail fast when trying to delete a non-existing pacakge.
bug:
26921392
Change-Id: I518cc43f3b1b28bd239093feead46107c62eb419
Makoto Onuki [Tue, 16 Feb 2016 20:47:09 +0000 (20:47 +0000)]
Merge "Don't allow deactivating DAs when the user is not unlocked" into nyc-dev
Selim Gurun [Tue, 16 Feb 2016 20:30:08 +0000 (12:30 -0800)]
Better document the ignore behavior for client cert api
Bug:
26361557
When the embedded app requests a ignore of a client cert request,
webview does not cache the response of the app. However, underlying
layers could. Clarify the document.
Change-Id: I43e6a4c91727f71c88ca69e1334f64de9f66905a
Andreas Gampe [Tue, 16 Feb 2016 19:47:31 +0000 (19:47 +0000)]
Merge "Frameworks/base: Fix registration function" into nyc-dev
Esteban Talavera [Tue, 16 Feb 2016 19:29:06 +0000 (19:29 +0000)]
Merge "Let admin disable fingerprint for the work challenge" into nyc-dev
Alan Viverette [Tue, 16 Feb 2016 19:05:59 +0000 (19:05 +0000)]
Merge "Force uniform width for MATCH_PARENT in AlertDialogLayout" into nyc-dev
Leon Scroggins [Tue, 16 Feb 2016 19:02:45 +0000 (19:02 +0000)]
Merge "Clean up some Skia includes" into nyc-dev
Robin Lee [Tue, 16 Feb 2016 18:56:52 +0000 (18:56 +0000)]
Merge "Auto-call prepare() for new always-on VPNs" into nyc-dev
Andreas Gampe [Tue, 16 Feb 2016 18:09:31 +0000 (10:09 -0800)]
Frameworks/base: Fix registration function
Registration functions return "int."
Change-Id: Icb8d35f3bc23794cdb22db1c1adda236c9d8676e
Adam Lesinski [Tue, 16 Feb 2016 18:34:27 +0000 (18:34 +0000)]
Merge "Fix up some small resource issues" into nyc-dev
Aga Wronska [Tue, 16 Feb 2016 18:29:49 +0000 (18:29 +0000)]
Merge "Fix focus issues in directory fragment * Empty directory view gets focus when shown * Skip opening drawer when showing empty search results * Fix typo" into nyc-dev
Aga Wronska [Fri, 12 Feb 2016 17:15:32 +0000 (09:15 -0800)]
Fix focus issues in directory fragment
* Empty directory view gets focus when shown
* Skip opening drawer when showing empty search results
* Fix typo
Bug:
27109140
Change-Id: Ie62d48e1c3f78e5244d88067587b3e5986f99a03
Peter Qiu [Tue, 16 Feb 2016 18:14:42 +0000 (18:14 +0000)]
Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev
am:
03d7581cf6
* commit '
03d7581cf6dcc8072fe22c834513593a46fcf93b':
WifiConfiguration: add constants for radio band
Wale Ogunwale [Mon, 15 Feb 2016 16:28:47 +0000 (08:28 -0800)]
Fixed issue with losing window name when copying WindowManager.LayoutParams
It is possible for the WindowManager.LayoutParams set from a view/window on
the client side not to have the LayoutParams.mTitle set. This is normally
not an issue as we later set it to the package name before passing the
LayoutParams to window manager. However, we rely on the full window name
in order to identify unique windows during CTS hostside tests. We now
retain the current LayoutParams.mTitle if the LayoutParams we are copying
form didn't set one.
Bug:
26982752
Change-Id: Icc3c5937391ed1646c3777921c6f61c27ebec05d
Wale Ogunwale [Fri, 12 Feb 2016 20:56:32 +0000 (12:56 -0800)]
Added AM API to remove a stack
Use the new API when closing Pip.
Bug:
26982752
Change-Id: I074d23b5535a4534626183ab77142d3932a803f0
Wale Ogunwale [Fri, 12 Feb 2016 20:22:19 +0000 (12:22 -0800)]
Don't resume activity on start if there are activities pausing.
The path to start an activity if it isn't running was unconditionally
resuming the starting activity which we don't do if there are activities
pausing. It now starts the activity in a paused state if other activities
are pausing. It is then resumed when pause completes.
Also, improved logging in BoundsAnimationController and removed some
disabled code that has been in the codebase for 6yrs...
Bug:
26982752
Change-Id: Ie042fc938331127f1270fca1b5905b067b9dae7c
Alan Viverette [Tue, 16 Feb 2016 17:53:36 +0000 (12:53 -0500)]
Force uniform width for MATCH_PARENT in AlertDialogLayout
The initial layout passes run using whatever was specified by the
parent, which ensures that TOO_SMALL will get set correctly when
needed. The final layout pass runs as EXACTLY to ensure that
MATCH_PARENT widths are correctly set.
Bug:
27030200
Change-Id: Ia7af3f75746e725761e78e7c4eefb0b31f499113
Peter Qiu [Tue, 16 Feb 2016 18:04:13 +0000 (18:04 +0000)]
Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev
Wale Ogunwale [Tue, 16 Feb 2016 17:54:32 +0000 (17:54 +0000)]
Merge "Force resize pre-N apps that don't have fixed orientation." into nyc-dev
Florian Salbrechter [Mon, 8 Feb 2016 13:36:43 +0000 (13:36 +0000)]
Fix bug in IntentService and Service example code.
Use Thread.sleep instead of Object.wait which simplifies the example.
Also there is a tiny chance, that wait will be called with 0, which
blocks forever.
Change-Id: I4cf90a33089a64bdf802620350f76af08f15f721
(cherry picked from commit
77d8857ed58503669e0659989c02fb7f1ca936b4)
Winson Chung [Tue, 16 Feb 2016 17:32:35 +0000 (17:32 +0000)]
Merge "Adding null check for invalid activity" into nyc-dev
Winson [Tue, 16 Feb 2016 17:28:54 +0000 (09:28 -0800)]
Adding null check for invalid activity
Bug:
24569398
Change-Id: I509bacaab810407a3d4b44781f698b5c76a6af8a
Dongwon Kang [Tue, 16 Feb 2016 17:22:07 +0000 (17:22 +0000)]
Merge "TIF: Unhide TvInputInfo.isHidden/loadCustomLabel" into nyc-dev
Jaewan Kim [Tue, 16 Feb 2016 17:11:57 +0000 (17:11 +0000)]
Merge "Revert "PIP: Use long press HOME for PIP on Android TV (2/2)"" into nyc-dev
Jaewan Kim [Fri, 12 Feb 2016 10:01:02 +0000 (19:01 +0900)]
Revert "PIP: Use long press HOME for PIP on Android TV (2/2)"
Long press HOME will launch recents instead.
Bug:
27159966
Change-Id: I9a4fd847d716d7e4e4754c7a9c48628c46f82233
Sergey Poromov [Tue, 16 Feb 2016 17:04:35 +0000 (18:04 +0100)]
Fix BackupTransport#getBackupQuota() javadoc.
Change-Id: Ifff3329c618dabd2e73011439a2ddce2f0eeabf6
Jeff Sharkey [Tue, 16 Feb 2016 16:48:29 +0000 (16:48 +0000)]
Merge "More protected broadcasts." into nyc-dev
Jeff Sharkey [Tue, 16 Feb 2016 16:47:47 +0000 (16:47 +0000)]
Merge "Disable StrictMode when starting activity." into nyc-dev
Tao Bao [Tue, 16 Feb 2016 16:46:53 +0000 (16:46 +0000)]
Merge "BootReceiver: Stop using SharedPreferences." into nyc-dev
Jeff Sharkey [Tue, 16 Feb 2016 16:41:54 +0000 (09:41 -0700)]
More protected broadcasts.
These actions are owned by the system and should not be sent by
third-party apps for security reasons.
Bug:
27171917,
27169730,
27172357,
27163393
Change-Id: I3161cd3c1c37d26a92723b22878dc5aef6f30c47
Michal Karpinski [Mon, 15 Feb 2016 16:45:36 +0000 (16:45 +0000)]
Remote bugreport notifications rework
Merging two notifications into one.
Bug:
27095707
Change-Id: Ib6582dabb7370f9b3b6e673b19ab43b70c73433a
Leon Scroggins III [Tue, 16 Feb 2016 15:20:11 +0000 (10:20 -0500)]
Clean up some Skia includes
Neither of these files need SkScalerContext.h. Remove those includes.
One really needs SkGlyph.h, so include it instead.
Change-Id: Ic7cfce9e7784c9290c5a2dfdd8385b65d32f9b76
Jeff Sharkey [Tue, 16 Feb 2016 16:21:51 +0000 (09:21 -0700)]
Disable StrictMode when starting activity.
Since intents can come in from older apps, don't let them crash us
by including file:// Uris. This narrows the relaxation to only apply
when starting the requested intent.
Bug:
27070755
Change-Id: Ifcf9068424e072f52758c8feeab5fbf23d678a2e
Rubin Xu [Tue, 16 Feb 2016 16:12:44 +0000 (16:12 +0000)]
Merge "Initialize mTiles before constructing AutoTileManager" into nyc-dev
Yohei Yukawa [Tue, 16 Feb 2016 16:11:49 +0000 (16:11 +0000)]
Merge changes I0f79243e,Ia27e19f9,Iec6b89f0,I276c7eb0 into nyc-dev
* changes:
Have unified setter/getter for Secure Settings.
Remove redundant arguments.
Use Context#getSystemService(Class<T>) in IMMS.
Use Java7 diamond operator in InputMethodUtils.
Jason Monk [Tue, 16 Feb 2016 15:40:47 +0000 (15:40 +0000)]
Merge "Add missing cast tile" into nyc-dev
Jason Monk [Tue, 16 Feb 2016 15:39:04 +0000 (10:39 -0500)]
Add missing cast tile
Bug:
27061481
Change-Id: Icf037b199c382096d2145a7b3a169be2f6079e54
George Mount [Tue, 16 Feb 2016 15:20:42 +0000 (15:20 +0000)]
Merge "Null check for fade start alpha value." into nyc-dev
George Mount [Tue, 16 Feb 2016 15:19:03 +0000 (15:19 +0000)]
Merge "Set the hover state to the same as focus state in RippleDrawable." into nyc-dev
Neil Fuller [Tue, 16 Feb 2016 15:01:43 +0000 (15:01 +0000)]
Merge "Fix a compilation error due to 1.8 type inference differences" into nyc-dev
Jason Monk [Tue, 16 Feb 2016 15:01:32 +0000 (15:01 +0000)]
Merge "Fix RTL in Nav Bar" into nyc-dev
Andrei Stingaceanu [Fri, 12 Feb 2016 16:43:51 +0000 (16:43 +0000)]
Suspend packages - new API for retrieving the suspended status
Instead of always rebuilding the full ApplicationInfo for a
package when callers are only interested in the suspended status
add a new fast API in Packagemanager (which only checks the
suspended user setting for the requested package and returns
a boolean) and change the appropriate caller code too.
Bug:
26794775
Bug:
22776761
Change-Id: Ide8428ef734479360d5a8a75fd8e0ed8ddf2da7a
Shreyas Basarge [Tue, 16 Feb 2016 14:55:43 +0000 (14:55 +0000)]
Merge "Fixes JobScheduler not persisting flex and sourcePackage" into nyc-dev
Leon Scroggins [Tue, 16 Feb 2016 14:51:35 +0000 (14:51 +0000)]
Merge "use std factory for compose-shader" into nyc-dev
Erik Kline [Tue, 16 Feb 2016 10:15:09 +0000 (10:15 +0000)]
Add IpManager.ProvisioningRequest class
am:
93b1a36e31
* commit '
93b1a36e31b42c5b33a0164f2832ab9aa12d9a00':
Add IpManager.ProvisioningRequest class
Erik Kline [Thu, 11 Feb 2016 11:36:41 +0000 (20:36 +0900)]
Add IpManager.ProvisioningRequest class
This class captures provisioning request parameters to be passed to
IpManager#startProvisioning().
Bug:
26991160
Change-Id: I56652bbc4b9ae6cfca3f225a8d99cdfc01bb54d9
Tomasz Mikolajewski [Tue, 16 Feb 2016 03:28:43 +0000 (12:28 +0900)]
Provide siblings in a sorted orders in DocumentsUI.
Bug:
27192158
Change-Id: Idefd2ba3027cd4630fcd2aefade9e6b4952e7125
Arunesh Mishra [Tue, 16 Feb 2016 08:09:44 +0000 (08:09 +0000)]
Merge "Fix boot loop problem for volantis." into nyc-dev
Arunesh Mishra [Tue, 16 Feb 2016 07:50:38 +0000 (23:50 -0800)]
Fix boot loop problem for volantis.
Bug:
27192965
Change-Id: I90febaf6a750d539847f45c2795d74b2a4b69f02
Tomasz Mikolajewski [Tue, 16 Feb 2016 08:04:36 +0000 (08:04 +0000)]
Merge "Display correct icons in grid view." into nyc-dev
Tomasz Mikolajewski [Tue, 16 Feb 2016 03:28:43 +0000 (12:28 +0900)]
Display correct icons in grid view.
Bug:
27183062
Change-Id: I4c0fafc7bc6f0e2dc3d1cbdf3debf6312bb85d82
Sungsoo Lim [Tue, 16 Feb 2016 06:20:16 +0000 (15:20 +0900)]
Minor changes on MediaBrowser
- Rename add and remove in Subscription putCallback and removeCallback
for better readability.
- Fix a broken link of javadoc.
Change-Id: If41941d1134d4ee6ef953932ca572f5d445a2aff
Wale Ogunwale [Tue, 16 Feb 2016 03:31:50 +0000 (19:31 -0800)]
Force resize pre-N apps that don't have fixed orientation.
We were previously only doing it for SCREEN_ORIENTATION_UNSPECIFIED,
but there are other orientation settings that aren't fixed that we
need to handle.
Change-Id: If21fcd8312b6267407d94b6646158ac6eae44b44
Winson Chung [Tue, 16 Feb 2016 01:46:08 +0000 (01:46 +0000)]
Merge "Better focus handling after dismissing task/scrolling." into nyc-dev
Winson [Tue, 16 Feb 2016 01:43:01 +0000 (17:43 -0800)]
Better focus handling after dismissing task/scrolling.
- When there is no focused task, focus the next task closest to the
stack scroll in the focus direction.
- Fixing small regression where no task would focus when alt-tabbing
because the index was out of bounds.
Change-Id: I2555c9340f40affc371f52d51d88af0eeda53b2e
Jeff Sharkey [Tue, 16 Feb 2016 01:38:04 +0000 (01:38 +0000)]
Merge "Add path cache to avoid SharedPreferences jank." into nyc-dev
Jeff Sharkey [Tue, 16 Feb 2016 01:35:57 +0000 (18:35 -0700)]
Add path cache to avoid SharedPreferences jank.
The old getSharedPreferences() API had a side-effect behavior that
subsequent calls wouldn't touch disk if there was a cache hit. Now
that we're using File as the cache key, we were generating the path
every time, which resulted in touching disk.
To bring back the old behavior, let's add yet another cache!
Bug:
26979210
Change-Id: Ib8346c6f69ae25f8f164e3b7e05bc6358de38906