summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/deviceinfo
Commit message (Collapse)AuthorAgeFilesLines
* Add SIM status string for localizing voice/data stringsd34d2016-07-271-1/+2
| | | | | | | | | SIM status hard codes "voice" and "data" and therefore cannot be translated. This patch adds a format string that can now be properly translated. Change-Id: I3797b795d00aae875c0d33a1ee152f4c1e09021b TICKET: CYNGNOS-3227
* Update OperatorInfo in Simstatus settings for correct subidSridhar Dubbaka2016-07-011-0/+9
| | | | | | | | Update OperatorInfo in Simstatus settings for correct subid, on which Channel 50 CB message is received. Change-Id: I0876c94d53f2b4eef8571037c9a0e7d880bc043f CRs-Fixed: 906537
* Themes: Expose Hard colors for storage settingsBryan Owens2016-03-032-15/+24
| | | | | Change-Id: I74d2492ed5e6f1d34cee065719cbc97d5c237829 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* RegulatoryDialog : Use String.split to avoid crash on empty argsDanesh M2016-02-171-2/+2
| | | | | | | | | If a device only supports SAR image vs values, and empty overlay will cause TextUtils.split to return an empty array and hence number of format arguments will be mismatched. Instead use String.split which returns a non-empty string array in the event that the source is empty. Change-Id: I3d99e3378264d7b26d69ebe6c9c35c3c925f5c49 CYNGNOS-2050
* Support multiple SAR values, separate args list with ','Edward Wang2016-01-141-2/+2
| | | | | | | Issue-Id: YAM-68 Change-Id: I21fcb3128a115388ed25d61daae88f4f3356929a (cherry picked from commit c4ce19ad8fb570d9d561d3a560f6eeeeccc99de5)
* Squash commit of SAR and IC Code.Adnan Begovic2016-01-121-0/+16
| | | | | | | | | | | | | | | | | | | | | TICKET: CYNGNOS-1586 Settings: Show SAR on Regulatory Info (from CM11) This brings these three commits from CM11: Settings: Create SAR level preference, allow overlay. Change-Id: I1af616696702f72b8a6276b3b01e940d61735137 Change Regulatory Info Activity to prefer string over image Change-Id: I9ea5c2bf469af8f654ec4e4bb4f2a8a5738e6a95 Settings: Allow Regulator Information Dialog Title to be overlaid. Change-Id: I5aead313589f5d5291d20a0388d2d8bc7242b711 Settings: Refactory regulatory dialog. Display IC Code. Change-Id: Id268830404d09eed318e38474fe1a9062fc4e962
* Remove a few MSIM tab hosts.Danny Baumann2016-01-063-68/+90
| | | | Change-Id: Idd0b7738685ba05fc7c6a85306fcf5e5b08203ff
* Hide usb mode chooser dialog after disconnectedDu, Changbin2015-12-261-0/+32
| | | | | | | | | Add a UsbDisconnectedReceiver to listen usb state event, and hide the usb mode chooser dialog if usb disconnected. Change-Id: I871f56cb5a310e20950926180d9747dd9fad9754 Signed-off-by: Du, Changbin <changbin.du@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
* Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-072-2/+8
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Settings into HEAD Android 6.0.1 release 3 Change-Id: If54bacef03fc826fd02ca48db5ef3a25c8fc7127
| * Hide SIM and IMEI for wifi only devicesJason Monk2015-10-191-2/+4
| | | | | | | | | | Bug: 24342670 Change-Id: Icfb7db0c1b5c6688c16248daa5e6c0443ff45392
| * Bail if activity was destroyed.Jeff Sharkey2015-10-141-0/+4
| | | | | | | | | | Bug: 24172045 Change-Id: I723951b3478459fc70e29d25386f8d7197964e3d
* | Settings: use CMHW serial numberPawit Pornkitprasan2015-12-031-1/+12
| | | | | | | | | | | | See http://review.cyanogenmod.org/57164 Change-Id: If328ca7b487435b88246d1f8c47b04770183f09e
* | storage: Do not allow eject for volumes on non-removable disksTom Marshall2015-11-252-1/+2
| | | | | | | | Change-Id: Ib10747f27ef46ebdca906a904271f7c1e9bc3e73
* | Expose "ALL" hardcoded and @android colorsBryan Owens2015-11-171-1/+3
| | | | | | | | | | Change-Id: I8ef92ae66d4828ca85d624a300ef7cf29f7367d8 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* | Don't show MIDI USB option if not supportedZoran Jovanovic2015-11-061-0/+9
| | | | | | | | | | | | | | | | If device doesn't support MIDI, don't show MIDI in "Use USB for" menu when USB cable is connected. (Selecting MIDI will crash the Settings app.) Change-Id: I60f4cbb6357f162fecb574cdb6766cf5ed92e78e
* | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-052-62/+235
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: res/values-fr/strings.xml res/values-it/strings.xml res/values-ja/strings.xml res/values-nl/strings.xml res/values-pl/strings.xml res/values-ro/strings.xml res/values-ru/strings.xml res/values-zh-rCN/strings.xml res/values/bools.xml res/values/strings.xml res/xml/development_prefs.xml src/com/android/settings/DevelopmentSettings.java src/com/android/settings/DeviceInfoSettings.java src/com/android/settings/DisplaySettings.java Change-Id: I9fd9e793cf6097d950f8a1e30771c8bdf5067906
| * Include the usb data mode regardless of data roleJason Monk2015-09-101-2/+1
| | | | | | | | | | | | | | | | | | Turns out there are valid data modes in host mode (like midi). Need to allow these through for the dialog to set the proper current state. Bug: 23905770 Change-Id: I7a37ad95ccaf18f211d2b2d330c7f1d7af4cfc16
| * Merge "Fix Usb-C dialog issues" into mnc-dr-devJason Monk2015-08-171-1/+1
| |\
| | * Fix Usb-C dialog issuesJason Monk2015-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Fix theme - Fix PTP bug introduced in initial USB-C support Bug: 21615151 Change-Id: I577f06929b028fe3f50ef5b9adcfa9507fd1df0e
| * | am b4158f0e: Merge "Only offer migration between private volumes." into mnc-devJeff Sharkey2015-08-141-1/+3
| |\ \ | | | | | | | | | | | | | | | | * commit 'b4158f0e15bdc55de40a4e5f5a17c9e4a6325b61': Only offer migration between private volumes.
| * \ \ am ae531f1f: Merge "Show storage slow dialog allowing state loss." into mnc-devJeff Sharkey2015-08-141-1/+1
| |\ \ \ | | |_|/ | |/| | | | | | | | | | * commit 'ae531f1f613fb1a94fade18e5e92fc842a2a9016': Show storage slow dialog allowing state loss.
| * | | resolved conflicts for merge of 1adca55f to mnc-dr-devJason Monk2015-08-042-2/+12
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: Iac88fbc39bbfb7aaa730652794b4aa73618c1d9c
| * | | | Update USB dialog for USB-C power optionJason Monk2015-08-042-69/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also includes a bit of visual updates, options now have summaries as well. Code has been refactored a bit, and is more flexible to easily support any kind of power/data flow combination once its time to support that. Currently devices don't have USB-C ports, they can be simulated with the following commands: $ adb shell dumpsys usb add-port "matrix" dual # ?s control whether these can be changed $ adb shell dumpsys usb connect-port "matrix" ufp? sink? device? # Do testing here $ adb shell dumpsys usb disconnect-port "matrix" $ adb shell dumpsys usb remove-port "matrix" $ adb shell dumpsys usb reset # Use the help for more info $ adb shell dumpsys usb -h Bug: 21615151 Change-Id: I53ad4de51ff10a197c87bf2741756c1821ee9e74
* | | | | Fix to show both voice and data service state under sim status settingsUmashankar Godachi2015-10-061-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only voice registration state value was considered to show Service state under phone settings. This was confusing when data is registered on the device and signal strength icon is shown but voice reg state will be OOS. Fix: Showing both voice and data registration states under "Service state" Change-Id: Iffdf3a074845427877e9f350aeb0e7a53bfe8e1e CRs-Fixed: 822051.
* | | | | Settings: Display 14 digit IMEI(Ignore Check Digit)Prasath Balakrishnan2015-10-061-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show 14 digit IMEI instead of 15 digit based on the config (ignore check digit) Change-Id: I2bdfb61ad2964cdae7175f0aaa9da53a5ac2642a CRs-Fixed: 808534
* | | | | Update Signal strength with data registration also into consideration.Sridhar Dubbaka2015-10-061-2/+7
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Voice is out of service and data is registered, Signal strength showing as 0 in sim Settings. Fix: Consider data registration state also while updating signal strength. Change-Id: I5b5175e6307ac73f72adf8bfa7afe6dc9b4ac958
* | | | Only offer migration between private volumes.Jeff Sharkey2015-08-141-1/+3
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Without this change, there is a confusing option to migrate a public SD card volume to internal storage, which will always fail if the user picks it, since it's not supported under the hood. Bug: 22966671 Change-Id: Id7cad07eea6583aace398a6d64383bf7d884ae9e
* | | Show storage slow dialog allowing state loss.Jeff Sharkey2015-08-131-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | We're not picky about losing state here, since the adoption actually finished under the hood and we're just warning the user that it's slow. Without this change, we could end up throwing and re-adopting the same device twice, which causes issues on sprout-style devices that only migrate primary storage once. Bug: 22867250 Change-Id: I1491679ab802f19fe25b82e9b452ca3dabdfec0d
* | UsbModeChooserActivity: Ensure MIDI available with DISALLOW_USB_FILE_TRANSFERNick Kralevich2015-07-301-37/+32
|/ | | | | | | | | | | | | | In ec323a0849155302b3b522fe34a2638be74af420, DISALLOW_USB_FILE_TRANSFER turned off all USB options except for "Charge Only". This is too aggressive. MIDI should be available when DISALLOW_USB_FILE_TRANSFER is set. Remove mUsbManager.isUsbDataUnlocked(). That data is available by accessing the sticky broadcast. Bug: 22447614 Bug: 21429947 Change-Id: Icd8398c4cf43f807acf77923b0b25c18f9a9b0d0
* Refresh after clearing, tweak warn threshold.Jeff Sharkey2015-07-303-12/+27
| | | | | | | | | | | | | Refresh UI after clearing cache. Hide user header on single-user devices to match UX spec. Refine adopted storage warning threshold based on experiments with various devices. For example, a typical internal storage device runs the benchmark in about 600ms. Very fast SD cards take about 1700ms, moderate speed SD cards take about 3800ms, and slow SD cards take about 6800ms. Bug: 22345902, 22487370 Change-Id: I6066f3b78dbb32277ae94b79e325500724f83c7e
* Prevent monkey from changing adoptable storage settingsGuang Zhu2015-07-232-2/+6
| | | | | Bug: 22423188 Change-Id: I36c798574c933b0339fad46af81b87a93ccea07b
* Merge "Use common xml file for multi-tab settings." into mnc-devSanket Padawe2015-07-161-1/+1
|\
| * Use common xml file for multi-tab settings.Sanket Padawe2015-07-141-1/+1
| | | | | | | | | | Bug: 22360525 Change-Id: Id4d971e0afcd9ecd43005a0a5056ad03a32b704f
* | Fix Help menu for PrivateVolumeSettingsJason Monk2015-07-141-0/+1
| | | | | | | | | | | | | | | | Call super.onCreateOptionsMenu so that the auto help stuff can work properly. Bug: 22202745 Change-Id: Iee6b4a81574c7e981290465a78641f3c5b06c143
* | Use same technology type for LTE/4GSanket Padawe2015-07-131-0/+14
| | | | | | | | | | | | | | | | Though status bar and preferred network type show 4G, still show LTE in SIM status when device set config_show4GForLTE true Bug: 22213113 Change-Id: I2866a868992af7b4eb661d693a0cce60bb1b3402
* | Merge "Do not throw exception when MeasurementDetails.mediaSize is empty" ↵Zoltan Szatmary-Ban2015-07-131-2/+1
|\ \ | |/ |/| | | into mnc-dev
| * Do not throw exception when MeasurementDetails.mediaSize is emptyZoltan Szatmary-Ban2015-07-131-2/+1
| | | | | | | | | | | | | | | | | | | | It is legitimate for StorageMeasurement.measureExactStorage to return without any user keys added to the returned MeasurementDetails, when the following is true: mVolume == null || !mVolume.isMountedReadable() Bug: 22394495 Change-Id: Ie40bd468a487208d98dc56aae41fdad7098f41a5
* | Update all shown preferences in Settings > StorageZoltan Szatmary-Ban2015-07-091-8/+2
|/ | | | | | | | | | This is achieved by iterating through the pool of StorageItemPreferences up to the index of the last shown one, instead of iterating through the preferences of the screen which may miss preferences inside other top-level preference groups. Bug: 22353561 Change-Id: I2293a7949a5becfb506d6b7965f8db2f11845756
* Merge "Move storage when formatting primary disk." into mnc-devJeff Sharkey2015-07-081-1/+28
|\
| * Move storage when formatting primary disk.Jeff Sharkey2015-07-071-1/+28
| | | | | | | | | | | | | | | | | | On devices where the primary storage is configured as a physical device, and when we adopt that device, automatically move the primary storage to be hosted on the newly created emulated volume. Bug: 20275423 Change-Id: I759e65a01b323ef3c9ffb86d0b7c8e7b4768a45c
* | Merge "Filter USB options on chooser when DISALLOW_USB_FILE_TRANSFER is on" ↵Zoltan Szatmary-Ban2015-07-081-3/+11
|\ \ | | | | | | | | | into mnc-dev
| * | Filter USB options on chooser when DISALLOW_USB_FILE_TRANSFER is onZoltan Szatmary-Ban2015-07-071-3/+11
| |/ | | | | | | | | Bug: 22291579 Change-Id: I32611404ef5f58c7484fe5c4b7a4f7782cc8daa3
* | Making Settings > Storage multiprofile awareZoltan Szatmary-Ban2015-07-072-161/+209
|/ | | | | | | | Also fixing the order of preferences there. Bug: 22223456 Bug: 22117317 Change-Id: I9261fe46bfce518fd1ce3d0faef07cffe6869e34
* Fix init order so we have something to measure.Jeff Sharkey2015-07-061-3/+3
| | | | | | | | Otherwise we start measuring without shared storage in place, meaning we always find sizes of 0. Bug: 22231501 Change-Id: I760064684e76e5ef5cce351aee1d81a971f4d4ea
* Fix some ordering, colors, and accessibility bugs.Jeff Sharkey2015-07-056-49/+91
| | | | | | | | | | | | When adding preferences to public/private details screens, always add in-order when rebuilding. Hacky fix for broken summary text and eject image color tints. Fix crash when device rotated during partitioning. Set correct accessibility titles in all wizard steps. Bug: 22098044, 21376962 Change-Id: I68aff96cba497a91919cad8865722bc9cef7eaa7
* Handle missing migration source volume.Jeff Sharkey2015-07-052-2/+11
| | | | | | | | Users can try migrating primary storage while the current location is missing/unmounted. Fail gracefully instead of runtime restarting. Bug: 21927076 Change-Id: I54b92487faf9e62d5d309734bf4c436a9259d156
* Merge "Only allow admin users to adopt sd card as internal storage." into ↵Amith Yamasani2015-06-302-2/+20
|\ | | | | | | mnc-dev
| * Only allow admin users to adopt sd card as internal storage.Amith Yamasani2015-06-302-2/+20
| | | | | | | | | | Bug: 21883016 Change-Id: I11ca324ab74ce2a8bf13064b4c7735aea132c562
* | Make sure Fragments are public for FragMan to instantiateMakoto Onuki2015-06-252-3/+3
|/ | | | | | Bug 21990428 Change-Id: If2dd5e43a4cc73ccf60278fdab874516c7fc181b
* Remove while box at the top right of storage setup wizard.Daichi Hirono2015-06-251-2/+2
| | | | | | | | The CL specify correct ID for the tile asset. BUG=22049781 Change-Id: Ib7800487518e017fab1110fde5d70cc35bceffb7