Commit Graph

210 Commits

Author SHA1 Message Date
Jason parks
af6d7cf23c Merge "More UI tweaks." into honeycomb 2011-01-25 06:39:06 -08:00
Jason parks
f1dbf55819 More UI tweaks.
* Grab a full wakelock while encrypting.
* Fix a bug with failed attempts.
* Add a custom theme to animate the screen to black.
* Fix the keyboard to be displayed properly in landscape and portrait.

Change-Id: Icc2d813ce1780588eb3b16f5204c3c60cae5236f
2011-01-25 08:38:17 -06:00
Amith Yamasani
a1d0184166 Tabletize Device administrator screen and fix the layout for DeviceAdminAdd.
Bug: 3376986

Convert the DeviceAdminSettings screen to a fragment, remove fat titlebar.
Convert the DeviceAdminAdd screen to layout nicely in the new holo DialogWhenLarge
style.

Change-Id: I20a9d16aed135a2178969dfff807075b0b79237c
2011-01-24 16:24:55 -08:00
Andy Stadler
3da38a0771 Add start-encryption intent filter to settings
* Add intent-filter for "android.app.action.START_ENCRYPTION"
* Add pseudo-activity to host intent-filter
* Add code to settings page that exits quickly when encryption
  is not available or is already started.

This can be tested using ApiDemos -> App -> Device Admin

Bug: 3346770
Change-Id: Ie97459cf9e2a7b09b690bf085e64ef905466e77a
2011-01-21 13:38:45 -08:00
Daisuke Miyakawa
8f533a6232 Use new backgrounds in wifi setup for xl
Bug: 3373467
Change-Id: Iccc9a4c36dc46a67e395c81a642646b8199be606
2011-01-20 12:28:47 -08:00
Tadashi G. Takaoka
9f7320132b Use android.provider.Settings.EXTRA_INPUT_METHOD_ID
This change also fixes the action name of
android.settings.INPUT_METHOD_SUBTYPE_SETTINGS.

Change-Id: Ie08e7f9144f8ff8faa8e7d8edf63fbd59421b18c
2011-01-21 00:13:33 +09:00
Chia-chi Yeh
91d65a20af Extract credential storage dialogs to a new activity.
Since now SecuritySettings is a fragment, not an activity, reacting
to intents is not easier anymore. The new activity is transparent,
and it works just like a dialog. This change also refactor'ed
SecuritySettings by moving some preference construction into
security_settings_misc.xml.

Bug: 3120992
Bug: 2117436
Change-Id: I8bd3fc7faa2a31d100b8d67310f9266260cfc31d
2011-01-20 19:45:04 +08:00
Daisuke Miyakawa
79c5fd971e Add WifiPickerActivity for PICK_WIFI_NETWORK
- We disable left pane when PICK_WIFI_NETWORK intent is used.
- Add ButtonBarHandler interface and let SettingsPreferenceFragment
  use it instead of Settings. Note that
  PreferenceActivity#hasNextButton() and
  PreferenceActivity#getNextButton() are currently protected methods,
  while Settings' relevants are public.

Bug: 3355247
Change-Id: Ie0fae8a1dbce9c7ce37375dff8395dc09b1cc74e
2011-01-17 13:26:45 -08:00
Chia-chi Yeh
e5b5f6ebe0 Merge "Fix PhysicalKeyboardSettings by merging it into InputMethodConfig." into honeycomb 2011-01-14 01:21:12 -08:00
Chia-chi Yeh
71966ce931 Fix PhysicalKeyboardSettings by merging it into InputMethodConfig.
Change-Id: I00deeda813f438f9eb2b7932e3b4d273be2e1ab8
2011-01-14 17:12:01 +08:00
Jason parks
8fd5bc9e6f Move the CryptKeeper to Settings.
Change-Id: I59e46366e1911ae7fd37f07719f1e7ba0825733c
2011-01-12 16:04:51 -06:00
Jim Miller
7d8afd76f8 Merge "Fix 3298889: Show continue button on PIN and password screens" into honeycomb 2011-01-11 13:50:40 -08:00
Jim Miller
d75905991c Fix 3298889: Show continue button on PIN and password screens
This fixes the above bug by allowing the PIN and password
screens to shrink to reveal the continue/cancel buttons
when the IME is shown.

