Commit Graph

61771 Commits

Author SHA1 Message Date
Jeff Sharkey
620a28bad2 Merge "Mark more Bundles as being defusable." into nyc-dev 2016-03-18 19:54:52 +00:00
Greg Kaiser
b8768acda2 Merge "ContextHubManager: Rename Callback class." into nyc-dev 2016-03-18 19:02:54 +00:00
Jason Monk
1ce2abcf6d Merge "Fix QS FBE-ness" into nyc-dev 2016-03-18 18:41:39 +00:00
Tony Mantler
e6e08b4a5a Merge "Add safe-mode reboot to PowerManager" into nyc-dev 2016-03-18 18:40:21 +00:00
Tony Mantler
b8009fddd8 Add safe-mode reboot to PowerManager
b/12787723

Change-Id: If7e6ff63532b49b9e758db290a877f7dbfa8a8b7
2016-03-18 11:36:16 -07:00
Jason Monk
1c2fea8df7 Fix QS FBE-ness
- Get service info for encryption-unaware apps
 - SysUI assumes tiles in unavailable state when waiting for
   binding
 - Attempt rebind after unlock is complete
 - Fix random crash that was making testing hard

Bug: 26940789
Bug: 27556723
Change-Id: I0b3600d35d4c74bb0d6c47a34a7d267bb9731bc4
2016-03-18 14:31:42 -04:00
Jeff Sharkey
a04c7a7c64 Mark more Bundles as being defusable.
They're destined for the system, so they're okay to look inside.

Bug: 27726127
Change-Id: Ic85c308a8efe6f9b8652952717c72b3c663d328a
2016-03-18 12:20:39 -06:00
Jeff Sharkey
910e7726b3 Merge "Changes of root storage space unmounting time on Zygote Process" into nyc-dev 2016-03-18 17:44:55 +00:00
Gustav Sennton
79a23a093e Merge "Add utility interface for WebView preparation logic." into nyc-dev 2016-03-18 17:30:12 +00:00
Greg Kaiser
6ba60e6049 ContextHubManager: Rename Callback class.
Since this Callback class is scoped within ContextHubManager, we
remove the redundant ContextHub from the name.  This CL is just
a rename and should not modify any behavior.

Change-Id: I40fea3ab7b5312d32a6f22b7543669ed563b9992
2016-03-18 10:29:29 -07:00
Alan Viverette
46b5258138 Merge "Revert linear layout weight distribution algorithm" into nyc-dev 2016-03-18 17:08:15 +00:00
Adam Powell
386f78530d Merge "New string for resolving ACTION_SENDTO intents" into nyc-dev 2016-03-18 16:41:31 +00:00
Adam Powell
13ea8f48ab New string for resolving ACTION_SENDTO intents
"Share" didn't make much sense here since SENDTO is used for sending
content to a specific recipient, e.g. emailing a person from their
Contacts page in the dialer.

Bug 23626568

Change-Id: I8ac4f2aee5c41aa6c2d546b39283c6f22127cefe
2016-03-18 09:39:41 -07:00
Jeff Sharkey
2a4e495448 Merge "Update direct boot related documentation." into nyc-dev 2016-03-18 16:32:16 +00:00
doheon1.lee
885b742bb6 Changes of root storage space unmounting time on Zygote Process
Zygote process forks every child process for launch the SystemServer and other
applications. When child process is forked, unmount storage inherited
from Zygote process is executed before it gains its own root storage
space.
If Zygote have no storage spaces, unmount operations not needed to
get relevant permission storage space.
Thus unmount is executed only once shortly before the SystemServer is forked.
And the child processes do not unmount its inherited root storage space.

Change-Id: I311ca7ea2c93085f42579f8cf8bdc7ef1d570a04
2016-03-18 10:31:31 -06:00
Phil Weaver
b2cc929657 Merge "Update a11y gesture and magnification APIs." into nyc-dev 2016-03-18 15:52:29 +00:00
Gustav Sennton
8b17926a78 Add utility interface for WebView preparation logic.
To make the WebView preparation mechanism testable we add a utility
interface that can be overridden during a test to avoid calling the
Android framework and to provide custom WebView packages.

With this change we also split some of the code from the WebViewFactory
(code unrelated to WebView loading) into a separate utility class.

