88430 Commits

Author SHA1 Message Date
Svetoslav Ganov
b361b3043b Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b
2012-11-19 16:06:23 -08:00
Daniel Sandler
cc2e849fa9 Notification vibration improvements: [DO NOT MERGE]
- When notifications vibrate as a fallback (that is,
   because they want to play a sound but the device is in
   vibrate mode), this no longer requires the VIBRATE
   permission.
 - As a bonus, if your notifications use DEFAULT_VIBRATE,
   you don't need the VIBRATE permission either.
 - If you specify a custom vibration pattern, you'll still
   need the VIBRATE permission for that.
 - Notifications vibrating in fallback mode use same
   vibration pattern but can be changed easily in future.
 - The DEFAULT_VIBRATE and fallback vibrate patterns are now
   specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
2012-11-19 16:06:13 -08:00
Svetoslav Ganov
e9812bae0e Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev 2012-11-19 15:50:19 -08:00
Svetoslav Ganov
7018cfdc05 Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b
2012-11-19 15:20:27 -08:00
Daniel Sandler
aaec726948 Notification vibration improvements: [DO NOT MERGE]
- When notifications vibrate as a fallback (that is,
   because they want to play a sound but the device is in
   vibrate mode), this no longer requires the VIBRATE
   permission.
 - As a bonus, if your notifications use DEFAULT_VIBRATE,
   you don't need the VIBRATE permission either.
 - If you specify a custom vibration pattern, you'll still
   need the VIBRATE permission for that.
 - Notifications vibrating in fallback mode use same
   vibration pattern but can be changed easily in future.
 - The DEFAULT_VIBRATE and fallback vibrate patterns are now
   specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
2012-11-19 15:12:24 -08:00
Brian Colonna
5eb83aa896 Ignoring FUL unlock signal if user changed fixes b/7572354
Prior to this fix, one user could log into another user's account by
waiting for FUL to recognize them on their account, and then
switching to another account at a very precise time - after FUL has
recognized the user but before the device has unlocked.

This was caused by the FUL unlock() callback telling the device to
unlock even though the user had changed.  The fix is to only unlock
the device if the current user ID matches the user ID used to run
FUL.

Change-Id: I516b52d99ab7609b836939e4aae6e7df77a9e047
2012-11-19 17:45:44 -05:00
Fabrice Di Meglio
b0f895b330 Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev 2012-11-19 14:27:45 -08:00
John Spurlock
0552c5d75a Refactor the lockscreen camera widget, removing the bitmap.
The new approach is to create two views:
 - Widget preview, drawn at full-size, then scaled to fit frame.
 - Fullscreen preview, drawn at full-size, used during animation.

Two views are necessary to both ensure the widget scrolls properly
with the widget page yet still appears to scale up and match
the camera app pixel for pixel.

The offscreen bitmap and associated background rendering is no
longer necessary.  This avoids the large allocation and associated
rendering time after turning screen on.

Also fixes 1px horizontal discrepancy during old scale-up anim.

Also suppresses long-click behavior on the camera widget.

Bug:7471107
Bug:7559755
Change-Id: I1d834aa743bc05d6a7e2ce3eadfee8d5ff40da37
2012-11-19 16:32:30 -05:00
Scott Main
6c9a1a1004 docs: update dreamservice description
Change-Id: I7e7295a3d67ca1760ba52b3958bf91540692e542
2012-11-19 11:58:59 -08:00
Daniel Sandler
02053d1cce Merge "Show mobile data RSSI for devices that support it." into jb-mr1.1-dev 2012-11-19 11:56:35 -08:00
Scott Main
0d3eb5f111 am 721b370c: Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev
* commit '721b370c5a2d787795257ac42317d389445e51f9':
  cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo
2012-11-19 11:48:28 -08:00
Daniel Sandler
ce4f5e5c70 Refresh the status bar clock format on user switch.
Bug: 7490931
Change-Id: Ifad46ec7cee40aa5a622ee2621fc425835366e32
2012-11-19 14:47:18 -05:00
Scott Main
721b370c5a Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev 2012-11-19 11:44:58 -08:00
Jaewan Kim
ff5941399e cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8
Fix typo