This also fixes a minor resource bug where the title was
showing "confirm your password/pin" instead of "choose your password/pin".

Change-Id: I610c6018085e0c4ef1b6dc384566d06d1211f8ea
2011-01-10 19:57:29 -08:00
Joe Onorato
9bcc69131d Partially revert "Conditionally remove Dock settings shortcut and Power control widget."
This reverts commit 580c80f853.

So it turns out we won't have the ability to control the enabled flag from
Configuration changes because the dependency is actually in the package manager.
I'm reverting this change and going to do another one that just turns them
off for all configurations, because honeycomb is just for tablets.

Change-Id: I16b7b1e2d59a3a917448ce0361e3ce0fdd062a86
2011-01-10 13:35:44 -08:00
Jim Miller
7da8cae44b Fix 3281395: Fix duplicate title in LockScreen Settings. [DO NOT MERGE]
Manual merge of Change-Id: I3c53d1864e521f4245b94d39664266891a728615

Change-Id: I59eedd81af226949ac0df10390ae0642e1812c5a
2011-01-09 13:57:53 -08:00
Amith Yamasani
580c80f853 Conditionally remove Dock settings shortcut and Power control widget.
Bug: 3258028
Bug: 3248740

Change-Id: Id37787cc9562cde13048e8dfba957599219d94b5
2011-01-09 12:03:45 -08:00
Fabrice Di Meglio
ce9f77bb55 Fix for bug #3325868 (add accounts should not use the settings activity as part of its flow)
- suppress non needed AccountSyncSettingsInAddAccount class

Change-Id: I27ba9ea2d45a5e2c9ec1d2ed6033f6d68e100a3f
2011-01-07 17:47:59 -08:00
Jake Hamby
2df30b2f07 Use holographic style for BT pairing dialogs.
Use holographic style for BT pairing dialogs.

Bug: 3321504
Change-Id: I111b3112318eff86d44dc81909a5220661e33e79
2011-01-06 20:19:01 -08:00
Patrick Dubroy
0c5b9ca58b fix 3185231: Dragging app to info button doesn't work
When dragging an app from all apps to the info button, it
is currently showing an empty dialog.
2011-01-05 15:28:21 -08:00
Jim Miller
9709625874 Fix 3148496: Update LockPatternTutorial to be one screen.
This combines the two activities ChooseLockPatternExample and
ChooseLockPatternTutorial into one activity and makes use of the
built-in LockPatternView animation to show an example view.

Change-Id: If3a4b236a15a6d99b1c0b5c11e5e923267fa30d3
2010-12-22 20:28:32 -08:00
Jim Miller
9757e30dfa Fix 3281395: Use breadcrumb area to display title for LockScreen
Change-Id: Icd631b4c70e7b9f6b9a8c24dd513aed259a22d6a
2010-12-21 18:35:23 -08:00
Fred Quintana
043bcc04f3 fix the TooManyDeletes to show up again
It was moved so it was no longer in the location that
SyncManager expected. I fixed it by (a) moving it to the
SyncManager directory and by (b) changing the SyncManager to
refer to it by class rather than by class name, which means
it will now check for it at compile time, not run time.
Bug: 3289922

Change-Id: I93fb78432e66ff14e1f750b06f79425c457399c2
2010-12-17 11:28:11 -08:00
satok
c88a7ff1ef Implement new design for settings of InputMethods
Change-Id: I82392e4a028abe2d588622a7e89fd035966f603a
2010-12-17 18:32:36 +09:00
Amith Yamasani
eb99f2f3f4 Fixes a regression in launching certain settings activities.
Some undocumented settings and class names are being used by NotificationManagerService.
Added compatibility activities to handle them.

Bug: 3258668
2010-12-15 15:46:12 -08:00
Jim Miller
2e28acedc6 Fix 3148496: Update LockScreen layouts on large device
This updates the layouts to conform to the latest UX spec on
large devices and fixes a bug where the IME shown for PIN
selection was the QWERTY keyboard.