Bug: 27635535
Change-Id: I265ecd42b24ad5383637e125b3654ff339c9df9c
2016-03-18 15:47:23 +00:00
Abodunrinwa Toki
2e303d20c6 Merge "FloatingToolbar: Hide panels when they're invisible." into nyc-dev 2016-03-18 15:29:29 +00:00
Phil Weaver
3b2e22a004 Merge "Add intdef for UiAutomation flags." into nyc-dev 2016-03-18 15:08:45 +00:00
Kirill Grouchnikov
fa89fbb9c3 Merge "Tweak Javadocs of ListPopupWindow.onKeyXXX" into nyc-dev 2016-03-18 14:49:36 +00:00
Alan Viverette
bb09b7bf59 Merge "Clean up docs, attrs, and APIs for PopupWindow enter/exit transitions" into nyc-dev 2016-03-18 14:18:28 +00:00
Alan Viverette
1e940dc2d1 Clean up docs, attrs, and APIs for PopupWindow enter/exit transitions
Bug: 27654124
Change-Id: I9a323eeea464b4b9ca6111ef47192fdbcc5bca24
2016-03-18 09:55:10 -04:00
Gustav Sennton
eedcdb0452 Merge "Remove WebView-package-being-replaced logic from WebViewUpdateService." into nyc-dev 2016-03-18 10:52:34 +00:00
Alan Viverette
918f886966 Revert linear layout weight distribution algorithm
Ensures that weight is fully (though not necessarily evenly) distributed.
Previously, we could end up with extra undistributed pixels at the end.

Bug: 27690033
Change-Id: If3db83f33145500fa8be006f373c54297733e76f
2016-03-18 02:21:35 +00:00
Jeff Sharkey
cf3f0a11a8 Update direct boot related documentation.
Also hide a few APIs as requested by council.  Add a method to
easily determine if a given File would already be encrypted at rest
by the OS.

Bug: 27531029
Change-Id: Icad5f1cd56411ad3ac707db85fd7449acdcc4b94
2016-03-17 19:58:05 -06:00
Abhijith Shastry
f69a5717db Merge "Update canCurrentUserBlockNumbers permissions javadoc." into nyc-dev 2016-03-18 01:13:08 +00:00
Adam Powell
a17fa708e7 Merge "Dispatch aggregated visibility when performing attachViewToParent" into nyc-dev 2016-03-18 01:12:58 +00:00
Abhijith Shastry
3c8cd6acd7 Update canCurrentUserBlockNumbers permissions javadoc.
BUG: 27719849
Change-Id: I70ca39b572a8ae3349f6e162655e301ad2aaabb0
2016-03-17 17:03:39 -07:00
Chien-Yu Chen
9d78716131 Merge "Camera2: Reconnect camera service for listeners" into nyc-dev 2016-03-17 23:37:14 +00:00
Makoto Onuki
45c1827c37 Merge "Improve ShortcutSrvice" into nyc-dev 2016-03-17 23:33:04 +00:00
Adam Powell
c5874094eb Dispatch aggregated visibility when performing attachViewToParent
attachViewToParent is generally used for finishing a temporary detach
of a view as seen in ListView, etc. Have it dispatch aggregated
visibility to the newly added view so as to correctly update the view
as to its new state.

Bug 27702014

Change-Id: Ie8a67c78d3edf401641d52ce10bddf7cb49796fe
2016-03-17 16:27:24 -07:00
Siyamed Sinir
e7a414e16d Merge "Do not use hint text for Editor cursor positioning" into nyc-dev 2016-03-17 22:58:35 +00:00
Phil Weaver
6fdd3afdcc Merge "Treat accessibility actions as user activity" into nyc-dev 2016-03-17 22:19:17 +00:00
Jeff Sharkey
a0a58a2fd5 Merge "Refactoring FBE APIs based on council feedback." into nyc-dev 2016-03-17 22:00:26 +00:00
Makoto Onuki
aa8b94aa79 Improve ShortcutSrvice
- Delayed save
- Reset logic update

Bug 27548047

