Align "from code" parent-child preference flow with "from XML"

Add setDependency() call to make "from code" parent-child
behavior matched the "from XML" one.

Change-Id: I9e19a8bd16f69fb3101928831831103719a03a04
Signed-off-by: Joseph Judistira <joseph.judistira@gmail.com>
Remove missing functions imaxabs() and imaxdiv() from inttypes.h

Bionic does not have actual implementation of those functions.
Further implementations should be introduced in new
API-level in order to prevent break of compatibility.

Change-Id: I0aa65ea28082cf4a88c383ce0d8eceaa5288c027
Signed-off-by: Grigoriy Kraynov <grigoriy.kraynov@intel.com>
Merge "Remove missing functions imaxabs() and imaxdiv() from inttypes.h"
am 54723fb6: Merge "Remove missing functions imaxabs() and imaxdiv() from inttypes.h"

* commit '54723fb6ac38cbefd2dbaf8c1e7a892765170d4c':
  Remove missing functions imaxabs() and imaxdiv() from inttypes.h
am fa73c847: am 54723fb6: Merge "Remove missing functions imaxabs() and imaxdiv() from inttypes.h"

* commit 'fa73c847c34a442e24dbeeff4ae58799b66da97a':
  Remove missing functions imaxabs() and imaxdiv() from inttypes.h
am f6e246a8: am 40e5d9df: am bc516abe: am 8791785c: Package Renderscript files for support mode.

* commit 'f6e246a8350492eceab4533e0f91e7f9fa4ae91b':
  Package Renderscript files for support mode.
am 678188ae: am 0efb0345: am 620b29a5: media router sample: handle remote volume change

* commit '678188aee0b5b9156403ad03e214aef498aaee25':
  media router sample: handle remote volume change
Reconcile with klp-release - do not merge

Change-Id: I81b4f63de93e75fa9553ffce9c2a8de697ca6d50
am 7fb77fa7: am 092959b2: am 1edc4427: am 6a3067db: Merge "Add common directory to BasicSyncAdapter sample" into jb-mr2-dev

* commit '7fb77fa79a43fed5fc9558e69944b29681544cba':
  Add common directory to BasicSyncAdapter sample
am 24fa6aa6: Merge "Expose WifiManager.setTdlsEnabled public API" into klp-dev

* commit '24fa6aa6d9d04fc0cde8febb8eb46f731712542f':
  Expose WifiManager.setTdlsEnabled public API
am bd278677: Merge "Fix NPE in sample code." into klp-dev

* commit 'bd278677694ae13e1a6d532a9bab954f74bba4b0':
  Fix NPE in sample code.
am cf06a033: Merge "Settings injector sample activity" into klp-dev

* commit 'cf06a033d01c4f518c7bdc4c7cc063a24baa4249':
  Settings injector sample activity
am af73d576: Remove ApplicationsProvider.

* commit 'af73d576e9744a8d32c64b66bf8bdd6c3e0f1881':
  Remove ApplicationsProvider.
am dfc82ebe: Merge "Find install artifacts using GET-INSTALL-PATH." into klp-dev

* commit 'dfc82ebe7db366e6e3b717fc1d9d60edd6e1c8c8':
  Find install artifacts using GET-INSTALL-PATH.
am c518764b: Merge "Fix runtest cts-net" into klp-dev

* commit 'c518764b02d4b99b06400dd1903019b1f44a78bf':
  Fix runtest cts-net
am 854e16af: Ensure sample runs on Gingerbread.

* commit '854e16afda1bbacbd5eee7e434059d493879497d':
  Ensure sample runs on Gingerbread.
am cfa9cd0d: am 582f50f2: (-s ours) am 9299c6cd: Ensure sample runs on Gingerbread.  (DO NOT MERGE)

* commit 'cfa9cd0d85bb46cf2a47be8b0e137b3c3102bd02':
  Ensure sample runs on Gingerbread.  (DO NOT MERGE)
am 7db79b35: Inject more settings for better testing of SettingsInjector

* commit '7db79b35483922a07a3a144dd3354b1f0d0cc9b3':
  Inject more settings for better testing of SettingsInjector
am 3e3d973c: am 21e0c25e: am 184f79db: Support7Demo: fix video playback on GB

* commit '3e3d973c48a5d13ac616b92e70c186c2c6eab128':
  Support7Demo: fix video playback on GB
am ed92f012: Merge "Test case where SettingsInjectorService.getStatus() errors out" into klp-dev

* commit 'ed92f0123a23efa10c802a9023f51f46a2dcf2c1':
  Test case where SettingsInjectorService.getStatus() errors out