21263 Commits

Author SHA1 Message Date
Daichi Hirono
8414c671bd Merge "Fix compile error introduced by ag/842950." 2016-01-15 07:59:52 +00:00
Daichi Hirono
fab4a97a79 Fix compile error introduced by ag/842950.
BUG=25756419

Change-Id: I8ac270946b3915c02b21a07cf0a9c5b62d69effc
2016-01-15 16:54:24 +09:00
Daichi Hirono
111490a8e4 Merge "Fix AppFuse JNI." 2016-01-15 06:08:36 +00:00
Daichi Hirono
2153e822ee Fix AppFuse JNI.
* Return attributes for all files as well as root.
 * Fix buffer size for reading and add a check for reading size.

BUG=25756419

Change-Id: I572f718bc01d96616ec94f85d800b8b57eedd2ea
2016-01-15 13:45:47 +09:00
Winson
6ea2588a5d Fixing issue with action button not showing/animating.
- The system flags need to be reread when the task stack is reset.
- Since we check for alpha before doing the animation, we need to
  initialize the action button alpha back to zero when we reset the
  task view.

Change-Id: I97530a7bdd5e934ab1d5831ef30cf7774418ed95
2016-01-14 15:31:54 -08:00
Winson
f3918002f3 Fixing issue with checking the docked stack state for the wrong user.
Bug: 26256285

Change-Id: I068ee8250dc75bda984092300d75031422fbbd11
2016-01-14 15:31:47 -08:00
Winson
d8d896cefa Adding logging for history and paging.
Change-Id: Ibd9ff72858897c0a3680e81b94172e667e1291cc
2016-01-14 15:31:43 -08:00
Winson
df3012bc8d Enforce single deletion per key press.
Bug: 26467824
Change-Id: I88542cfbd52a4a60bc8319390f2688fac5f2c754
2016-01-14 15:31:39 -08:00
Winson
4b057c6787 Fixing crash when dismissing last stack task.
- The crash was due to us trying to get an anchor task when there were
  no more tasks in the stack.  The original call to check the stack
  task count was poorly named so updating the name of that call as well.

Bug: 26500050

Change-Id: I9652e90a6a2e19008c5c84ce877afca576b3175f
2016-01-14 15:31:35 -08:00
Winson
671e8f91aa Removing custom swipe helper.
Change-Id: Ic28ab343f86ab6f80d8c0409a3218513bd8880af
2016-01-14 15:31:16 -08:00
Winson
5500390a00 Reducing numerous extraneous allocations.
Change-Id: Icca49f12a9e0be08eb6d4dbbbf2fd5994a3a25a5
2016-01-14 15:23:38 -08:00
Winson
407d8d08f0 Ensure that the front-most task never dims when scrolling the stack.
Change-Id: I370311b78203c079c4bbfa67753da13f91a15cbc
2016-01-14 15:23:34 -08:00
Winson
3e87474145 Improving drag and drop animations.
- Expanding drop targets to indicate the size of the to-be docked window
- Fixing animation when dropping task
- Fixing drag view z order
- Fixes issue where the dock divider position in WM is not exact
- Requiring user to move the slop distance before accepting drops

Change-Id: I2f6eab504db7126c19e0c680629e89a39e7512e3
2016-01-14 15:23:20 -08:00
Winson Chung
c7abf52091 Merge "Indicator for task auto-select" 2016-01-14 23:13:59 +00:00
Philip P. Moltmann
cde1c2a717 Merge "Clean up API for PrinterInfo." 2016-01-14 22:51:39 +00:00
Peter Schiller
b124d5607f Indicator for task auto-select
Change-Id: I081222b84a5f90e77890724977821ed481fe3924
2016-01-14 14:37:11 -08:00
Sanket Agarwal
1bec6a5b0d Add support for AVRCP 1.3.
* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
  initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
  A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
  A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
2016-01-14 21:59:33 +00:00
Philip P. Moltmann
c2ad22663b Clean up API for PrinterInfo.
- Make immutable
- Check parameters
- Check state while unparcelling

Change-Id: I13959845ca508936331488506380e894f49abf25
2016-01-14 12:48:31 -08:00
Bartosz Fabianowski
f9bf6da6cd Add WifiConfiguration.shared flag
am: 6fb0756d2f

