Commit Graph

3549 Commits

Author SHA1 Message Date
Dianne Hackborn
3400dda246 Merge "Show force stop button if package is not fully stopped." 2011-03-02 10:18:32 -08:00
Justin Ho
a1f54748fa Merge "Updated BT imaging icons" 2011-03-02 08:58:05 -08:00
Justin Ho
1897cc60af Updated BT imaging icons
Change-Id: I8d29853047480f42cd046df524200399a311b0e1
2011-03-02 08:50:04 -08:00
Mike Lockwood
0552d33664 DO NOT MERGE: InstalledAppDetails: "Clear defaults" button now clears USB service settings
The USB service caches the preferred activity preferences for USB devices
and accessories and allows permission to access the hardware based on the
user's selection.  The "Clear defaults" button can now be used to clear
these settings.

Change-Id: If865df98214506cf2f1e35c8c6a3dbe319b125f2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 00:00:09 -08:00
Dianne Hackborn
861c04fbd4 Show force stop button if package is not fully stopped.
Change-Id: I88ccb0907352e082ccb538da77aeccc5ab309a49
2011-03-01 19:16:38 -08:00
Jaikumar Ganesh
98fc5e2570 Fix crashes with OPP profile in Settings app.
Change-Id: I712667f11c0de849da48add912421dfca3e85484
2011-03-01 19:12:44 -08:00
Jake Hamby
436b29e68e Refactor Bluetooth settings for readability and performance.
Major refactoring of Bluetooth settings classes.
- Moved all functionality from LocalBluetoothManager into new
  LocalBluetoothAdapter and LocalBluetoothPreferences, and into
  existing classes.
- Refactored functionality from BluetoothEventRedirector into new
  BluetoothEventManager class, deleting the original version. New
  version uses a HashMap from action Strings to implementers of the
  BluetoothEventManager.Handler interface.
- Created new BluetoothDiscoveryReceiver to update shared preferences
  timestamp for Bluetooth discovery start/finish. This is the only event
  handling we need to do when the settings app is not visible, so it has
  its own receiver entry in AndroidManifest.xml. Edits are written using
  QueuedWork.singleThreadExecutor(), which BroadcastReceiver knows about
  and will wait for completion, eliminating the need for PendingResult.
- Miscellaneous cleanups to code style and logic for readability.
- Pulled some large switch statement code blocks into new methods.
- Changed all Bluetooth state references to the new BluetoothProfile
  constants.
- Changed use of deprecated Notification constructor in
  BluetoothPairingRequest to use Notification.Builder.
- Moved Utf8ByteLengthFilter helper function from BluetoothNamePreference
  into its own class, and moved test cases into the same package.
- Moved all LocalBluetoothProfileManager functionality related to
  specific profiles into new top-level classes (A2dpProfile, etc.), all
  implementing the LocalBluetoothProfile interface.
- Moved all UI-related methods from CachedBluetoothDevice into the class
  that uses the method, or into the static Utils class for shared methods.

Change-Id: I6d49b7f4ae0c7d7dcf62551ee40b51ecb5fe4f47
2011-03-01 18:44:36 -08:00
Eric Fischer
ec40b31c8e am 88764d6a: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '88764d6a928065b85f9377cab7ab388604dce12c':
  Import revised translations.  DO NOT MERGE
2011-03-01 14:44:28 -08:00
Eric Fischer
88764d6a92 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-03-01 14:39:27 -08:00
Daisuke Miyakawa
2adae4e274 Clean up for Wifi setup XL
Change-Id: I5f5c6764be244252cb91331b59d920a54cc03e86
2011-03-01 14:27:45 -08:00
Eric Fischer
bd9cbae9a9 Import revised translations. DO NOT MERGE
Change-Id: I0bd5001ed8ffef60126d98b070ee03355b61e9a9
2011-03-01 14:25:55 -08:00
Amith Yamasani
853ecb2fee Merge "Track changes to brightness and orientation lock in Settings." 2011-03-01 14:19:47 -08:00
Amith Yamasani
38d3353e37 am 03e90322: Merge "Remove more entries not relevant to wifi-only devices." into honeycomb
* commit '03e90322db140139b19739fbe826494daa900773':
  Remove more entries not relevant to wifi-only devices.
2011-03-01 13:33:49 -08:00
Amith Yamasani
03e90322db Merge "Remove more entries not relevant to wifi-only devices." into honeycomb 2011-03-01 13:27:08 -08:00
Amith Yamasani
c06d4c48a9 Remove more entries not relevant to wifi-only devices.
Bug: 3488384
Bug: 3487976
Bug: 3488381

