FPII-2562: Integrate Checkup commits to reach version 1.2

Squashed commit of the following:

commit 78da8272313f3eee2503745b572ca950ae4dcbcf
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 17:42:19 2016 +0100

    Bump version number to 1.2

    Change-Id: I78a859f9b2f4d79e4870f0ba1069e6206f50fb14

commit 189ccc385ac8fa4cce19ed0275b525470c4baaae
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 17:39:55 2016 +0100

    Fix the primary microphone test and drop the secondary microphone test

    The secondary microphone test does not always have a consistent behaviour.

    Change-Id: Ie9872ad3d2a460ff53f3a091bd3c163de2627cc8

commit 52e4854d1e8e37b6ef9cbf91e756ff1a7698a7dc
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 17:03:33 2016 +0100

    Add the roaming status (general and data) in the ModemTest

    Change-Id: Idd9db1e6eca2a88261778e9644aa11d53309ea54

commit 44f2de5c5d67bdfb4549551cc61af3c8088277b4
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 15:53:30 2016 +0100

    Hide SIM details when there is no SIM

    Change-Id: I002348a155b0d1770ab1237e0e30db2d97881298

commit ed1a846a816b078b12edb68d1c9d29eac1b298e5
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 13:50:41 2016 +0100

    Prepare the ModemTest layout to act upon unavailable SIM

    Change-Id: Iea609ac7eac2e2839f514483e372a5e29b2c52c1

commit d9ea1b9454c0f11040e12ade08a8256e1290c637
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 11:17:01 2016 +0100

    Clean up strings and put aside the one not used yet

    Change-Id: Ia277ce79a470d77e05e18e2a2753bb5e0ed2248f

commit 243d61cddf96c2f3c17fb6d27d160bf46d44afc1
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 11:01:55 2016 +0100

    Fix vibration motor string to be a description and not a question

    Change-Id: I94d567cf0d110cb9d85517df91a5438bab2c2703

commit 44c7f6bcf7b2706c853216d73ab25e2598585e80
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Mon Oct 31 11:00:41 2016 +0100

    Bump version number to 1.2-SNAPSHOT

    Change-Id: I7e8f5a70b151e923a391952c48b30bcaba9636c4

commit 66e6da49db6bd37d666299e5bfddb2ebfafbf624
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:37:16 2016 +0200

    Bump version number to 1.1

    Change-Id: I2512d17d216055bc8d7a4bc132650d27ae8e38c7

commit 0a3baba77115526fba0359c689f121242ee1dff4
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:35:12 2016 +0200

    Force the old view to be the same as the new view

    Change-Id: I74b862c1257e93a9bfa6dd96539b1613427ef9eb

commit ea406af3036bb18e609b906dac77bf7773da5568
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:29:13 2016 +0200

    VibratorTest has instructions

    Change-Id: I7c85e0ee470d3998d50fe924abd91f63add39aa4

commit 642ab3de41fbdde2196d22406175efe88cd26691
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:25:45 2016 +0200

    Core tests

    Change-Id: Ibc9f70398a3b001594e4981bda418c50103ff5bf

commit 5d768c322b5bcb45f8dbcc016636434876e0106f
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:23:15 2016 +0200

    Screen test has instructions too

    Change-Id: I77882ee581ee94d64541140ccd1633f9f94598f4

commit fd9ea8845bb7bb7a34169f5e5e11f49657612479
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:21:51 2016 +0200

    Extract the free drawing test from the digitizer test

    Change-Id: I1e674f373077888715d2009fd69a0ba8436a145f

commit 83d68a2a8ba06b13fa2da31b02ca7e3b1be3e96b
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:06:57 2016 +0200

    Secondary microphone test has instructions

    Change-Id: I23069db325d0fa9694e5221784f61eb90a02509a

commit 97069904a030a88cda445bc7ed6db8267b482bf7
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 15:06:24 2016 +0200

    Primary microphone test has instructions

    Change-Id: I31819061ce783ce1e40cd0aade9a845dddb50d16

commit 1d4363351d1f1a2b43d381b0e7f16a53e29953fd
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 14:40:44 2016 +0200

    Allow a text to display instructions instead of its description.

    Change-Id: I5054323f809508f2005d1fccdb386af7e7670aa8

commit cc287b035d424e85e6dcf51127c987cf77e621c0
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 14:32:23 2016 +0200

    Display the ModemTest right away (no action)

    Change-Id: Id1d839765c7eb3da140f3fa714ed24b6ddf280a2

commit a3e0eaebc4f26f60dd57efbfe6bb55c7e8825ddc
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 14:31:14 2016 +0200

    Allow a Test to hide the action button

    Change-Id: Ifb7e2f4712107445f12adf392901d91306a4d3ef

commit 439d429949885607a11455e921da4aa7c13f295c
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 14:21:08 2016 +0200

    Make the vibration motor acts for 2 seconds (no vibration pattern)

    Change-Id: Ic0f3f86e7b3cce2b6df4180504dc2c468d369ddd

commit 99fca9f11b8a3f6fff78b53b47026f96f450d716
Author: Borjan Tchakaloff <borjan@fairphone.com>
Date:   Fri Oct 28 09:41:00 2016 +0200

    Bump version number to 1.1-SNAPSHOT

    Change-Id: I829484b9530a6da353b6cf9a86c47d6a9b92f682

Change-Id: Ie84f3b8e6c993357a1943217fc78d2aacaad90c6
21 files changed
tree: 08c440f5a750c7fa3642b22132584b2fde7b0fc7
  1. app/
  2. .gitignore
  3. Android.mk
  4. build.gradle
  5. LICENSE.txt
  6. README.md
  7. settings.gradle
README.md

Fairphone 2 module tester

Android app that allows users to test the modules and their components inside the Fairphone 2.

FP2
|-- Display module
|   |-- Display
|   `-- Digitizer
|-- Battery
|-- Receiver module
|   |-- Headphone jack
|   |-- Proximity sensor
|   |-- LED
|   |-- Ear speaker
|   `-- Front camera
|-- Camera module
|   |-- Rear camera
|   `-- Flash
|-- Speaker module
|   |-- Vibration motor
|   |-- Rear speaker
|   |-- Microphone
|   `-- USB port
`-- Tranceiver module
    |-- SIM slots
    |-- microSD slot
    |-- Hardware buttons
    |-- GPS
    `-- Gyroscope

(incomplete)

Versioning scheme

The app version (a.k.a Version Code) is based on the following scheme:

  • Major version number
  • Minor version number
  • Release status number (snapshot/release candidate/public release)

The rules are as follow:

  • The major version uses two digits
  • The minor version uses two digits
  • The release status uses two digits
  • The major version should be bumped when introducing new features
  • The minor version should be bumped whenever there is a (simple/hot) fix
  • The release status must be 0 while developing (snapshot)
  • The release status must be in [1;98] while testing releases (release candidate)
  • The release status must be 99 for a public release

The readable app version (a.k.a Version Name) is based on the app version with the following schemes:

  • Snapshots are named after .-SNAPSHOT
  • Release candidates are named after .-RC
  • Public releases are named after .