DO NOT MERGE Notify provider when disposing last UpdateRecord

Cherry-pick of Id48151eb7de40164258cde7da220a4d6bb34b89a

Location providers were not being notified of the change in status
when the last UpdateRecord was removed due to numUpdates exhaustion
or request expiry. Oops! Enjoy some free battery life!

Bug: 7611837
Change-Id: I66303b355be4e4a56a81efb5406c9353b2588595
docs: delete gps overview page

Change-Id: Ie2dbc4755ba0b16c730ee86646babcdc8edd3dc2
Defer process mode upon draw

Process mode functor execution can be expensive, and cause dropped frames if it
runs between two expensive frames (when there isn't cpu time to spare). Avoid
this by delaying the process mode by an additional 4 ms every time we hit a draw

bug:7670326
Change-Id: I27f42458d4a815183a4b24c7748e05bc361fb943
am f9861221: docs: delete gps overview page

* commit 'f98612213ce70fbb34062db2b5d27d9622d9d3f3':
  docs: delete gps overview page
Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev
DO NOT MERGE Protect against NPE in FusionEngine.java.

Cherry-pick of Ic49a069eef47a62fb1e0c6f284a705a62c6ae232

Bug: 7629406
Change-Id: Ia04dba9496b02755678b43e12834e992f63ee45b
docs: update webview guide with javascript interface info

Change-Id: I328d36bf54261ac7d10121424102308159d79f6f
Make 3rd party lockscreen widgets work on secondary users

If you install a lockscreen widget app on a secondary user, lockscreen fails to find it.
There were several places where the correct context and userId were required under the
covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter.

Set the user id in the required places and use it to query the package information.

Bug: 7662835
Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050
update building first app class with some changes to eclipse workflow
and account for small differences when using an IDE other than eclipse

Change-Id: I1ea8a00cd3d03623a43d6b5f75234095130c0aa3
Fix baseline alignment of notification times.

Bug: 7668052
Change-Id: Ifc868ac5988e00c3d63aa1e1e91544d433c858a5
am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse

* commit '82e1d979ff7d6571f124b00d4354d40aa8757664':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
docs: fix AI download links

Change-Id: I2773f0edf1dc73bee9b8ea1ca0e09a9fd85086ef
Merge "Fix an issue on installing 3rd-party IME by a non-primary user" into jb-mr1.1-dev
Merge "Pin electron beam surface to natural orientation." into jb-mr1.1-dev
am 7550a393: docs: fix AI download links

* commit '7550a393e0bb7b5f75fd558c828653097723d201':
  docs: fix AI download links
Merge "docs: update webview guide with javascript interface info" into jb-mr1-dev
am fc677afe: Merge "docs: update webview guide with javascript interface info" into jb-mr1-dev

* commit 'fc677afec5ecae1844c0f46e381b9b7967d820b4':
  docs: update webview guide with javascript interface info
docs: fix broken link on maps page

Change-Id: I07e8129df1dcc61b0c2f7b81065092b06e31b8e8
am 78d17441: docs: fix broken link on maps page

* commit '78d17441fadc38dc452871da722b1b2900de7a67':
  docs: fix broken link on maps page
Merge "DO NOT MERGE Protect against NPE in FusionEngine.java." into jb-mr1.1-dev