Removed Cell standby entry from Battery use screen.
Removed Mobile signal strength from BatteryHistory screen.
Added wifi IP address to About->Status
Remove auto-timezone checkbox in Settings->Date & time

Change-Id: I228721a3613b1aeb600026e42274337886552698
2011-03-01 12:03:24 -08:00
Mike Lockwood
cac558acb5 Merge "InstalledAppDetails: "Clear defaults" button now clears USB service settings" 2011-03-01 11:58:49 -08:00
Irfan Sheriff
2a450a010a Merge "Use AsyncChannel in settings" 2011-03-01 11:32:28 -08:00
Jason parks
00cc39ec41 Merge "Partial fix for Bug 3495575." 2011-03-01 11:14:51 -08:00
Eric Fischer
2e901e6234 Merge "Import revised translations." 2011-03-01 11:12:55 -08:00
Eric Fischer
d4f03409ae Import revised translations.
Change-Id: I831ca5658dfa0bb442aed60cfe0ac1ef173f70f7
2011-03-01 11:02:57 -08:00
Jason parks
06c5ff4a46 Partial fix for Bug 3495575.
Move the decrypt attempt to a AsyncTask. This will
unblock the UI thread in order for the device to
still be "responsive". There is still the issue of
decrypt taking 3+ seconds before it returns to. The
delay is still there becfore the fade but the text
field is now cleared and you can tap on keys.

Bug: 3495575
Change-Id: Icec82e83d3a09b3c0f856aa77870925fc8469625
2011-03-01 10:17:57 -06:00
Mike Lockwood
9d6d92b33e InstalledAppDetails: "Clear defaults" button now clears USB service settings
The USB service caches the preferred activity preferences for USB devices
and accessories and allows permission to access the hardware based on the
user's selection.  The "Clear defaults" button can now be used to clear
these settings.

Change-Id: I307c118cb0ce06362e289e35bca93a47ce4631a5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 08:05:59 -08:00
Eric Fischer
145ad307ea am 84b23881: (-s ours) am 3dd76cfd: Import revised translations. DO NOT MERGE
* commit '84b23881e64ecd345a72c20860e7d64348ca95df':
  Import revised translations.  DO NOT MERGE
2011-02-28 22:23:26 -08:00
Amith Yamasani
26a1f898e0 Track changes to brightness and orientation lock in Settings.
Bug: 3491814
Bug: 3482859
Bug: 3497535

Since the system bar can now change brightness and orientation lock, Settings needs to listen
to changes to those settings and reflect in the UI.

Also fix a problem with restoring state on cancel when the brightness dialog is invoked a
second time.

Change-Id: I3ada6e77df9a6b013a16061877fcb6b55c94a903
2011-02-28 17:27:04 -08:00
Eric Fischer
84b23881e6 am 3dd76cfd: Import revised translations. DO NOT MERGE
* commit '3dd76cfd844d33b5d6f3a450c6f1c0767ceed851':
  Import revised translations.  DO NOT MERGE
2011-02-28 14:11:44 -08:00
Jaikumar Ganesh
20436ad626 Merge "Display imaging icon for printer devices." 2011-02-28 14:06:08 -08:00
Eric Fischer
3dd76cfd84 Import revised translations. DO NOT MERGE
Change-Id: I70ba332f5ad245551020bc785baea90aa6d0d447
2011-02-28 14:00:02 -08:00
Jaikumar Ganesh
5a3120cab7 Display imaging icon for printer devices.
Change-Id: Iea2a77bb3b79934174f6e39b080ade47bd119773
2011-02-28 11:27:35 -08:00
Jaikumar Ganesh
f3bbbe914f Merge "Add placeholders for imaging (printer) icon." 2011-02-28 11:21:50 -08:00
Jaikumar Ganesh
845efe838b Add placeholders for imaging (printer) icon.
Change-Id: I4571c8ada2a3451840986d702ad5f4405821bf62
2011-02-28 11:20:18 -08:00
Irfan Sheriff
02ec121900 Merge "Handle airplane mode change for hotspot settings" 2011-02-28 10:37:51 -08:00
Robert Greenwalt
3cdf323c87 am ca5cc015: am 29ebf5fa: Merge "Just use device configuration for Tethering." into honeycomb
* commit 'ca5cc0152f3fc26f871797dddd6c45cd2d265600':
  Just use device configuration for Tethering.