Change-Id: Ib9f0b1631f11c8eff6898bfff9447d3dad75cc42
2010-12-15 14:15:01 -08:00
Amith Yamasani
c9fdfa8a72 Handle fragment breadcrumbs for deep-linked settings launches.
This adds meta-data to the manifest for specifying the parent fragment and enabling a link
in the breadcrumbs to navigate "up" a level even if the parent is not in the back-stack.

Bug: 3236568

Fix a monkey issue in VpnSettings.
2010-12-14 14:58:06 -08:00
Amith Yamasani
b44161f3ed Move Voice input/output settings to Language & keyboard
Bug: 3267042
Change-Id: I127a2e9d11fb70283812e68979bdde3976e32cf9
2010-12-10 13:20:52 -08:00
Jake Hamby
c090feb64f Implement BT settings functionality for new UI.
- Removed context menu logic for long press (no longer used).
- Converted device picker to run in its own Activity, using a dialog
  theme on large screen devices and full-screen on phones.
- Removed unused resources.
- Add device to "Paired devices" list when pairing is initiated by the
  remote device.
- Return to Bluetooth settings pane after successfully pairing a new
  device from the "Find nearby device" pane.
- Add support for renaming devices (TODO: persist the custom name and
  update the "bread crumb" in the action bar to the new device name).
- Add support for incoming file transfer and auto connect checkboxes
  in DeviceProfilesSettings.
- Show available and connected device profiles as icons instead of
  summary text. Available but disconnected profiles are drawn in gray.
- Fixed bluetooth_notif_message to include the device name as a parameter
  instead of appending the name to the end of the localized string.
- Changed some fields from private to package scope for more efficient
  access from inner classes.

Bug: 3137982

Change-Id: Ic2d6ee5be60c9c5b3f3a8a58846d58efedfa5c93
2010-12-09 16:32:41 -08:00
Jim Miller
17e9e19330 Fix 3148496: Initial pass at fragmentizing lockscreen settings.
This converts most of the existing activities to fragments and wraps
them in PreferenceActivities so they can be launched as before
(e.g. by a DevicePolicyManager)

Upload after sync/rebase.

Change-Id: I4f351b75d9fca0498bcb04b4e11ff3b70765a4ba
2010-12-08 16:45:52 -08:00
Amith Yamasani
43c697854c Move Account & sync settings into Settings app.
Fragmentized some of the activities and moved buttons into the menu area.

Bug: 3148844
2010-12-01 15:14:09 -08:00
Ying Wang
8935b15cbb Move icons to mipmap.
Change-Id: If3bd32658300cb028411d1aa7a3f56d8c1d234eb
2010-11-23 12:03:43 -08:00
Amith Yamasani
3965ae6d1f Jump to top-level settings when launched from system bar or Settings shortcut.
Bug: 3192808

Also switch back to Theme.Holo, as Theme.Holo.Extended is deprecated.
2010-11-16 05:00:28 -08:00
Dianne Hackborn
d925e25a34 Some more theme adjustment.
Also fix battery use button on device info to do the right thing.

Change-Id: I663429d5eb15ac4500feabeebd7ad2e3b8238409
2010-11-12 13:57:49 -08:00
Dianne Hackborn
59a48604b5 Start fragmentizing battery usage.
Change-Id: I0864f6738b37c3203e166bb8f7e61e8904d9980a
2010-11-11 22:32:58 -08:00
Amith Yamasani
de64df5fb9 Updated visual look for Shortcuts selection. 2010-11-04 13:07:23 -07:00
Amith Yamasani
5203bdffe6 Create activity wrappers for settings launchable through intents or shortcuts.
Meta data specifies the fragment class and top-level header that it belongs to.

Bug: 3127704
2010-11-04 12:52:53 -07:00
Dianne Hackborn
ee2937941d Further manage apps fragmentization.
All of the UI under manage apps should now be working.  Various
cleanup through new framework APIs.  Fragmentized developer settings.

