| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use case:Inquiry initiated from UI after connecting with blackberryZ30
Failure: Inquiry initiated from UI automatically after connecting with
blackberryZ30,which is not expected
Test steps:
1. Go to BT settings page.
2. Initiate pair and connect remote device from the available devices list
Root cause:mInitialScanStarted set always to false and for every
onActivityCreated,scan will be triggered from UI
Fix: mInitialScanStarted set to false only for new instance,if any screen
recover case,it should not be set as its not a new instance.
Change-Id: Ia38323d5136857e6fe8fa69ed6336d889e29287b
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Roman Birg <roman@cyngn.com>
Conflicts:
src/com/android/settings/bluetooth/BluetoothEnabler.java
Bug: CYNGNOS-2271
Change-Id: I6b2dff88fb858d34a1b534705b2c67f5ab4c2d29
|
|
|
|
|
|
|
|
|
| |
This was reading/writing to the wrong database, making the setting
a no-op. My bad.
Still CYNGNOS-1825
Change-Id: Ibf02b186f8e19066b0113ab1c72e31164a686af1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Adapted for CM13.
* PS2: empty line fix
* PS3: variable name fix
BT server in AOSP will check MIME type of incoming file. Only those with
explicitly allowed types will be accepted. The MIME type whitelist is in
packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
But this can be annoying when we want to transfer RAR, APK or conf files
etc which do not exist in the list.
This patch adds the option "Accept all files" in
Settings -> Bluetooth -> menu.
This option is disabled by default, which ensures security.
Ref CYNGNOS-1825
Change-Id: I76e008211429bf3bd28183713043bee5d326c21a
|
|
|
|
|
|
|
| |
* does not look weird anymore when toggling bluetooth or wifi
Change-Id: Ibbf375e241f091bc27b76c273598da9fc0d67ed9
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
In devices where bluetooth is not working (like the emulator or devices
in development), the bluetooth Settings crashes when closing the activity.
Most of the code checks for the nullability of the local adapter except
for this particular piece. This is usually not a worry for production
devices and I wouldn't usually worry about this but since the rest of the
code performs the nullability check it seems silly to crash onPause.
Change-Id: I7c1d3b43969b516336be770957008ef2054d312f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Settings is crashed when press back key after rotating screen when
Bluetooth profile activity is opened. Add manifest configure to
enable screen orientation feature.
Settings: Change the text size of title when rotate screen
The text size of bluetooth settings' title is not changed when
rotate the screen.
According to the configuration, change the text size of title.
Change-Id: I3f08d0dd8181ffc8999ed29ac31dcc19a7dd56e9
CRs-Fixed: 917010
|
|
|
|
|
|
|
|
|
| |
This fix resolves any NULL pointer exceptions and
Array Index Out of Bounds exceptions seen in
Settings Application code space.
Change-Id: Ib478a1460910a2eb34b308c94cec9817bab93b34
CRs-Fixed: 908156
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore the second buton if already one button is pressed,
this case comes when user is trying to press the both
cancel and ok for the pairing dialog
Change-Id: I77516ec59a972b4451bb8cff69645f7b9089497f
CRs-Fixed: 624285
Bluetooth: disable scan icon when BT state is off
Usually onScanningStateChanged function should take care
of disabling the scan icon when the scan is completed.
But When the BT scan is going on and try to switch of the
BT, as onScanningStateChanged function doesn't have the
reference for scan icon it will not disable it, so disabling
is taken care in BluetoothSettings on receiving BT Off state.
On receiving BT Off state, disable the scan progress icon only
when available device category is present.
Change-Id: Ib827903d4f5c80eeb6ac8a06fb1a945140dd20c9
CRs-Fixed: 543777,596214
Change-Id: Ia9c936fc53b099c18e0f5eadfb293eec028077a5
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue:
When BT is turned off/on staying in the same BT Settings
screen discoverability was not set again.
Fix:
Handle setting discoverability Bluetooth state change
intents also when BT state is turned ON.
Bug: 21944289
Change-Id: Ic3c8d476c53673b21d40ea2bd9669758d89c2aee
|
|
|
|
|
| |
Bug: 22046234
Change-Id: Iea8fa2368d1e568a8e1fdd3edefa8f4fc6053e48
|
|
|
|
|
|
|
|
|
| |
This makes the lifecycle simpler to fix a crash after rotation.
Also do some adjusting of alignment while here.
Bug: 21444336
Bug: 21205689
Change-Id: I67eccf4833f53b5e5088ae5e6038d041e8653565
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tint icons properly
Bug: 21077770
Show better icons for wifi and bt (remove the old ones)
Bug: 21172936
Also add a way to show fake items in power list for testing.
Change-Id: I6b6804673a68190ebc3f2ea32802e30811a7f5b2
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 20666842
Change-Id: I95975f46c1ead1399c8f1a9197bd7357992cc3b0
|
|/
|
|
|
|
|
|
|
|
| |
airplane mode
bluetooth
cell data
do not disturb
Bug: 20264417
Change-Id: I726033a126fba9f9dffc916806d636feea04033b
|
|
|
|
|
| |
Bug: 19918721
Change-Id: Ifb1508807d34b675e9ea1522f86a9310ed6b663f
|
|
|
|
|
| |
Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the non-ui bluetooth control/tracking code to SettingsLib so
that it can be shared with others.
Mostly just move classes to frameworks/base/packages/SettingsLib,
however a few things had to move around.
- Dock handling had to move back to code still in settings
- Local preference related code had to be moved back to settings
- Added an error flow from SettingsLib to Settings
Depends on I69fd888362c6dbb325f6113b32c4b15cc6a23a41
Bug: 19180466
Change-Id: Ie57fe26a27bbb0adc2ef69e042a05c7290c6a52a
|
|
|
|
|
|
|
|
| |
+ Now when a user goes to Settings->Bluetooth and turns on Bluetooth,
the device will be discoverable.
Bug: 17368189
Change-Id: Ia0d8000ddf7e3c3b43172c08ee28e7305d205462
|
|
|
|
|
|
|
|
|
| |
+ Fixed a crash when selecting On/Off multiple times on an input device.
+ Fixed a crash when visiting different Bluetooth Settings after
disabling an input device.
Bug: 17402421
Change-Id: I23efa3a36ba8cf0df02cf41397586a10dae9e08c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
+ Also updated padding around Available Devices.
+ Also updated opacity on Bluetooth's "your device is visible" message.
Bug: 17398966
Change-Id: Id9631334ee0f3a01e40b00470d6debf6a31abe47
|
|\ \
| |/
|/|
| | |
scan" into lmp-dev
|
| |
| |
| |
| |
| |
| | |
Bug: 17405122
Change-Id: I3f5cc6ddc8f85d3b6223f9ff60e1d5eeb76c530a
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 17368189
Change-Id: Ic526fb1ff9dcc15e6fe1db055a471cc570b6a2e1
|
|/
|
|
|
| |
Bug: 17380015
Change-Id: Ie07d9a4f737df32aba7e400b028144f7a81cb37e
|
|
|
|
|
| |
Bug: 17320674
Change-Id: Ibff0b5929b88b1a48c1fdd810fd8461bdb5f1274
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 17060518
Change-Id: I4ba13097f664b4a758ba714f423fa8b34af60ce6
|
|/
|
|
|
|
|
|
| |
+ When refreshing Bluetooth devices, sometimes it took awhile for some
devices to come back up. This is a fix.
Bug: 17049458
Change-Id: Id6233b38585e003e0432707663af4d06b0ce98c2
|
|
|
|
|
|
|
| |
- removed Message Access screen from Bluetooth overflow
Bug: 15720425
Change-Id: I68191a4639ea7e6b6cd3a60e88160443fab2ba0e
|
|
|
|
|
| |
Bug: 16851309
Change-Id: I9ffb1ddaeb8e785be145ea79467fc361a022d8d7
|
|
|
|
|
|
|
|
|
|
| |
+ After renaming your Bluetooth device, the title of the Bluetooth
Activity stays "Bluetooth" instead of changing to the new name.
+ After renaming the device, the status at the bottom Bluetooth Settings
is correctly displayed.
Bug: 16463239
Change-Id: Ifb12df2004fe1f89bd6f918e23c2c64ae08a0191
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Replace the “Paired bluetooth device” screen with a “Pair device” dialog
+ Add device name text field at the top
+ Replace “Unpair” list item with a “Forget" button at bottom of dialog
+ Change “Profiles” section header to “Use for”
+ Remove status under profile titles
+ Move checkboxes to left side of labels
Bug: 15719219
Change-Id: I3b0e8c82c761fae98f16508b9fd9c58aff651f80
|
|
|
|
|
|
| |
Bug: 15305103
Change-Id: Ib0147e366fe90de3512d0cc06e2a47ee16012dff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Remove top "this device" item from the list
+ Upon opening Bluetooth settings, cue a search for available, pair-ready devices
+ Upon opening Bluetooth settings, make the phone/tablet visible to other devices
+ Keep phone/tablet visible as long Bluetooth settings is open and screen is on
+ Filter this list so that only pair-ready devices are displayed
+ Add non-interactive text “<Device name> is now visible to nearby devices” at the bottom of the available devices list
Overflow menu:
- Remove “visibility timeout”
+ Replace “Search for devices” with “Refresh”
Bug: 15716927
Change-Id: I7c5225784af9bfb48dde511e05503ddc59be2b2b
|
|
|
|
|
|
|
|
|
| |
+ List available email accounts
+ Allow for turning each account on/off with switches--making the message content available to bluetooth devices that can read emails (like cars)
Bug: 15720425
Change-Id: Ia0c91c1e74a2644fc99a8b902c42212453d8f86e
|
|
|
|
|
|
|
| |
- add missing constructors for correct theming
- fix layout by adding missing paddingStart / paddingEnd
Change-Id: I52a511d326b760a47339b2b9dad349c9f825dbd2
|
|
|
|
|
|
|
|
| |
- change the way the SwitchBar is shown and hidden
- save its state
- remove the delay transition code
Change-Id: I07260430e6709b42517ca011f6d3c3446a626731
|
|
|
|
|
|
|
|
| |
- follow up CL to 41937766981423c9252e12e3319b2e7532739627
Related to bug #14898161 On/Off switches must move down from Action Bar
Change-Id: Ic04de39599c91388cba8510bfd46d96e7bc30260
|
|
|
|
|
|
|
|
| |
- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)
Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
|
|
|
|
|
|
|
| |
- use the ActionBar Theme context when creating the Switch for
getting the correct Theming
Change-Id: Ic3701c53662b0f245c7149b119de8bb5cbaae232
|
|
|
|
|
|
|
|
|
|
| |
- getNonIndexableKeys(Context) allow a SearchIndexProvider to tell which data
he does not want to index by providing a list of the data keys
- use this new API for SoundSettings and removing KEY_EMERGENCY_TONE related
settings if the device is not CDMA
- add a BaseSearchIndexProvider for code simplification
Change-Id: I23633ace1d7e390ee05fac0a5458a33e04e72d8d
|
|
|
|
|
|
| |
- the switch was no more there when launching from an Intent (it was a regression)
Change-Id: I1fc95cad4523a1d3812323fb26908f925a9e623e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- follow the UX spec by no more using a Drawer
- the Dashboard is now a Fragment that contains the list of Headers
- the search results are also put into a Fragment that is replacing
the initial one (Dashboard or other) when expanding the SearchView
- use a SearchView for query input
- when tapping on a Header or a Search Result, re-launch Settings as
an Activity so that we are benefiting from the Activity stack for
UP affordance and BACK button
- manage UP affordance to show it only when needed
- move some Actions to the Menu in the ActionBar for allowing space
to the Search action and removing some clutter
- fix an issue with the Index and WiFiEnabler and their cached Context
that was not updated when there was a Configuration change
- simplify the SettingsActivity code by extracting some inner classes
Change-Id: I50b5f77bb44a7fade1886114dbbc820609a5e63d
|
|/
|
|
|
|
| |
bug:13653239
Change-Id: I163c47b626825b2f83bb63d9f6900216ce44ae41
|
|
|
|
|
|
|
|
|
|
| |
- change the Index SQL model. Add a new "enabled" column.
- use that column for issuing a more restrictive search query
- change the SearchIndexProvider API to pass the "enable" state
- apply it to Bluetooth settings
- refactor the list of indexable resources (SearchIndexableResources)
Change-Id: Ic900fb27cb12a285a80d953aa1aa88f0070cd986
|