Commit Graph

4225 Commits

Author SHA1 Message Date
Eric Fischer
a1307695c1 Import revised translations.
Change-Id: Ib916cb8bb0b6f45452300b50b5ac138f89a89c29
2011-06-20 14:54:12 -07:00
Jeff Sharkey
827fde31e8 Match NetworkStatsService refactoring.
Change-Id: Ia5c7fa6e60dd1915939437c859af696fb01498bc
2011-06-19 21:59:01 -07:00
Jeff Sharkey
a662e4975b NetworkTemplate refactoring for data stats.
To match framework changes.

Change-Id: I0f648ae5753149f9774c8096540834451ba41279
2011-06-18 22:22:29 -07:00
Jeff Sharkey
fd03deaef6 Merge "Refactor network policy: paid to metered." 2011-06-17 16:57:30 -07:00
Dianne Hackborn
0c2857d48b Merge "Re-enable user disabling of apps." 2011-06-17 14:53:44 -07:00
Dianne Hackborn
a12c1e3226 Re-enable user disabling of apps.
Change-Id: I5f3a474926cf2b93e311435f67f36837f5f56caa
2011-06-17 14:50:11 -07:00
Jeff Sharkey
1a3e41d629 Refactor network policy: paid to metered.
Also bind policy checkbox correctly.

Bug: 4691427
Change-Id: Ib05b39c391bf59582106afff5599d62a04c3c75b
2011-06-17 13:39:33 -07:00
Amith Yamasani
9a2442711e Merge "Wallpaper settings" 2011-06-16 17:49:37 -07:00
Amith Yamasani
fcbf7cffb6 Wallpaper settings
Added an option in Screen settings to choose a wallpaper.
It then shows a list of wallpaper sources and launches the
corresponding intent on selecting.

Bug: 4691375
Change-Id: I9de9edf56ae4cdd5145a1c5d836df66b893a05fe
2011-06-16 17:48:40 -07:00
Eric Fischer
9599f0a520 am 50c32a16: am 3c75fbc5: (-s ours) am 5bdc3e91: Import revised Croatian translations.
* commit '50c32a16f34ea154fe97afdc5aaebba6598f58be':
  Import revised Croatian translations.
2011-06-16 17:04:52 -07:00
Eric Fischer
50c32a16f3 am 3c75fbc5: (-s ours) am 5bdc3e91: Import revised Croatian translations.
* commit '3c75fbc55667d4b3f368afbd29ef78eab55303a2':
  Import revised Croatian translations.
2011-06-16 15:55:10 -07:00
Eric Fischer
3c75fbc556 am 5bdc3e91: Import revised Croatian translations.
* commit '5bdc3e9139a7b37b97a56554cc9a89abc196b437':
  Import revised Croatian translations.
2011-06-16 15:48:43 -07:00
Eric Fischer
8c158e2403 am 957bed6e: (-s ours) am 3bf263c9: am b5c4437f: Import revised translations. DO NOT MERGE
* commit '957bed6e528b2640b9e91abd509688759691e247':
  Import revised translations.  DO NOT MERGE
2011-06-16 14:48:09 -07:00
Eric Fischer
957bed6e52 am 3bf263c9: am b5c4437f: Import revised translations. DO NOT MERGE
* commit '3bf263c97e23eeec199bd56ef520fba17a1e3917':
  Import revised translations.  DO NOT MERGE
2011-06-16 14:41:45 -07:00
Eric Fischer
3bf263c97e am b5c4437f: Import revised translations. DO NOT MERGE
* commit 'b5c4437f336c3e79d34428de0b1b7ce22785fb29':
  Import revised translations.  DO NOT MERGE
2011-06-16 14:29:39 -07:00
John Reck
edaa5a286d Merge "SeekBarPreference -> SeekBarDialogPreference" 2011-06-16 13:21:50 -07:00
Amith Yamasani
0ae7893ab9 Merge "Enable the PowerControl widget that was disabled for honeycomb." 2011-06-16 11:10:08 -07:00
Narayan Kamath
fb52613a57 Merge "Text to speech settings UI change." 2011-06-16 07:40:29 -07:00
Narayan Kamath
d5642f7060 Text to speech settings UI change.
No more separate checkboxes for each of the engines. This brings
it more in line with the voice recognition settings. The user is
shown a data warning every time he chooses a non system engine
as the default.

Change-Id: I00fcb9c9f634a9fc13ff14da8bfade79ae6727c4
2011-06-16 13:35:34 +01:00
Amith Yamasani
b4b1b400d9 Enable the PowerControl widget that was disabled for honeycomb.
Widget will be selectively disabled for certain devices.

