| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When an app requests to enable Bluetooth and/or Bluetooth discovery,
we show a dialog for user confirmation. Remove the dialog title,
update the message text and button labels to be more descriptive,
and use the standard dialog layout instead of a custom layout.
Also fixes the button layout on the Bluetooth permission test app so
that the "Discoverable" button doesn't wrap to two lines.
Bug: 6001468
Change-Id: I731e2f31b4c822395fc3f83584a092550d9ae7d3
|
|\
| |
| |
| |
| |
| |
| | |
Settings."
* commit 'f587f5a54d4717c8f147ce46979f65f9301cd81d':
Fix /proc/version parsing in Settings.
|
| |
| |
| |
| | |
Change-Id: I4bde0e4935eaa4c27067062443a051976daa115d
|
|/
|
|
|
| |
Change-Id: I25f8e8923c50377df9a517538e6b76bafac4af9a
Auto-generated-cl: translation import
|
|
|
|
| |
Change-Id: I057d4f0cafa5d08e4048e4fd437e69a023f5edb7
|
|
|
|
| |
Change-Id: If0d8a3d2b1ede8cc56519ddecac97c12f7042fe7
|
|
|
|
| |
Change-Id: I32cbeba75d46e536191f55a94185ec0e896fa397
|
|
|
|
| |
Change-Id: I257f94325e7f588845bcf446e497ff827d4b2cec
|
|
|
|
| |
Change-Id: I90d6935c58330a986ce67086f7af4ae9eb96e8ba
|
|
|
|
|
|
|
| |
Removed More wifi settings icon
Bug: 5084184
Change-Id: I4ed948bd24544d512179765eb917f3932f60751b
|
|
|
|
| |
Change-Id: I321321fe8f730c1e664245944db4ab77ca4c7539
|
|
|
|
| |
Change-Id: Ib916cb8bb0b6f45452300b50b5ac138f89a89c29
|
|
|
|
| |
Change-Id: Ied705b2da99164f4257d2a6b7b4ce95d7bfb0052
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I51cf9d94cd14e67e56a86e669a92e1a64eb6540b
|
|
|
|
| |
Change-Id: Ia9338cf200345ea00eb0179ca06770a9c47c16d8
|
|
|
|
| |
Change-Id: Id3eaf43c69acdff39966ce6b4af4d51ebf14c999
|
|
|
|
| |
Change-Id: I55b0229ca58d63282625b6eaf9e0e58672403c02
|
|
|
|
| |
Change-Id: I8ff3fdad70919d2937c3a897b5698e45078d0227
|
|
|
|
| |
Change-Id: I0d19c79e3e0ac76527671d181bb77e8944ec4a5f
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '5496db047df21a44280c56984dbc296e2a1d7968'
* commit '5496db047df21a44280c56984dbc296e2a1d7968':
Fix Bluetooth device name max length checking.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '59091c08f4d0ad8f42013f58ce9bd23ac3306336' into gingerbread-plus-aosp
* commit '59091c08f4d0ad8f42013f58ce9bd23ac3306336':
Fix Bluetooth device name max length checking.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Bluetooth device name has a maximum length of 248 bytes in UTF-8
encoding. The settings app previously limited the Bluetooth device
name entered by the user based on the number of characters, which is
incorrect when the name includes non-ASCII characters.
Created a new Utf8ByteLengthFilter class for BluetoothNamePreference
which counts UTF-8 bytes instead of Unicode characters, along with
unit tests.
We can move Utf8ByteLengthFilter into the framework in the future
if it would be useful elsewhere in the system or for applications.
Change-Id: I9debface09659f09d750f3bfe8ad6ddfd34c75c5
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit '4d9d75a42471ca65670fd2adc80d37bca43a69f6' into gingerbread-plus-aosp
* commit '4d9d75a42471ca65670fd2adc80d37bca43a69f6':
Import revised translations. DO NOT MERGE
|
| | |
| | |
| | |
| | | |
Change-Id: Ic83849d97650cec0560d847a962756c53d65ea78
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I71df0c212e4ef30c94bc36d048226c3216f79e9b
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.
Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.
There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
|
| | |
| | |
| | |
| | | |
Change-Id: Ib5a34ef0ce1f4639a4744efbc401788982ad43b3
|
|/ /
| |
| |
| | |
Change-Id: I0b805e4c7d2cedf70ec4ca5309f2a8073010fa51
|
|\ \
| |/
|/|
| | |
Change-Id: I6c6ee9c9567f5aef7e1beb585296c1e2fb884e9a
|
| |\
| | |
| | |
| | | |
Change-Id: I7d167c97600bbf25e2ed8872cffecd9fa5b1db7c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Settings application now provides a hook that can be used by an
operator or a vendor specific application to add an activity of choice
in the settings menu.
Change-Id: Id55da9fd4262bbfc6a5abf863799c747b0d75b24
|
| | | |
|
| | |
| | |
| | |
| | | |
Approver: jerryw
|
|/ /
| |
| |
| | |
Change-Id: I6f0e1a9dbaa3b3e81b24de207c3731249d160a59
|
| |
| |
| |
| | |
Change-Id: I91401f661d61a86d166baac1cad14b8897d0a467
|
| |
| |
| |
| | |
Change-Id: Ib730899be1485cc95ed6254279bae0c9413332b3
|
| |
| |
| |
| | |
Change-Id: I0f81ee1b861fa5df40700baccc29e2e6c52a39d1
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| | |
Change-Id: I2ffe47b74a46d9f0e71d905fd1df1a0650c5505a
|
| |
| |
| |
| |
| |
| | |
devices recently.
Change-Id: Iec9eb37a5e79b63cc3cf226e2ead6d9ed06d56a6
|
| | |
|
| |
| |
| |
| | |
Bug: #2361749.
|
|/ |
|
|
|
|
|
|
| |
enable bluetooth
Also added test app.
|
| |
|
| |
|
|
|