android/platform_frameworks_base — pull request #32 by ctz (2014-02-21 14:23:15+00:00)
Title: Correct example code

KeyPairGeneratorSpec.Builder's example code is functionally correct but semantically wrong: the arguments for Calendar.add(int,int) are reversed.

Building on this example code like 'add(1, Calendar.YEAR)' -> 'add(10, Calendar.YEAR)' in the obvious way will result in adding one hour, rather than ten years as expected.