Change-Id: Idd09f7fea890dbc290589b1ebe4a1a139f98c740
2012-11-19 11:43:56 -08:00
Daniel Sandler
5052805cc0 Show mobile data RSSI for devices that support it.
The new test is more general, allowing mobile RSSI to be
shown on devices without voice telephony.

Bug: 7490266
Change-Id: Ib5b243c0d92e74fe4385989c3a6c16edd00a9ec9
2012-11-19 13:33:44 -05:00
Satoshi Kataoka
2656abe098 Merge "Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected" into jb-mr1.1-dev 2012-11-17 21:53:10 -08:00
Baligh Uddin
e007c0e8bc am bd7ff05e: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'bd7ff05e65113cd6fa5b7e0df9c7023e8cd60ac0':
  Import translations. DO NOT MERGE
2012-11-16 17:50:13 -08:00
Baligh Uddin
50a8911628 Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev 2012-11-16 17:45:34 -08:00
Baligh Uddin
bd7ff05e65 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-11-16 17:43:56 -08:00
Baligh Uddin
7e5fc45320 am 9d45abd4: Import translations. DO NOT MERGE
* commit '9d45abd4aa761af65e27eb2300b50f35526a4b61':
  Import translations. DO NOT MERGE
2012-11-16 17:39:20 -08:00
Baligh Uddin
3a3a84e4d6 Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev 2012-11-16 17:38:07 -08:00
Fabrice Di Meglio
1f33e6422e Merge "Fix keyguard pin/simpin/simpuk RTL-ization" into jb-mr1.1-dev 2012-11-16 16:36:00 -08:00
Chris Craik
fa0853e0b9 Add missing variable copies in Path copy constructor
bug:7564602

Also, clear isSimplePath flag for possible translates, since rect drawing path
doesn't support them

Change-Id: Ibb4a3e87ace0feb16bce1c6032016c5f4643f8d6
2012-11-16 16:09:33 -08:00
Michael Jurka
7b0c877959 Merge "Delete appWidgetId when removing lockscreen widgets" into jb-mr1.1-dev 2012-11-16 15:29:17 -08:00
Michael Jurka
75b5cfb4a4 Delete appWidgetId when removing lockscreen widgets
Bug: 7550012

Change-Id: Ia9f5266256016eb91bfd6a2d5a7f910c42948f1e
2012-11-16 15:22:06 -08:00
Amith Yamasani
32f0742e52 Only wipe device if primary user (for failed password attempts)
When a DeviceAdmin requests a device wipe due to a number of incorrect
password attempts, only primary user can wipe the device. Secondary users
can only remove themselves from the device.

Bug: 7554445
Change-Id: I24331cb4eff37571fcd792abb2efc794f7b3f2d2
2012-11-16 15:09:13 -08:00
Jim Miller
05163aa3d5 Fix keyguard pin/simpin/simpuk RTL-ization
This fixes the PIN, SIM PIN, and SIM PUK keyboards to keep the keys in the same
position for all languages.

Fixes bug 7538528

Change-Id: Ib07e89e9496e6c5b91c1bbda7781eddeddea0554
2012-11-16 14:56:57 -08:00
Baligh Uddin
f3cd8e5e38 Import translations. DO NOT MERGE
Change-Id: I8fdaf22a9c0ab1552d379501f7fde119064d49b8
Auto-generated-cl: translation import
2012-11-16 14:11:16 -08:00
Baligh Uddin
af673f894b Import translations. DO NOT MERGE
Change-Id: I8b0789aa1a67fba819a5f2b87373e9ab5fa3f59d
Auto-generated-cl: translation import
2012-11-16 14:10:37 -08:00
Guang Zhu
a9c0bb4a57 Merge "grant shell user EXPAND_STATUS_BAR permission" into jb-mr1.1-dev 2012-11-16 14:06:01 -08:00
Baligh Uddin
116133a2a6 Import translations. DO NOT MERGE
Change-Id: I8187a141a3949c9c1678912b13267b21398a6c5e
Auto-generated-cl: translation import
2012-11-16 13:51:42 -08:00
Baligh Uddin
9d45abd4aa Import translations. DO NOT MERGE
Change-Id: I90b5f538f6faf18d571907acaa96372894619c87
Auto-generated-cl: translation import
2012-11-16 13:49:29 -08:00
Amith Yamasani
acddb72c58 Merge "Make sure that the owner user is marked initialized." into jb-mr1.1-dev 2012-11-16 10:43:48 -08:00
Scott Main
159cdd925d am 33e499ea: docs: move articles into group directory
* commit '33e499ea364e4e061964bc8fe16365fd632eb39d':
  docs: move articles into group directory
