21293 Commits

Author SHA1 Message Date
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
Selim Cinek
a8a4d29aec Merge "Fixed a crash with the heads up manager" into mnc-dr1.5-dev am: d23f1eb0cd
am: 804ff964af

* commit '804ff964afed8154c5b169cd1f2bb6e89dc05f2f':
  Fixed a crash with the heads up manager
2016-01-13 23:14:26 +00:00
xin He
7692bb21a1 Merge "Initial codes for Quality network selection" 2016-01-13 23:14:16 +00:00
Selim Cinek
804ff964af Merge "Fixed a crash with the heads up manager" into mnc-dr1.5-dev
am: d23f1eb0cd

* commit 'd23f1eb0cd9893395573a4059be195e8fdb1007a':
  Fixed a crash with the heads up manager
2016-01-13 23:10:20 +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
Selim Cinek
ba9e8586e3 Fixed a crash with the heads up manager
Bug: 25693389
Change-Id: Id852e342000bff6de0ce19f442eb53b21e935b7b
2016-01-13 21:13:33 +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
Geoff Mendal
0cfb11063d Merge "Import translations. DO NOT MERGE" 2016-01-13 13:43:16 +00:00
Geoff Mendal
3e3a451f79 Import translations. DO NOT MERGE
Change-Id: I488d48ed5a95fb2764dd2129fc512fa1c2db5fdb
Auto-generated-cl: translation import
2016-01-13 05:37:19 -08:00
Geoff Mendal
899a711591 Merge "Import translations. DO NOT MERGE" 2016-01-13 13:15:14 +00:00
Adrian Roos
acc11c0701 Improve bouncer restart prompt message
Bug: 26325366
Change-Id: I21ce92b763417f8f9cef571ceab840db71224bb7
2016-01-13 13:06:39 +00:00
Geoff Mendal
e1161b06d1 Import translations. DO NOT MERGE
Change-Id: I7e6b5a16f8f7c7835fb85abf4453ef979b2cfb2e
Auto-generated-cl: translation import
2016-01-13 05:06:28 -08:00
Clara Bayarri
a1771110d6 Create Work Challenge per-user condition
Change the current static condition to a per-user condition so we
can check and enable/disable the work challenge properly. Also add
an isAllowed API, as the Work Challenge can only be used when the
user's DPC targets N or above to maintain backwards compatibility.

Change-Id: I0cb8b475838816801868ffb24726407aa257b4de
2016-01-13 10:27:12 +00:00
Daichi Hirono
da19ee00a3 Stop listening root change events when the activity is destroyed.
BUG=26454244

Change-Id: I4be98f21843d6d501dd9c6fc343e905e107fc1c1
2016-01-13 13:19:02 +09:00
Jim Miller
1fcd0c2e65 Merge "Fix problem where keyguard shows spontaneously" 2016-01-13 00:49:46 +00:00
Takayuki Hoshi
42d8756798 Merge "Do not show volume expander when there is no touch feature" 2016-01-13 00:47:25 +00:00
xinhe
8d106780b6 Initial codes for Quality network selection [DO NOT MERGE]
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

Bug:26012244

Change-Id: I3df124c110e458e3b6bc29466b9046748d79582a
2016-01-12 16:29:43 -08:00
Xiyuan Xia
ce64cea383 Fix a race condition during async credential check
Do not dismiss keyguard if KeyguardUpdateMonitor.getCurrentUser() is
changed during the async credential check.

Bug:26415736
Change-Id: Id7e04c7100e0920fe86fe006840928a936f62dd8
2016-01-12 16:16:53 -08:00
Jason Monk
9429513cc3 Round out the QS API
- Add startActivityAndCollapse, to make collapsing the shade easy
 - Add isSecure()
 - Add isLocked()
 - Add unlockandRun(Runnable)
 - Add unavailable, active, and inactive states

The states are added to allow consistent UI across OEM devices, by
allowing UI tweaking and tinting to match system tiles with custom
ones.

The combination of isSecure() and isLocked() and unlockAndRun(Runnable)
allows all combinations of launching show when lockend and triggering
an unlock when needed for sensitive tiles.

Change-Id: Iade98ad9f2c22aa174e62090d8ccd44c86f3bb3c
2016-01-12 17:27:52 -05:00
Ben Kwa
b0fed2b72e Merge "Embiggen the progress bar." 2016-01-12 21:56:39 +00:00
Ben Kwa
a66cebde23 Embiggen the progress bar.
BUG=26159818

Change-Id: I12a33be503dd29d03cb85b814b287879c016275d
2016-01-12 13:36:44 -08:00
Jason Monk
ca894a0f53 Make QS only have one Host and Tiles
Finish previous work to only have one set of tiles so that updates
can be easily propogated from custom tiles to the UI.

Change-Id: Id5e13774f825b78d3c9e50c2d9f8ea1710b2e77b
2016-01-12 15:31:41 -05:00
Steve McKay
2e41878000 Merge "Grid view padding + explicit background." 2016-01-12 19:42:41 +00:00
Steve McKay
76be620a6f Grid view padding + explicit background.
Also move section break holder into the wrapper class.

Change-Id: I949e81af180f11514aff558615cfeda44cb96a3c
2016-01-12 11:41:26 -08:00
Jason Monk
8ced692e44 Get data type from service state as well am: 67b2c16a9a
am: 05130f3f23

* commit '05130f3f237efbbf497b770938e0b758a646de1a':
  Get data type from service state as well
2016-01-12 18:58:28 +00:00
Jason Monk
05130f3f23 Get data type from service state as well
am: 67b2c16a9a

* commit '67b2c16a9a9060d37888bdab4dfadd384a76e9d7':
  Get data type from service state as well
2016-01-12 18:51:32 +00:00
Filip Gruszczynski
ba2d7e57ab Merge "Pass correct task for retrieving of overview task bounds." 2016-01-12 18:41:19 +00:00