Change-Id: I0c8835e70e21e188d8e2131cb22980744abe8524
2011-06-15 18:00:27 -07:00
John Reck
c2ad2e4ce5 SeekBarPreference -> SeekBarDialogPreference
Change-Id: Ie1fba2633806a50b5282728dce447be2162ad67f
2011-06-15 16:49:16 -07:00
Eric Fischer
b5c4437f33 Import revised translations. DO NOT MERGE
Change-Id: I4fa5f4000565d487a86e858cb3520555b2147dd2
2011-06-15 15:13:19 -07:00
Eric Fischer
5bdc3e9139 Import revised Croatian translations.
Change-Id: Ib0067e98d8e3ce35d5e2868e61a8ad3680c62f1e
2011-06-15 12:09:02 -07:00
Jeff Sharkey
dd6efe17e0 Handle data warning/limit notification actions.
Respond to user interaction with data warning/limit notifications
shown by NetworkPolicyManager.  Show correct tab for the template that
triggered notification.  When data is disabled, prompt user with
dialog and option to re-enable.

Change-Id: I73aeecc0e840fffa2b4cdb90af269115ed0ab56c
2011-06-15 10:31:49 -07:00
Jeff Sharkey
aa5260e40a Load app usage on background thread.
Since stats service loads as needed, this may touch disk, and should
run on background thread.

Change-Id: I1d1d2583250314efa4d3d8f4faa9016c746c29d0
2011-06-14 23:28:03 -07:00
Jeff Sharkey
8e911d7b1a Data usage app labels, protect system, hide empty.
Derive better labels from PackageManager, including for sharedUid
case.  Disable "App settings" button when no ResolveInfo found, and
hide "Restrict" checkbox for system UIDs.  Also hide apps with 0
bytes usage.

Change-Id: I4b0a66f6912c02c56bfcbcb5b46f3ae2ba0df504
2011-06-14 22:45:58 -07:00
Amith Yamasani
5a259aae18 am 80cc0ffa: am e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.
* commit '80cc0ffa2b284aee595c45f8f4142f615486f797':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.
2011-06-14 20:56:45 -07:00
Jeff Sharkey
980385b3f9 Merge "Cycle day editor and other confirmation dialogs." 2011-06-14 16:35:51 -07:00
Jeff Sharkey
4c72ae5e3d Cycle day editor and other confirmation dialogs.
Create dialog to edit "cycle day" when data usage resets.  Also added
dialogs to confirm enabling limit and restricting an application.

Change-Id: I1e08b17fabd1fcfc2f260807a61435d0ff1a8627
2011-06-14 16:32:06 -07:00
Amith Yamasani
80cc0ffa2b am e7f7643c: am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.
* commit 'e7f7643c485ed6926bc354ca28628d5179019b50':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.
2011-06-14 15:44:23 -07:00
Amith Yamasani
e7f7643c48 am 6ef6f183: Stability fixes for Settings. Asynchronous callbacks causing NPEs.
* commit '6ef6f183e4d8be0828d1a969178a6e315d8a0ea7':
  Stability fixes for Settings. Asynchronous callbacks causing NPEs.
2011-06-14 15:41:00 -07:00
Amith Yamasani
6ef6f183e4 Stability fixes for Settings. Asynchronous callbacks causing NPEs.
Bug: 4598717
Change-Id: I7f1c5bf6e079bb36301e81085096c5b82615814b
2011-06-14 15:19:14 -07:00
Narayan Kamath
62f153dbde Fix a bug in the TTS settings.
Non system engines that are explicitly enabled should
show up in the "default engine" dropdown list.

bug:4608012

Change-Id: Ic805ef6199319e44037a84ba43fc549de91d291d
2011-06-14 16:40:00 +01:00
Jeff Sharkey
94a9095eac Read network policy earlier, fix ugly scrollbar.
Read policy before creating options menu, so we correctly populate
checkboxes.  Also clean up Preference views so we don't crash when
returning from app details.

Change-Id: I52c38a3016ea669e27b325bfb6ae1620d2a5ca53
2011-06-13 22:31:09 -07:00
Jason parks
00046d6e17 Get encryption working for phones.
I've removed the "special" keyboard from the phone
layouts for now.

Change-Id: I4b18279dafb18ba7cebacfad1b7167e34a7203b4
2011-06-13 17:39:25 -05:00
Mike Lockwood
6fc9c2fd37 am c938a02b: am c1db1192: am d2a6f28f: Disable option to format SD card for secondary external storage
* commit 'c938a02bc69434840340dcebb8ac16b6dcfb8b60':
  Disable option to format SD card for secondary external storage
2011-06-13 04:46:53 -07:00
Mike Lockwood
c938a02bc6 am c1db1192: am d2a6f28f: Disable option to format SD card for secondary external storage
* commit 'c1db119250fd481341c095f47a62adb14ad09484':
  Disable option to format SD card for secondary external storage
