6465 Commits

Author SHA1 Message Date
Wink Saville
d1eeb67478 Merge "Telephony: Modify code to check that PUK code length is always 8." 2014-01-25 21:51:34 +00:00
Oskar Grönqvist
2c4254e476 Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value
To be able to customize the "WiFi scan always available"
setting we need to set a default value.

Change-Id: I3673f2613ab9b6a947aed7e29d4cc876140c2180
2014-01-14 17:57:21 +09:00
Rakesh Pallerla
b8b7bd3185 Telephony: Modify code to check that PUK code length is always 8.
As per 3GPP TS 31.101 Release 11 section 9.6, the number of digits
for UNBLOCK PIN (PUK) is always 8.

Change-Id: I4ea69fd8e2e8e96330d10a67b2d1f5a1859c1016
2014-01-08 19:46:25 +05:30
Kenny Root
e6585b32ea Use java.util.Objects instead on internal API
Not needed since java.util.Objects implements all the needed
functionality.

Change-Id: Icd31d49a9801d1705427f028e9ac927d58e7d34c
2013-12-13 13:40:30 -08:00
The Android Open Source Project
ebcb32f58a Merge commit 'bac61807d3bcfff957b358cb9ad77850bd373689' into HEAD
Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
2013-12-05 13:10:46 -08:00
John Spurlock
9105b7de47 Keep PhoneStatusBar default constructor around.
By keeping the entire class safe.

Cherry picked because the device will otherwise be unusable
if compiled with proguard 4.10.

(cherry picked from commit af568530203dc2ee59f5fda4895d28b29dd92226)

Change-Id: I0b880f382101f737511bc6db96c604f43ed8d266
2013-11-26 13:39:02 +00:00
Jeff Brown
2ea480cac8 am 5d0b18cd: am 3de885be: Merge "Disallow applications from initiating cast screen." into klp-dev
* commit '5d0b18cddfcb933d7960c5a6a820045d77a0285c':
  Disallow applications from initiating cast screen.
2013-11-15 00:39:57 -08:00
Jeff Brown
5d0b18cddf am 3de885be: Merge "Disallow applications from initiating cast screen." into klp-dev
* commit '3de885bef2f0f85ea76fd96c8f18cdd743ce66a4':
  Disallow applications from initiating cast screen.
2013-11-15 00:38:09 -08:00
Jeff Brown
3de885bef2 Merge "Disallow applications from initiating cast screen." into klp-dev 2013-11-15 08:35:50 +00:00
Jeff Brown
af574183c2 Disallow applications from initiating cast screen.
Only allow the system ui and settings to connect to a remote display.
To do this, we essentially hide the remote displays from applications
by using the ROUTE_TYPE_REMOTE_DISPLAY then add permission checks
around the operations that connect to them.

As a bonus, this may actually save power on devices since applications
that use MediaRouter will not longer be performing discover on
remote display routes at all.

Bug: 11257292
Change-Id: I9ea8c568df4df5a0f0cf3d0f11b39c87e2110795
2013-11-15 00:29:43 -08:00
Baligh Uddin
2785892dbf Import translations. DO NOT MERGE
Change-Id: I6d1283da139ad2ef60213d83d7ac00939a4bfc04
Auto-generated-cl: translation import
2013-11-14 22:32:08 -08:00
Svetoslav
172c5a2473 am d2b27cbd: am 6874bfe1: Merge "Created print jobs should not be persisted until they are queued." into klp-dev
* commit 'd2b27cbde92dc57b5b6fe9b7434a5189a73dd2b2':
  Created print jobs should not be persisted until they are queued.
2013-11-14 22:30:52 -08:00
Svetoslav
d2b27cbde9 am 6874bfe1: Merge "Created print jobs should not be persisted until they are queued." into klp-dev
* commit '6874bfe19b6bc1522e07e53eb96a07e21d148b41':
  Created print jobs should not be persisted until they are queued.
2013-11-14 22:27:35 -08:00
Svetoslav
6874bfe19b Merge "Created print jobs should not be persisted until they are queued." into klp-dev 2013-11-15 06:23:32 +00:00
Jim Miller
fa0211adc3 am 8d1e86d0: am 1907c0d2: Merge "Don\'t show external presentation until keyguard actually shows" into klp-dev
* commit '8d1e86d054c9d2a9bdec2a0c9d454ddf21768031':
  Don't show external presentation until keyguard actually shows
2013-11-14 18:24:35 -08:00
Jim Miller
8d1e86d054 am 1907c0d2: Merge "Don\'t show external presentation until keyguard actually shows" into klp-dev
* commit '1907c0d280d97776708810c9d24931aa6f818790':
  Don't show external presentation until keyguard actually shows