2011-02-28 10:15:38 -08:00
Robert Greenwalt
ca5cc0152f am 29ebf5fa: Merge "Just use device configuration for Tethering." into honeycomb
* commit '29ebf5fa50f1dd44d1a8661f1ddd0134714979b6':
  Just use device configuration for Tethering.
2011-02-28 09:54:17 -08:00
Robert Greenwalt
29ebf5fa50 Merge "Just use device configuration for Tethering." into honeycomb 2011-02-28 09:47:55 -08:00
Irfan Sheriff
590e6c23b7 Use AsyncChannel in settings
Change-Id: I440f08dec986e4dad4b578ee4065d6063b8ef989
2011-02-27 22:08:33 -08:00
Doug Zongker
e18897bc22 am 26c433c1: am 489c7bff: show Build.SERIAL in settings > about > status
* commit '26c433c1c64416aed4736bb5a76b0ac4585958a1':
  show Build.SERIAL in settings > about > status
2011-02-25 17:30:55 -08:00
Doug Zongker
26c433c1c6 am 489c7bff: show Build.SERIAL in settings > about > status
* commit '489c7bff5c54c35e7156a99337d538e08f3aab7f':
  show Build.SERIAL in settings > about > status
2011-02-25 17:27:56 -08:00
Robert Greenwalt
4ad4b4fdf7 Just use device configuration for Tethering.
Don't need extra code here if the device is configured propertly.

Change-Id: Ieb65e36c1c91a62bbb0c8619e2efb34735fbb564
2011-02-25 17:25:38 -08:00
Daisuke Miyakawa
7e3ff8eca6 Tiny fix for Wifi setup XL.
Change-Id: I918f4bc8dfbb84a3bdaf6aa74f326f2f5e22bfe2
2011-02-25 17:12:56 -08:00
Doug Zongker
489c7bff5c show Build.SERIAL in settings > about > status
For wifi-only devices, this may be the only way we have to identify
the device.

Change-Id: I70c09e4cdb101282e5d085bcab3f57c890bc7a98
Bug: 3490911
2011-02-25 15:01:50 -08:00
Eric Fischer
46b3a32529 Merge "Import revised translations." 2011-02-25 11:49:44 -08:00
Eric Fischer
73c49db922 Import revised translations.
Change-Id: I82a7d70f3d77f27fb223f1ae178a668d77e01a38
2011-02-25 11:37:53 -08:00
Eric Fischer
5cfa69273a am 9dacc0a5: (-s ours) am 8639a46a: Import revised translations. DO NOT MERGE
* commit '9dacc0a593ccb170998c6195cc4187b595406a8b':
  Import revised translations.  DO NOT MERGE
2011-02-25 11:26:29 -08:00
Eric Fischer
9dacc0a593 am 8639a46a: Import revised translations. DO NOT MERGE
* commit '8639a46a22a10e8a27ed5dbaea53a04f83d1d136':
  Import revised translations.  DO NOT MERGE
2011-02-25 11:12:43 -08:00
Eric Fischer
8639a46a22 Import revised translations. DO NOT MERGE
Change-Id: I3149acfebf3136ad06124721ee7e6c3615c5d20b
2011-02-25 10:51:03 -08:00
Vasu Nori
587aebad8a Merge "replace some ugly code with not-too-ugly code.." 2011-02-24 23:37:38 -08:00
Vasu Nori
8128ff8cbe replace some ugly code with not-too-ugly code..
replaced this kind of code
   string + " " + number + "out of" + " " + number
with this
   String.format("%1$d out of %2$d", number, number);

Change-Id: If1cc296da48dd6823e9081a55b6eab2e3fcee552
2011-02-24 23:32:08 -08:00
Amith Yamasani
a377470486 am 88de52da: am 5d6f0a16: Merge "Remove / re-word some settings for WiFi-only devices." into honeycomb
* commit '88de52da15ed94d6eb70ae75e0df2ddbce923eb0':
  Remove / re-word some settings for WiFi-only devices.
2011-02-24 20:31:58 -08:00
Daisuke Miyakawa
e056cc2ac8 Merge "Fix visual stuffs of XL Wifi setup." 2011-02-24 17:43:21 -08:00
Amith Yamasani
88de52da15 am 5d6f0a16: Merge "Remove / re-word some settings for WiFi-only devices." into honeycomb
* commit '5d6f0a16bbe7efb4db8c43ceb8e0058b5228d5c2':
  Remove / re-word some settings for WiFi-only devices.
2011-02-24 17:19:15 -08:00