Change-Id: Ibd52f90a7986991974301b7ff1f1d8520f9ef0d9
2016-03-17 14:37:14 -07:00
Jeff Sharkey
8a372a0a28 Refactoring FBE APIs based on council feedback.
Mostly consists of removing the word "encryption" from most APIs,
since we can't actually make promises about the data being encrypted.

Bug: 27531029
Change-Id: Iace9d7c4e64716abf86ed11847c40f3947e1d625
2016-03-17 14:49:08 -06:00
Gustav Sennton
26c82fff09 Remove WebView-package-being-replaced logic from WebViewUpdateService.
The replacing-logic tries to handle packages being uninstalled while
being replaced. This can't be handled through listening to
package-replaced intents since those can be delivered long after the
actual problem occurs.

Bug: 27605997
Change-Id: Iba8e546a5bba1ceb6226d4edb71db088c81ae1a9
2016-03-17 20:29:43 +00:00
Sudheer Shanka
54f4a630dc Merge "Fix a race condition in SeekBarVolumizer." into nyc-dev 2016-03-17 20:02:36 +00:00
Adrian Roos
237be37fad Merge "Copy/Paste on RemoteInputView" into nyc-dev 2016-03-17 19:55:19 +00:00
Andrii Kulian
30b93a6d9d Merge "Add additional logging for incorrect activity stop" into nyc-dev 2016-03-17 19:19:20 +00:00
Sudheer Shanka
33194351fe Fix a race condition in SeekBarVolumizer.
Bug: 27355876
Bug: 27355810
Bug: 27355145
Change-Id: Ie33bf6aa92834076e3b8cf394c4d86400fb67592
2016-03-17 12:09:09 -07:00
Adrian Roos
c2b2104619 Merge "Fix action container visibility" into nyc-dev 2016-03-17 19:07:01 +00:00
Adrian Roos
7052de55ed Fix action container visibility
Bug: 27720398
Fixes: 27720398
Change-Id: I8ca4430c182ffdef81f5752d5d1bea0a4975e63f
2016-03-17 19:06:18 +00:00
Abodunrinwa Toki
0cf648917f FloatingToolbar: Hide panels when they're invisible.
This patch sets the visibility of a panel to INVISIBLE when it's
alpha is 0. This will ensure that a user cannot interact with a
view that cannot be seen. Not doing this resulted in a bug where
the user will tap on an area of the toolbar and activate an
unintended action.

It also removes the redundant mResetOverflowButtonDrawable. It's
actions are already performed in setPanelsStatesAtRestingPosition.

Bug: 27693433
Change-Id: Iafcde23622c7d1604924c520f6748fdbb8b135e7
2016-03-17 18:55:47 +00:00
Jeremy Joslin
30db6d9325 Add a meteredHint to ScoredNetwork.
am: 85870d6

* commit '85870d63749b34aed7ad47ae288aebe6d11d8724':
  Add a meteredHint to ScoredNetwork.
2016-03-17 18:48:59 +00:00
Adrian Roos
0bd8a4b29b Copy/Paste on RemoteInputView
Also fixes a bug where the remote input view stays focused
when the inline settings open.

Also prevents sharing from contexts that are not activities,
and prevents text processing when the device is not provisioned.

Bug: 27633360
Change-Id: I8b6e7f661bd873d88e7e2460d043c2aa5f849516
2016-03-17 18:43:55 +00:00
Selim Gurun
ed738393af Merge "Revert "Revert "Add some View methods overrides and WebViewDelegate interfaces.""" into nyc-dev 2016-03-17 18:27:54 +00:00
Yohei Yukawa
8e1adec177 Merge "Remove an unused constructor of InputMethodSettings." into nyc-dev 2016-03-17 18:13:03 +00:00
Chien-Yu Chen
0ac408ef43 Camera2: Reconnect camera service for listeners
Reconnect to camera service if camera service is down when
registering a device availability or torch status listener.

Bug: 22483263
Change-Id: I56868b301151175e18aa1932a8b903e840bcac50
2016-03-17 10:51:25 -07:00
Jeremy Joslin
85870d6374 Add a meteredHint to ScoredNetwork.
API changes to allow a meteredHint to be passed
from a network scorer through to the wifi subsystem.

BUG:27702356
Change-Id: Ic466852d855af54c1754c4663388f24f54ed0691
2016-03-17 10:48:36 -07:00