2013-11-14 18:20:53 -08:00
Jim Miller
1907c0d280 Merge "Don't show external presentation until keyguard actually shows" into klp-dev 2013-11-15 02:18:08 +00:00
Svetoslav
885810de69 Created print jobs should not be persisted until they are queued.
Print jobs in a created state should not be persisted. However,
if a print service sets the tag to a print job that is queued,
we were persisting even print jobs in a created state. This
change adds a simple check while persisting to avoid storing
created print jobs.

bug:11696785

Change-Id: Idf28f3634b91fd5bf345f376114af4ed478ed3c6
2013-11-14 18:02:31 -08:00
Jeff Brown
d216944765 am 2bced6dc: am a7a46a66: Merge "Update cast screen strings." into klp-dev
* commit '2bced6dcb53c1743d6d11ffcb213206a07a63737':
  Update cast screen strings.
2013-11-14 17:35:00 -08:00
Jeff Brown
2bced6dcb5 am a7a46a66: Merge "Update cast screen strings." into klp-dev
* commit 'a7a46a66fa9f9ce547bac6c2e800a0ae287d9e5c':
  Update cast screen strings.
2013-11-14 17:31:32 -08:00
Jeff Brown
a7a46a66fa Merge "Update cast screen strings." into klp-dev 2013-11-15 01:28:59 +00:00
John Spurlock
ab53cbea9e am caf21486: am 68837c4e: Merge "Avoid skipping animated status bar icon frames." into klp-dev
* commit 'caf21486dfbc4ca67254652f16448493c5f4e06c':
  Avoid skipping animated status bar icon frames.
2013-11-14 17:20:03 -08:00
John Spurlock
caf21486df am 68837c4e: Merge "Avoid skipping animated status bar icon frames." into klp-dev
* commit '68837c4eca7705cd32e3de2e7cdcd24c72ecaea7':
  Avoid skipping animated status bar icon frames.
2013-11-14 17:16:38 -08:00
John Spurlock
68837c4eca Merge "Avoid skipping animated status bar icon frames." into klp-dev 2013-11-15 01:11:52 +00:00
Jim Miller
d31fd404e3 Don't show external presentation until keyguard actually shows
The previous code was looking for just the display to turn off.
It should wait until keyguard is actually shown before enabling
the external presentations.

Fix for bug 11694904

Change-Id: Iebf3aa04fc094cd4e5c8f56bc771aca1e5921d04
2013-11-14 16:47:26 -08:00
Jeff Brown
cef34fce3c Update cast screen strings.
Bug: 11257292
Change-Id: Ia66152985bafcdd8ec88a3145623536a2b439b78
2013-11-14 16:03:36 -08:00
John Spurlock
327276440f Avoid skipping animated status bar icon frames.
By avoiding a known issue in AnimationDrawable.

Bug:11694594
Change-Id: I87540728118833f29fc7b64a5c853bc26fd19d73
2013-11-14 19:01:20 -05:00
Jim Miller
dab5ba58fe am 434b4acb: am 90fa5331: Merge "Don\'t show keyguard until the device has been provisioned." into klp-dev
* commit '434b4acb997484e7a540bf44bebd6b17c63fe270':
  Don't show keyguard until the device has been provisioned.
2013-11-14 15:44:51 -08:00
Jim Miller
434b4acb99 am 90fa5331: Merge "Don\'t show keyguard until the device has been provisioned." into klp-dev
* commit '90fa53318d4984dbebfa7964ae1f79f51a130932':
  Don't show keyguard until the device has been provisioned.
2013-11-14 15:38:32 -08:00
Jim Miller
299422baeb Don't show keyguard until the device has been provisioned.
This fixes a bug where we'd show keyguard on top of setup.

Fixes bug 11689756

Change-Id: I38ecdafc00fc34fdd79e3ac517042a1e5eea93de
2013-11-14 14:15:02 -08:00
Jim Miller
71fb32e080 am 5305fe3f: am 39af5a78: Merge "Don\'t set up external displays from binder thread" into klp-dev
* commit '5305fe3f0971274d90d875cfbeffdb18e3b03f09':
  Don't set up external displays from binder thread
2013-11-13 17:54:11 -08:00
Jim Miller
fdf7c36daa am 378c804d: am c8867b28: Merge "Report keyguard as initially showing and secure until we know" into klp-dev
* commit '378c804d652f32547d3fe460842e5720b57bd9f1':
  Report keyguard as initially showing and secure until we know