Change-Id: I2b42a2dd0d015e0fdcde497579ddad3dceea9da2
2010-11-01 14:48:22 -07:00
satok
0417e40947 Move classes related to input method to com.android.settings.inputmethod
- Updated proguard.flags

Change-Id: I198761b0f0ad5288c8c807a7a3c2e965731fcee5
2010-11-01 19:07:44 +09:00
Dianne Hackborn
f4eb85bc3c Start fragmentizing Manage Applications.
Change-Id: I0c3d6a358d0236893aba7257537ec32bfad4170d
2010-10-29 17:48:26 -07:00
Amith Yamasani
48e9000283 Bluetooth settings revamp
Added a separate scanning screen.
UI changes to not require long-press options.
Needs TODOs to be filled by BT team.

Bug: 3038327
2010-10-27 16:23:05 -07:00
satok
4a5f889f80 Copy InputMethodSubtypeEnabler from the framework
- TODO: remove InputMethodSubtypeEnabler from the framework

Change-Id: I751f3c73197c855c7f186ff64465d88ed1e2b603
2010-10-27 15:27:12 +09:00
Nick Pelly
834735a955 am 029f23c3: am ff8018dc: Merge "Fix NFC permission." into gingerbread
Merge commit '029f23c32c9fe0c7f288d383a8704bfa420d4ed0'

* commit '029f23c32c9fe0c7f288d383a8704bfa420d4ed0':
  Fix NFC permission.
2010-10-21 13:46:55 -07:00
Nick Pelly
029f23c32c am ff8018dc: Merge "Fix NFC permission." into gingerbread
Merge commit 'ff8018dcbd0488160519481d4ca1567fa397d44e' into gingerbread-plus-aosp

* commit 'ff8018dcbd0488160519481d4ca1567fa397d44e':
  Fix NFC permission.
2010-10-20 16:47:25 -07:00
Nick Pelly
f2917ac3c5 Fix NFC permission.
(it's not actually needed right now, hence why nothing was broken).

Change-Id: I52ea0b49a77eca4e3a688d37aa721d3483227553
2010-10-20 16:39:44 -07:00
Dianne Hackborn
33b316ee67 Turn on hardware acceleration of rendering.
Change-Id: Iaa6de77738e097138d33d9d4c9e60eb471680d69
2010-10-14 17:38:48 -07:00
Jean-Baptiste Queru
902c4a6698 resolved conflicts for merge of 0eb550ef to master
Change-Id: Id7434c6e95a688bf97786177a8dbecb4c3c5dc95
2010-10-10 08:25:21 -07:00
Dianne Hackborn
0eb550efe2 am 4b21f7cd: Fix issue #3062691: GPS enable bypass via com.android.settings.widget.SettingsAppWidgetProvider
Merge commit '4b21f7cd9424eeb83838071a4419912ee5d5e41d' into gingerbread-plus-aosp

* commit '4b21f7cd9424eeb83838071a4419912ee5d5e41d':
  Fix issue #3062691: GPS enable bypass via com.android.settings.widget.SettingsAppWidgetProvider
2010-10-07 07:16:02 -07:00
Dianne Hackborn
4b21f7cd94 Fix issue #3062691: GPS enable bypass via com.android.settings.widget.SettingsAppWidgetProvider
Make the receiver private.  Also fix to correctly update when sync
status changes.

Change-Id: I35481bf5b473196b00427da4df49aa76f691d38b
2010-10-06 14:28:23 -07:00
Amith Yamasani
e0e4fc208b Remove singleTop, as it's causing serious problems on the phone. And...
Fix fragment launching from another app - pass along the fragment class name
and bundle from the original intent.

Bug: 3064432
Bug: 3059311 (partial fix)
2010-10-05 13:27:45 -07:00
Eric Fischer
4e6466f5ef am 25c52b70: am 340c5c42: Separate the Settings activity name into two different strings.
Merge commit '25c52b70faceb24cade0f5480c372de3f47bdf79'

* commit '25c52b70faceb24cade0f5480c372de3f47bdf79':
  Separate the Settings activity name into two different strings.
2010-10-01 12:06:18 -07:00