* commit '6fb0756d2f59d70507919350f6192718b5d3f630':
  Add WifiConfiguration.shared flag
2016-01-14 17:24:52 +00:00
Ben Kwa
e2610c4148 Merge "Swap in the correct home icon." 2016-01-14 17:19:36 +00:00
Sudheer Shanka
659133c77b Merge "Made changes to padlock support for preferences." 2016-01-14 16:38:35 +00:00
Sudheer Shanka
ea088af5c1 Made changes to padlock support for preferences.
- Currently, if a preference is disabled by admin, we add a padlock and disable
the preference. And now if the preference is enabled in some other place, the
padlock is not removed. Updated RestrictedPreference to fix this
behavior.
- Made RestrictedPreferenceHelper and
RestrictedPreferenceHelper.onAttachedToHierarchy public so that preferences in
Settings can use these.
- Put a check for null to avoid NullPointerException.
- Removed a redundant statement.

Change-Id: Ie88a761dc38c58a680c62b3703d2081c67462079
2016-01-14 16:25:56 +00:00
Ben Kwa
33a610dea7 Swap in the correct home icon.
BUG=25793423

Change-Id: I55ef5fbc6d6c1497ef4b761f3af236ba5e7e6bbe
2016-01-14 08:21:05 -08:00
Bartosz Fabianowski
6fb0756d2f Add WifiConfiguration.shared flag
* Add boolean WifiConfiguration.shared, which indicates whether a network
  is shared (visible to and usable by all users) or private (visible to
  and usable only by the user who created it)
* Extend WifiConfiguration.configKey(...) so that when two users create
  private configurations for the same network, their configurationKeys
  will be different.
* Make AccessPoint.matches(...) take into account the shared flag

BUG=25600871

Change-Id: I4a4335fa3b4b4f850e16748583a29ab66992ddc8
2016-01-14 17:18:45 +01:00
Sudheer Shanka
f8f858e4ea Merge "Add restricted padlocks to tiles in quick settings." 2016-01-14 16:11:12 +00:00
Daichi Hirono
537427bdda Merge "Add a test for createDocument and getPartialObject." 2016-01-14 07:46:43 +00:00
Daichi Hirono
d426ed2785 Add a test for createDocument and getPartialObject.
BUG=26482337

Change-Id: Ifda5055b422c3960f7c3c5275a1697f96e36bd06
2016-01-14 14:23:48 +09:00
Daichi Hirono
9297a0fb2a Merge "Check isDestroyed after finishing async HandleRootsChangedTask." 2016-01-14 03:59:12 +00:00
Daichi Hirono
a796746198 Check isDestroyed after finishing async HandleRootsChangedTask.
HandleRootsChangedTask will be finished after the Activity is destroyed,
though we no longer to be able to change the directory at that time.

BUG=26454277

Change-Id: Ia414134c80d900ef2e6c382fdd9209a154d940af
2016-01-14 12:45:49 +09:00
Jorim Jaggi
fdbdb9f9c6 Merge changes I55d96ec3,I0ebc4639
* changes:
  Reenable task preloading in recents
  When creating docked stack, use SnapAlgorithm
2016-01-14 01:08:52 +00:00
Jorim Jaggi
a0fdeec66c Reenable task preloading in recents
Make sure to call the task stack changed listener only when
app visibilities changed. This fixes the problem of too many
callbacks when just focusing another activity.

Bug: 26420341
Change-Id: I55d96ec367f7461be1f3e35bc0d12ae4b050ece0
2016-01-13 16:20:38 -08:00
xin He
7692bb21a1 Merge "Initial codes for Quality network selection" 2016-01-13 23:14:16 +00:00
xinhe
f7705c3ed6 Initial codes for Quality network selection
In this change list, the old WifiAutojoin module is
    refactored initially. The old WifiAutojoinController is
    replaced with a new WifiQualifiedNetworkSelector.
    WifiConfiguration, WifiConfigureStore and
    WifiStateMachine have been modified accordingly. The new
    network selection logic is refactored with a more clear
    and deterministci one. To refer to thedescribed in
    details, in "Quality Network Selection and Connectivity
    Scan Management in N". The link of the document is:
    https://docs.google.com/document/d
    /1JPTa2NEk-PgjCJ16fIrR6ohV-kDKveDlYDOeiMCB2_c