2013-11-13 17:54:04 -08:00
Jim Miller
5305fe3f09 am 39af5a78: Merge "Don\'t set up external displays from binder thread" into klp-dev
* commit '39af5a78c073d01539625a9fbbb8511747e2f048':
  Don't set up external displays from binder thread
2013-11-13 17:50:26 -08:00
Jim Miller
378c804d65 am c8867b28: Merge "Report keyguard as initially showing and secure until we know" into klp-dev
* commit 'c8867b2807b6d7ffcd3c2f935d1fe8c857a9ef8d':
  Report keyguard as initially showing and secure until we know
2013-11-13 17:50:18 -08:00
Jim Miller
39af5a78c0 Merge "Don't set up external displays from binder thread" into klp-dev 2013-11-14 01:47:32 +00:00
Jim Miller
c8867b2807 Merge "Report keyguard as initially showing and secure until we know" into klp-dev 2013-11-14 01:45:52 +00:00
Jim Miller
80cb9bcfc0 Don't set up external displays from binder thread
This fixes a bug where keyguard was attempting to set up
external presentation displays from the binder thread instead
of the UI thread.  Bad dog.

Fixes bug 11676486

Change-Id: Iadbe485691acc56a41b23219fe399f7eda40cb7c
2013-11-13 16:47:20 -08:00
Jim Miller
e5f17ab5a6 Report keyguard as initially showing and secure until we know
This fixes a bug where an app calls KeyguardManager.isLocked()
before keyguard has had a chance to show.  The fix is to assume
keyguard is showing and secure until we know otherwise.

Fixes bug 11670159

Change-Id: Ifbe4cdf40e3b76d2069ecace940f85fa58f31187
2013-11-13 15:40:48 -08:00
Baligh Uddin
dc0acc6f5d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-13 22:39:40 +00:00
Jim Miller
3b44dd88a5 am 291b7f56: am 3714473f: Merge "Enable fast camera transition when launched from navbar" into klp-dev
* commit '291b7f56159a942911c5e83c42b89ecd2440708c':
  Enable fast camera transition when launched from navbar
2013-11-13 14:32:35 -08:00
Jim Miller
291b7f5615 am 3714473f: Merge "Enable fast camera transition when launched from navbar" into klp-dev
* commit '3714473f1a077cae6eca3079da67a7dd09dcff65':
  Enable fast camera transition when launched from navbar
2013-11-13 14:28:06 -08:00
Jim Miller
13c7984d2d am cefe47c0: am 9c8d56a6: Merge "Reduce camera launch time by about 250ms." into klp-dev
* commit 'cefe47c0d3471aedd4f7d4d3b5137a2a95161ad4':
  Reduce camera launch time by about 250ms.
2013-11-13 14:27:58 -08:00
Svetoslav Ganov
9358d98d83 am 852a8895: am d697ba73: Merge "Fix NPE at PrintSpooler in Japanese environment." into klp-dev
* commit '852a8895e18ad578a4c299d13615a4cbb3ee1211':
  Fix NPE at PrintSpooler in Japanese environment.
2013-11-13 14:27:54 -08:00
Jim Miller
cefe47c0d3 am 9c8d56a6: Merge "Reduce camera launch time by about 250ms." into klp-dev
* commit '9c8d56a692198a3fc1629a0407ea6027f04e9a91':
  Reduce camera launch time by about 250ms.
2013-11-13 14:24:26 -08:00
Svetoslav Ganov
852a8895e1 am d697ba73: Merge "Fix NPE at PrintSpooler in Japanese environment." into klp-dev
* commit 'd697ba73b5a5fc5dc502a117a8f06e8f1a5359b9':
  Fix NPE at PrintSpooler in Japanese environment.
2013-11-13 14:24:23 -08:00
Jim Miller
3714473f1a Merge "Enable fast camera transition when launched from navbar" into klp-dev 2013-11-13 22:23:34 +00:00
Jim Miller
9c8d56a692 Merge "Reduce camera launch time by about 250ms." into klp-dev 2013-11-13 22:22:13 +00:00
Svetoslav Ganov
d697ba73b5 Merge "Fix NPE at PrintSpooler in Japanese environment." into klp-dev 2013-11-13 22:19:57 +00:00
Baligh Uddin
b4aac8d832 Import translations. DO NOT MERGE
Change-Id: I11d764583416d7fb4dfc85ebe81a98b6a1267424
Auto-generated-cl: translation import
2013-11-13 13:39:45 -08:00
Baligh Uddin
5cc3ddf16f Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-13 21:04:07 +00:00