229725 Commits

Author SHA1 Message Date
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
Keisuke Kuroyanagi
a2477acec9 Tests for getPrimaryHorizontal with grapheme boundaries am: a5c53291a8 am: 3bb115ba5c
am: 404a22cf74

* commit '404a22cf74f47bbdbeccb3452aefcfd3c34eee74':
  Tests for getPrimaryHorizontal with grapheme boundaries
2016-01-13 23:05:34 +00:00
Adam Lesinski
860bd87d5e Merge "UsageStats: Fix issue where initializing data for first time would cause crash" into mnc-dr1.5-dev am: f2cc98bc96 am: 112e26646f
am: dd0957caf4  -s ours

* commit 'dd0957caf4d16c46971444b00befb415f9a6d549':
  UsageStats: Fix issue where initializing data for first time would cause crash
2016-01-13 23:03:08 +00:00
Ian Pedowitz
0cd5e9f475 Merge "Revert "Avoid drawable invalidation during draw()"" into mnc-dr1.5-dev
am: 624d43b66f

* commit '624d43b66f039e3b0f33274486512621919d96a3':
  Revert "Avoid drawable invalidation during draw()"
2016-01-13 23:01:29 +00:00
Selim Cinek
d23f1eb0cd Merge "Fixed a crash with the heads up manager" into mnc-dr1.5-dev 2016-01-13 23:01:13 +00:00
Ian Pedowitz
624d43b66f Merge "Revert "Avoid drawable invalidation during draw()"" into mnc-dr1.5-dev 2016-01-13 22:47:45 +00:00
Victor Chang
9359ee18a5 Show work missed call notification for sim call from work contacts
BUG=26082618

Change-Id: I82bf3d9835589a309101b23536748ae2b27b1d2d
2016-01-13 22:44:52 +00:00
Xiyuan Xia
ee9ca3cde7 Merge "Fix a race condition during async credential check" 2016-01-13 22:32:21 +00:00
Filip Gruszczynski
4d0f5ee232 Merge "Fix delivery of visible behind cancel action." 2016-01-13 22:01:05 +00:00
Filip Gruszczynski
4e7fe7142e Fix delivery of visible behind cancel action.
Bug: 26471802

Change-Id: I4e35f904080d1c57bbb034725d34d8c5bca87238
2016-01-13 14:00:31 -08:00
Yin-Chia Yeh
b99ed40fb0 Merge "Camera: cleanup dead code" 2016-01-13 21:50:02 +00:00
Alan Viverette
156bd49bdc Revert "Avoid drawable invalidation during draw()"
This reverts commit e5e59c6da424096da8f57137cdc57d8bd410b079.

Drawables expect to be able to call invalidateSelf() during
draw() to pump animation frames. We shouldn't break this.

Bug: 26533725
Change-Id: Ibe2871f2622faf836637225fc1e3e6f0ca6def47
2016-01-13 21:49:10 +00:00
Samuel Tan
01208118b3 resolve merge conflicts of 3caecaec60 to master.
Change-Id: Ic3e9909c69f03a6ef1911a6b7589afbc02d7494f
2016-01-13 13:42:00 -08:00
Pavel Zhamaitsiak
4a4345b681 Merge "Add ITelephonyDebug.aidl" into mm-wireless-dev 2016-01-13 21:40:38 +00:00
Robert Sesek
3242734d05 Merge "Fix SDK docs after b9a8666eb5504f022343fef9087135b7d937ddf8." 2016-01-13 21:24:00 +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
Chong Zhang
defd8f3b22 Merge "Several fixes for docking non-resizeable tasks" 2016-01-13 20:55:55 +00:00
Adam Lesinski
f0ef3c1126 UsageStats: Use new settings key idle_duration2 for app idle
Ignores the old, re-appropriated key "idle_duration" which is now
set to a high value in order to force disable app idle on devices
with bug b/26355386

Bug:26355386
Change-Id: Iff9de843ad6e547d29c1583687fc7f7ce7e15090
2016-01-13 12:48:50 -08:00
Robert Greenwalt
be81d28798 Merge "Add free short codes for Direct Carrier Billing in Google Play"
am: d736cba6e7

* commit 'd736cba6e7f93a2e6df172a644e413f27a1dc939':
  Add free short codes for Direct Carrier Billing in Google Play
2016-01-13 20:48:14 +00:00
Pavel Zhamaitsiak
e737a028b1 Merge "Add WiFi Calling overlays for T-Mobile\'s MCCMNCs" into mnc-dr1.5-dev am: 9ae30e69ad
am: fba6bccff5

* commit 'fba6bccff5d230b581e46ed64911d0c67e4be442':
  Add WiFi Calling overlays for T-Mobile's MCCMNCs
2016-01-13 20:44:08 +00:00
Makoto Onuki
cbd0ed2944 API for blocked number provider
Bug 26232372

Change-Id: I4d243c00ab9f02af527a96d7b549abfe7876f565
2016-01-13 12:41:54 -08:00
Robert Sesek
7b0143cef4 Fix SDK docs after b9a8666eb5504f022343fef9087135b7d937ddf8.
Change-Id: Icad19dd1c888b4857d288b460d88bebb9ec20a13
2016-01-13 15:35:50 -05:00
Pavel Zhamaitsiak
fba6bccff5 Merge "Add WiFi Calling overlays for T-Mobile\'s MCCMNCs" into mnc-dr1.5-dev
am: 9ae30e69ad

* commit '9ae30e69ada03ebf3408ed1d2f24a5a67ea33b68':
  Add WiFi Calling overlays for T-Mobile's MCCMNCs