cherry-picked from 8d106780b6a638552749e54e169fc72537d4bccc
and make changes on WiFiConfigurationSerializer.java since
it is not on mm-wireless-dev
Bug:26012244
Change-Id: I44e454544b630b891c9a58a18b5a028edcce580f
2016-01-13 15:06:30 -08:00
Xiyuan Xia
ee9ca3cde7 Merge "Fix a race condition during async credential check" 2016-01-13 22:32:21 +00:00
Felipe Leme
50f9c75a9a Merge "Save bugreport info on share intent." 2016-01-13 21:23:09 +00:00
Felipe Leme
c4f6467702 Save bugreport info on share intent.
When a bugreport is finished, BugreportProgressService sends a
INTENT_BUGREPORT_SHARE intent containing the bugreport pid; then when
the user clicks the share notification, BugreportProgressService uses
the pid to retrieve the bugreport info.

The problem with this approach is that if the service dies before the
user clicks the notification, the bugreport won't be shared.

This change fix this scenario by saving the bugreport info in the share intent.

BUG: 26513652

Also added more logging statements.

Change-Id: Iba86d06369f843ad88194fb1dad0c8b69764df78
2016-01-13 13:01:07 -08:00
Julia Reynolds
f890afad17 Merge "Mock compliance for notification guts." 2016-01-13 20:30:48 +00:00
Julia Reynolds
205053615c Mock compliance for notification guts.
Change-Id: I6fc63ad5b9c241d5e003a9810fde6f5aea48214e
2016-01-13 15:13:03 -05:00
Sudheer Shanka
1c7cda8bbf Add restricted padlocks to tiles in quick settings.
Change-Id: Ib11a38f8512b811e5713a33055a04a72f1b825f1
2016-01-13 20:06:35 +00:00
Jason Monk
561e219033 Merge "Round out the QS API" 2016-01-13 19:07:33 +00:00
Jason Monk
5bdfd8c126 Get data type from service state as well am: 67b2c16a9a am: 05130f3f23
am: 8ced692e44

* commit '8ced692e445526a74d51391f2c7c30bd43322d46':
  Get data type from service state as well
2016-01-13 18:46:13 +00:00
Steve McKay
f3b34603de Merge "Stop listening root change events when the activity is destroyed." 2016-01-13 18:21:08 +00:00
Clara Bayarri
4fce66668e Merge "Request Keyboard Shortcuts for SysUI Dialog via Window" 2016-01-13 18:06:38 +00:00
Clara Bayarri
75e097965c Request Keyboard Shortcuts for SysUI Dialog via Window
Keyboard shortcuts are requested via WindowManager, and
the request pipes through to the view root and the window
callback.

Bug: 22405482
Change-Id: Ic0071e91c7b554be3ac9df71e9539ee8a60e822e
2016-01-13 16:56:56 +00:00
Jason Monk
a5abf80104 Merge "Make QS only have one Host and Tiles" 2016-01-13 15:58:42 +00:00
Adrian Roos
dc5b453516 Scroll to RemoteInputView
Scrolls to the RemoteInputView when it's beneath the IME.
Also fixes ViewRootImpl to take into account translation
when calculating the location of the focused rect.

Bug: 22452379
Change-Id: I9b9649edeabf9bcab8fc487fe92dec62f388737e
2016-01-13 15:40:42 +00:00
Geoff Mendal
57072d09c8 Merge "Import translations. DO NOT MERGE" 2016-01-13 13:58:38 +00:00
Geoff Mendal
5378a5bf3a Merge "Import translations. DO NOT MERGE" 2016-01-13 13:58:06 +00:00
Geoff Mendal
4da11f31c3 Import translations. DO NOT MERGE
Change-Id: If349d6b1bd99c61e78a7076d4c7b506abb7c9ac0
Auto-generated-cl: translation import
2016-01-13 05:55:54 -08:00
Geoff Mendal
be84a1b1e6 Import translations. DO NOT MERGE
Change-Id: I81cf6e3ce955937cc57289a59ffb794e75f72d20
Auto-generated-cl: translation import
2016-01-13 05:52:37 -08:00