2011-06-13 04:36:26 -07:00
Mike Lockwood
c1db119250 am d2a6f28f: Disable option to format SD card for secondary external storage
* commit 'd2a6f28fa7ba8189d2a1987129db27fd840fac0f':
  Disable option to format SD card for secondary external storage
2011-06-13 04:25:51 -07:00
Jeff Sharkey
4dfa66001d First pass at detailed app data usage, policy.
Fragment to show application data usage details, including chart with
inspection ranges.  Button that invokes ACTION_MANAGE_NETWORK_USAGE
towards application, and UID-specific policy controls.  Fragment is
launched when clicking list items from data usage summary page.

Change-Id: Ie1564aa8af98e1a7083817a997059a5a7b1caa50
2011-06-13 00:42:22 -07:00
Jeff Sharkey
05cc0cc4a6 Modifier to combine/split mobile network policy.
Create NetworkPolicyModifier which knows about which mobile network
policies can coexist.  Settings UI uses this modifier to drive UI and
persist policies.

Change-Id: Ib3f3841b0a74c14eefb99209dd644a2e7b7e525d
2011-06-12 23:11:40 -07:00
Mike Lockwood
d2a6f28fa7 Disable option to format SD card for secondary external storage
This is a temporary workaround for an interoperability problem with MTP

Change-Id: Iaf63ea0ac76e12ffd635765785da027cab0fcb9a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-11 18:11:03 -04:00
Jeff Sharkey
8a50364a71 Iterating on data usage; tabs, scrolling, cycles.
Added ActionBar items to control complexity of data surfaced; checked
state causes tabs to be shown/hidden for "Mobile", "2G-3G", "4G", and
"Wi-Fi" network templates.  Loading historical stats and policy from
system services based on selected tab.

Change entire body under tabs to scroll, treating network options and
chart as ListView headers.  Teach chart sweep to disable intercept to
play with ListView, and draw sweep disabled as dashed line.  Hijacking
Preference views for toggles to offer consistency.  No policy updates
are persisted yet.

Based on available historical network stats and policy cycle reset day,
build list of user-selectable cycles.  Wired up chart to display cycle
data and reset inspection region to last week of available data.

Change-Id: Ia561578276fa23908b745fbc06a6ef828d9ccc2e
2011-06-10 16:17:21 -07:00
Freeman Ng
86432504d3 am 945aac2e: am fb096074: am 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2
* commit '945aac2e299e8a290c6ec3e5fbad84b7c28366ce':
  remove disabling of Back/Dismiss button for 10" mode
2011-06-10 14:08:35 -07:00
Freeman Ng
10d41eca7b am a35506c7: am f2a9bd33: am 0a67cdb7: Merge "add "behind" screen orientation to prevent spurious flipping" into honeycomb-mr2
* commit 'a35506c7fb32906678fe541914f420d19ff17394':
  add "behind" screen orientation to prevent spurious flipping
2011-06-10 14:08:33 -07:00
Dianne Hackborn
8511809928 am 8d7ecabc: am 60d8b3f8: am 55c86911: Mark access to private resources now that aapt enforces this.
* commit '8d7ecabc6893716d78ede40aedd42683a7627f3c':
  Mark access to private resources now that aapt enforces this.
2011-06-10 12:51:28 -07:00
Narayan Kamath
3dbba08455 Clean up some of the TTS settings code.
(a) No longer use a hardcoded default.
(b) With this change, the system engine with the highest
declared priority becomes the default.

Change-Id: I20c6036b855f008b6a83f1dac81aefc07e3ca7f3
2011-06-10 16:51:50 +01:00
Freeman Ng
945aac2e29 am fb096074: am 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2
* commit 'fb09607469a5cb42c833725d121e517af5daca72':
  remove disabling of Back/Dismiss button for 10" mode
2011-06-10 07:46:40 -07:00
Freeman Ng
a35506c7fb am f2a9bd33: am 0a67cdb7: Merge "add "behind" screen orientation to prevent spurious flipping" into honeycomb-mr2
* commit 'f2a9bd337b495b65f9e6708117835b2ff986d5af':
  add "behind" screen orientation to prevent spurious flipping
2011-06-10 07:46:37 -07:00
Justin Ho
6807ecbfad am 9209d20a: am ea8f103f: am 7825cb29: Fixing remaining SetupWizard backgrounds for Flyer Bug: 4523403
* commit '9209d20adc0eea6b5fec9de0f1ca21acf5cec92a':
  Fixing remaining SetupWizard backgrounds for Flyer Bug: 4523403
2011-06-09 18:55:37 -07:00
Freeman Ng
fb09607469 am 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2
* commit '148222fd43499a578c16c0bdf6ae9336255facd7':
  remove disabling of Back/Dismiss button for 10" mode
2011-06-09 18:22:02 -07:00