2012-11-16 09:52:27 -08:00
Daniel Sandler
6738eeec00 Cleanups in Notification.java.
Bug: 7555827 // remove named TODO, fix toString output
Bug: 6440961 // remove longstanding and mysterious "MUMBLE MUMBLE"
Change-Id: I8b5e16fb1f7ccbe5cbda37f260fdc6bc0e1b8ee3
2012-11-16 12:03:32 -05:00
Daniel Sandler
ab51002847 Allow long-press on Wifi and Bluetooth tiles to toggle.
Bug: 7395607
Change-Id: Ia929dc2cb12eef221fe6f0214ec44c3dc98b0597
2012-11-16 11:59:24 -05:00
Scott Main
33e499ea36 docs: move articles into group directory
Change-Id: If90f5ac284d8df16b830d5744fbd684e5b1b34e3
2012-11-16 08:54:27 -08:00
Satoshi Kataoka
15451bd7af Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected
Bug: 7540140
Change-Id: Iaac951ff457c35751b442e84ac07f1f86be93494
2012-11-16 13:30:56 +09:00
Guang Zhu
ef48662876 grant shell user EXPAND_STATUS_BAR permission
Bug: 7555251
Change-Id: I68cebb26bcee060c56e124941f3ea9289ab2b3bf
2012-11-15 19:49:42 -08:00
Scott Main
e3ac532115 am fa1320e6: docs: revise getting started intro
* commit 'fa1320e6148285b2125369fcd5799331132b0eba':
  docs: revise getting started intro
2012-11-15 18:33:30 -08:00
Scott Main
fa1320e614 docs: revise getting started intro
Change-Id: I7561da6ae2f21e31370f5dbbd121f2c6084523c1
2012-11-15 18:30:17 -08:00
Scott Main
4c7a5d6a45 am 4e2e9bae: docs: update checksums/sizes for new adt bundles
* commit '4e2e9bae4082dffa8c59ee10204fd265dfb896bc':
  docs: update checksums/sizes for new adt bundles
2012-11-15 17:11:44 -08:00
Scott Main
4e2e9bae40 docs: update checksums/sizes for new adt bundles
Change-Id: Id1245a9f1ce7cf4854e8f39a9938b00aa18e4cca
2012-11-15 17:09:19 -08:00
Scott Main
4f784509f7 am d4ff8249: Merge "docs: update sdk install to handle both 32 and 64-bit bundles" into jb-mr1-dev
* commit 'd4ff824915e1c9ea1c3122b5745973f681915279':
  docs: update sdk install to handle both 32 and 64-bit bundles
2012-11-15 15:22:31 -08:00
Scott Main
d4ff824915 Merge "docs: update sdk install to handle both 32 and 64-bit bundles" into jb-mr1-dev 2012-11-15 15:19:11 -08:00
Scott Main
49ba8eb06b docs: update sdk install to handle both 32 and 64-bit bundles
Change-Id: I171f28a332c4d31600865f6ad8f6a95fb4f0c3aa
2012-11-15 14:56:52 -08:00
Adam Cohen
6189888a25 Merge "Making sure launcher doesn't show keyguard-only widgets (issue 7550090)" into jb-mr1.1-dev 2012-11-15 14:56:19 -08:00
Adam Cohen
3fcc6b26c3 Making sure launcher doesn't show keyguard-only widgets (issue 7550090)
Change-Id: I5d0675f0c03677e06371a6730209c3466c6b0f15
2012-11-15 14:53:31 -08:00
Amith Yamasani
bc9625059b Make sure that the owner user is marked initialized.
This is required for upgrades from previous versions of JB.

Bug: 7547639
Change-Id: I21de14a70d6ba2ab21437b5f0721321df45226d2
2012-11-15 14:43:13 -08:00
Adam Cohen
b02eb4bb7d Merge "Pushing state persistence to a background thread" into jb-mr1.1-dev 2012-11-15 13:53:53 -08:00