2016-01-13 20:35:46 +00:00
Robert Greenwalt
d736cba6e7 Merge "Add free short codes for Direct Carrier Billing in Google Play" 2016-01-13 20:35:34 +00:00
Chong Zhang
f66db43063 Several fixes for docking non-resizeable tasks
- Keep track of original task bounds and scrolled bounds separately,
  so that we can reset the scrolling when the it's no longer in effect.

- Calculate the vertical offset for the toast on top half using the
  content rect. The original toast position was relative to the bottom
  of the content rect, not the display rect.

- Move toast display to prepareSurfaceLocked, as performShowLocked() may
  not be called if the app surface is already shown.

related-to: b/26451625
related-to: b/26447921

Change-Id: I82113683c9e3c3beb4938dbd0829d0abf491efd9
2016-01-13 12:31:08 -08:00
Julia Reynolds
f890afad17 Merge "Mock compliance for notification guts." 2016-01-13 20:30:48 +00:00
Pavel Zhamaitsiak
9ae30e69ad Merge "Add WiFi Calling overlays for T-Mobile's MCCMNCs" into mnc-dr1.5-dev 2016-01-13 20:30:46 +00:00
xin He
5713b9acc3 Merge "Initial codes for Quality network selection [DO NOT MERGE]" into mm-wireless-dev
am: 5961142109  -s ours

* commit '596114210980ae89d040ee86a5daad257c6e5f4c':
  Initial codes for Quality network selection [DO NOT MERGE]
2016-01-13 20:18:58 +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
xin He
5961142109 Merge "Initial codes for Quality network selection [DO NOT MERGE]" into mm-wireless-dev 2016-01-13 20:03:50 +00:00
Adam Lesinski
71f42ad4d6 Merge "UsageStats: Fix issue where initializing data for first time would cause crash" 2016-01-13 20:03:26 +00:00
Dongwon Kang
9b554abf2b Merge "MediaResourceMonitor: Shorten the TAG" 2016-01-13 20:01:22 +00:00
Chong Zhang
cb11f8a288 Merge "Fix rect convert from screen to surface coordinates with scaling" 2016-01-13 19:52:45 +00:00
Dongwon Kang
ee3d8118b3 MediaResourceMonitor: Shorten the TAG
Bug: 26541185
Change-Id: Iad1115cfc31b458dc0daa0fe37efd795fb0a32fb
2016-01-13 11:51:45 -08:00
Sandra Kwan
f56a60fab2 Merge "AccountManager: make account session APIs SystemApi." 2016-01-13 19:46:21 +00:00
Chong Zhang
8438957153 Fix rect convert from screen to surface coordinates with scaling
When there is scaling, the top/left coordinates are also scaled. They
could be non-zero if the app is being cropped (eg. due to two-finger
scroll).

bug: 26451625
Change-Id: I90d537347b312d2438993780f52b023c2332eb68
2016-01-13 11:32:58 -08:00
Filip Gruszczynski
3e979d6229 Merge "Only request stack resize after non full screen bounds were set." 2016-01-13 19:31:31 +00:00
Filip Gruszczynski
dce2d16170 Only request stack resize after non full screen bounds were set.
Also make sure that the bounds passed to stacks and tasks are not bogus,
as these would mess up the configuration.

Bug: 26512887
Change-Id: I1a3a9c867a2c258a326b31df2bac614ccbb00579
2016-01-13 11:30:58 -08:00
Chet Haase
f73363cf51 Merge "Make Animation.cancel() actually work" 2016-01-13 19:30:29 +00:00
Pavel Zhamaitsiak
b6baaf30cd Add WiFi Calling overlays for T-Mobile's MCCMNCs
Bug: 26024279
Change-Id: I71920fc45dec3e4fe5a3f4e349ff1ba3df703000
2016-01-13 11:19:05 -08:00
Chong Zhang
71888e9ff8 Merge "Launch non-resizeable task with fullscreen bounds in docked stack." 2016-01-13 19:18:39 +00:00
Chris Craik
3cfc373127 Merge "Skip layer updates for layerless nodes" 2016-01-13 19:16:16 +00:00
Chris Craik
e9c5fd888b Skip layer updates for layerless nodes
bug:26535405

Change-Id: I4d5ea8401f59815715c5b51f88d549474876160c
2016-01-13 11:13:01 -08:00
Jason Monk
561e219033 Merge "Round out the QS API" 2016-01-13 19:07:33 +00:00
Keisuke Kuroyanagi
404a22cf74 Tests for getPrimaryHorizontal with grapheme boundaries am: a5c53291a8
am: 3bb115ba5c

* commit '3bb115ba5c8f176a355384f98e0b5348499b8b76':
  Tests for getPrimaryHorizontal with grapheme boundaries
2016-01-13 19:03:56 +00:00
Adam Lesinski
7856f3c283 UsageStats: Fix issue where initializing data for first time would cause crash
With the updated rolling window of stats for app idleness, we need to make sure
it is populated before we initialize some defaults.

Now that we look at older entries to figure out idleness, if those
entries are in the future (due to time change), set them to the current
screen on time.

Bug:26504153
Change-Id: I4c21e8f094a1a6727373368d043f523053280d7d
2016-01-13 11:03:35 -08:00
Matthew Bouyack
b79151759a Merge "In CanvasContext::doFrame, make a separate call to computeFrameTimeNanos and save the result. Then pass that value to UiFrameInfoBuilder::setVsync as both arguments." into cw-e-dev am: eebf168e43 am: e0845e8629 am: 6222bb0f6a
am: 099bd9ca8f

* commit '099bd9ca8fea02795424d62c05c723290d68ae14':
  In CanvasContext::doFrame, make a separate call to computeFrameTimeNanos and save the result. Then pass that value to UiFrameInfoBuilder::setVsync as both arguments.
2016-01-13 19:00:07 +00:00