summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/deviceinfo
Commit message (Collapse)AuthorAgeFilesLines
* Storage Settings: Allow user to trigger a volume rescanJorge Ruesga2013-07-052-3/+123
| | | | | | | | | | | | | | | This change allows to trigger a rescan of a volume with the next restrictions: - Internal volumes if they are emulates - Primary volumes - Non-Removable volumes Requires http://review.cyanogenmod.org/#/c/44585/ Change-Id: I42aebc9fc0d3530cf0a3efb4d2139b688707d43d JIRA: CYAN-1391 Issue: https://jira.cyanogenmod.org/browse/CYAN-1391 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge commit 'android-4.2.2_r1' into mr1.1-stagingRicardo Cerqueira2013-02-151-5/+60
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AndroidManifest.xml res/values-de/strings.xml res/values-el/strings.xml res/values-es/strings.xml res/values-fi/strings.xml res/values-hu/strings.xml res/values-it/strings.xml res/values-iw/strings.xml res/values-nl/strings.xml res/values-ru/strings.xml res/values-zh-rCN/strings.xml res/values/strings.xml src/com/android/settings/ChooseLockGeneric.java src/com/android/settings/ChooseLockPatternTutorial.java src/com/android/settings/DeviceInfoSettings.java src/com/android/settings/Settings.java Change-Id: I275be467a401ad6dcc7966924358a5adb0773b75
| * Add latest area info broadcast to Settings status screen.Jake Hamby2012-12-041-5/+60
| | | | | | | | | | | | | | | | | | | | | | | | When the SIM has a Brazilian country code, add an item to the status screen to show the most recently received area info cell broadcast, requested from CellBroadcastReceiver, which also broadcasts any updates to the area info. To read the area info broadcast or request it from CellBroadcastReceiver requires READ_PHONE_STATE permission. Bug: 7445881 Change-Id: I387e23ecd0802b212ecb3e44f900a3a7a4b27e76
* | Add option for switching between UMS and MTP/PTP mode. (2/2)Espen Fjellvær Olsen2013-01-262-1/+26
| | | | | | | | | | | | | | | | | | | | Change-Id: I6cf50a41a9a82e40e702f5231ce663636c149613 This adds support for switching between UMS and MTP/PTP. Settings part (this part) adds option in USB settings (statusbar/notification drawer) for enabling UMS, and adds setting in Storage menu to enable / disable UMS, this since the USB settings page disappears when enabling UMS. It's only porting this http://review.cyanogenmod.org/#/c/21115/
* | Settings: use DefaultContainerService for all file operationsPawit Pornkitprasan2012-12-132-27/+53
| | | | | | | | | | | | | | | | | | | | | | For devices with non-emulated storage, the system uid is not allowed to access the storage (to prevent system_server from being killed on UMS mount). Old code remain that make file access directly, change those to use DefaultContainerService Depends on http://review.cyanogenmod.org/28179 Change-Id: Ie6bdaf27249daeabdc7f0ef1d73d484764ee35f0
* | Settings: fix storage measurement for device without emulated sdcardPawit Pornkitprasan2012-11-262-5/+8
|/ | | | | | | | | | | | | | | | | | StorageMeasurement: misc files should only be measured for internal storage only if it is the emulated storage, otherwise misc count for the primary storage will be erroneously duplicated on the internal storage count. StorageVolumePreferenceCategory: - Always create mMountTogglePreference to avoid null pointer exception for code that relies on it existing - Check if the keys exist before calculating totalValues to avoid null pointer exception on storage where media is not calculated - For available/readonly, set title, not summary (summary is supposed to be the amount available) Change-Id: Ib217f79ee562dffc514696fff038e58ed0dba7d9
* Merge "Show more settings and add restrictions/dialogs for secondary users" ↵Amith Yamasani2012-09-231-5/+7
|\ | | | | | | into jb-mr1-dev
| * Show more settings and add restrictions/dialogs for secondary usersAmith Yamasani2012-09-231-5/+7
| | | | | | | | | | | | | | | | | | | | Bug: 7213029 crash in About>Status Bug: 7212495 hide System updates for second user Bug: 7212230 nickname editor should select the text Bug: 7160487 TTS settings Bug: 7129411 Settings needs visibility changes for secondary users Change-Id: Ia2d1229c08b392edfa6b671fce4a382410405b14
* | Storage item to represent cached data.Jeff Sharkey2012-09-232-1/+89
|/ | | | | | | When touched, offers to clear all cached data. Bug: 7216370 Change-Id: I86afe66b819fb7deeba909bef507925fc5a590f3
* Always show auto-sync; user-specific storage.Jeff Sharkey2012-09-181-6/+8
| | | | | | | | Auto-sync is per-user, so show it to all users. Also create user- specific path when showing misc storage items. Bug: 7179485, 7177335 Change-Id: I9f6029e22d519a5516a0f1a76e6aa55db3c2832c
* Treat cache storage usage as available space.Jeff Sharkey2012-09-142-16/+33
| | | | | Bug: 7123160 Change-Id: I1b3f36622be557d7c47f1452832f67da40893a02
* Iteration on multi-user Storage UI.Jeff Sharkey2012-09-135-589/+423
| | | | | | | | | | | | | | | Now that DefaultContainerService has visibility of external storage for all users, we can measure internal storage in a single pass. Internal storage measurement now iterates across all known users, counting both apps and emulated storage usage. Create MeasurementDetails object with documentation about what is counted under various device configurations. Generalize to measure each Environment.DIRECTORY separately, so it can be combined as needed. General cleanup of how measurements are passed to UI. Bug: 7003520 Change-Id: Ib89c185296a0c9debdc20beeaa98584d803a84e8
* Include user identifier in external storage paths.Jeff Sharkey2012-09-113-30/+41
| | | | | | | | | | | When building external storage paths, always include user in path to enable cross-user paths and aid debugging. Mostly changes so Storage doesn't crash; will take another UI iteration pass soon. Bug: 7131382 Change-Id: If7ec807f12a36eb8ed02a0fb94e8a0b3a6694f16
* Iteration on multi-user storage UI.Jeff Sharkey2012-09-074-57/+107
| | | | | | | | Adds headers to distinguish between current and other users. Also correctly orders color chips. Bug: 7003520 Change-Id: I871f1a38d41dad5a5f7d97d91d2ebaac5951066c
* Progress towards split storage categories.Jeff Sharkey2012-09-064-75/+69
| | | | | | | | | Cleans up StorageVolumePreferenceCategory creation, and uses new isPrimary() API instead of passing around hacky "i == 0" derived value. Bug: 7003520 Change-Id: I9eb7164035b5368ee795e35b22e750aebbf3b159
* Surface storage usage of other users.Jeff Sharkey2012-08-304-177/+303
| | | | | | | | | | Bring up separate StorageMeasurement sessions bound to other users on device, and surface their total usage as teal colors. Exclude app code size when measuring secondary users. Shift preferences to using keys instead of fragile index ordering. Bug: 7003520 Change-Id: I214d0b223e53955df71104502596743f049f2027
* am 88f37936: am 1183f487: Merge "MTP/PTP: disable erasing/unmount operation ↵Jean-Baptiste Queru2012-08-242-3/+47
|\ | | | | | | | | | | | | for SD card while MTP/PTP is active" * commit '88f379367f208a75dfe95a081b25c27a54b06a1a': MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is active
| * Merge "MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP ↵Jean-Baptiste Queru2012-08-232-3/+47
| |\ | | | | | | | | | is active"
| | * MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is activeLi Gang2012-08-102-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check the USB connection status and MTP/PTP setting, if USB connected and MTP/PTP enabled, disable the erasing and umount operation. Judge SD card Mounting status and keep summary string. Change-Id: Iff3e0f25b581bc462c88fff59eb93d765baaddd7 Author: Li Gang <gang.g.li@intel.com> Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 47043
* | | am 71742eb1: am 0c869d69: Merge "UsbSetting: The behavior is not right when ↵Jean-Baptiste Queru2012-08-171-0/+18
|\ \ \ | |/ / | | | | | | | | | | | | | | | enable/disable MTP/PTP with Accessory board connected." * commit '71742eb13276e93d18f6aead10a8f767134ab0af': UsbSetting: The behavior is not right when enable/disable MTP/PTP with Accessory board connected.
| * | UsbSetting: The behavior is not right when enable/disable MTP/PTP with ↵Wu, Hao2012-08-161-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accessory board connected. Add accessory flag to track accessory status. Disable MTP/PTP button when Usb is working in accessory mode. Change-Id: I3edcd2a7eb281db3bb9d345429643b77a237812e Author: Wu, Hao <hao.wu@intel.com> Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 27200
* | | am 865a914f: am 42eb3fb2: Merge "Fix the issue the setting crashes after ↵Jeff Sharkey2012-08-131-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | unmount SD card in landscape" * commit '865a914fb5459dd5d6d676b11a09c95d15f2ef6e': Fix the issue the setting crashes after unmount SD card in landscape
| * | Fix the issue the setting crashes after unmount SD card in landscapeChuanxiao Dong2012-08-101-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | When rotate the phone, mLastClickedMountToggle and mClickedMountPoint would be destroied which made dialog access NULL pointer. Change-Id: Ic96fce93828ca7a6f8749fad6a258eb47831e062 Author: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 26569
| * Use telephony-common - DO NOT MERGEWink Saville2012-07-171-1/+2
| | | | | | | | Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
* | Make Settings PercentageBar RTL awareFabrice Di Meglio2012-07-241-18/+45
| | | | | | | | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I7c4c4207650fa4442f6eb20f2195101e23b1b0b2
* | Use telephony-commonWink Saville2012-07-111-1/+2
|/ | | | Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
* am cd4428ce: Storage banner when device in low disk state.Jeff Sharkey2012-06-121-0/+19
|\ | | | | | | | | * commit 'cd4428ce2c03fd355a3093fad6553636da9cef9b': Storage banner when device in low disk state.
| * Storage banner when device in low disk state.Jeff Sharkey2012-06-121-0/+19
| | | | | | | | | | Bug: 6576409 Change-Id: I25f71935e312bf6efa832d10c22e3edbdc18f4fb
* | am 22af594c: Merge "Fix bug #6522190 MountService should respond to ↵Fabrice Di Meglio2012-05-241-1/+1
|\ \ | |/ | | | | | | | | | | configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev * commit '22af594c04045adbb9fe6a2cb7a69e40afd655b2': Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
| * Fix bug #6522190 MountService should respond to configuration changes ↵Fabrice Di Meglio2012-05-241-1/+1
| | | | | | | | | | | | | | | | | | ("INTERNAL STORAGE" string should be translated dynamically) - use an ID instead of a String for StorageVolume description - use this ID for getting the correct localized version of the description string Change-Id: If66868ecc84297322cb9a3f0b2d834f79dd019ca
* | am cda0663e: Merge "Enforce READ_EXTERNAL in Developer Options." into jb-devJeff Sharkey2012-05-151-29/+0
|\ \ | |/ | | | | | | * commit 'cda0663eb9c3a324c543c504647c7661f2ac7b35': Enforce READ_EXTERNAL in Developer Options.
| * Enforce READ_EXTERNAL in Developer Options.Jeff Sharkey2012-05-141-29/+0
| | | | | | | | | | | | | | | | Move from Storage to Developer Options, and add interstitial dialog with more details. Bug: 6461446 Change-Id: I6d3d8fdc61a3e920ed58ab4d726949ac3c31feab
* | am b3c17c57: Merge "Removing static reference from sUnknown"Amith Yamasani2012-05-021-4/+2
|\ \ | |/ |/| | | | | * commit 'b3c17c570a6c26ece11b404a5918ce4bd64a0940': Removing static reference from sUnknown
| * Removing static reference from sUnknownGustavo Waku2012-01-251-4/+2
| | | | | | | | | | | | | | | | | | | | | | Removing static reference from field sUnknown allows framework to handle properly resources. Current implementation holds an instance of sUnknown, final user sees "Unknown" field on the IMEI SV [ Menu > About > Status ] even if the language set is other than english. Change-Id: I6345f578577e631782c0598bfa44ff4de04c6261
* | Don't let monkeys launch storage management activities.Amith Yamasani2012-04-231-1/+5
| | | | | | | | | | | | | | | | Guard against monkeys in two places where intents to other activities are launched. Bug: 5415988 Change-Id: Ia3c5514c02423f7b249f655296bb02e279789dfd
* | Use statfs() in IMediaContainerService.Jeff Sharkey2012-04-221-14/+14
| | | | | | | | | | | | | | | | Since Settings runs in system UID, it needs to export statfs() operations to IMediaContainerService. Bug: 6346248 Change-Id: I5801948211f0e55040da4850e3dd55b93f80798f
* | Handle READ_EXTERNAL enforced by default.Jeff Sharkey2012-04-121-7/+4
| | | | | | | | | | Bug: 6131916 Change-Id: Icbdaf6c7febfb8f93992a1f32732d104c8c1848c
* | Enforcement control for READ_EXTERNAL permission.Jeff Sharkey2012-03-191-11/+47
| | | | | | | | | | | | | | | | Surface enforcement controls for READ_EXTERNAL_STORAGE permission using new PackageManager API. Bug: 6131916 Change-Id: I0ece4742666fda58e41410cb4b0b7175f280fa31
* | Use the framework rather than RIL constantsRobert Greenwalt2012-02-171-1/+2
|/ | | | | bug:5717664 Change-Id: I07f8fe3a874aff775e4be8513cd020bf9d090b6a
* Wimax : 4G settings menu and 4G MAC address.tk.mun2011-11-071-1/+20
| | | | | | | | | | 1. Show the 4G menu. 2. Show the 4G MAC address 3. Execute 4G setting apk. Change-Id: I14adc4775d35afe3398ddba4fd91c739011a06fa Signed-off-by: tk.mun <tk.mun@samsung.com> bug:5486930
* am 0bcd8a95: Fix 5352588: Accept view intent without URI.Chih-Chung Chang2011-10-191-2/+4
|\ | | | | | | | | * commit '0bcd8a95a96566d9e2c97c3305ee0dccf758ca7a': Fix 5352588: Accept view intent without URI.
| * Fix 5352588: Accept view intent without URI.Chih-Chung Chang2011-10-191-2/+4
| | | | | | | | Change-Id: Ibfcf32a7d27c3ac2d3fa3695e430b3e29f3ecd20
* | Show IP address of current active link instead of just the WiFi IP address.Amith Yamasani2011-10-171-5/+9
|/ | | | | | | | Bug: 5359194 Show "Unavailable" only if there's no active link. Change-Id: I82ba6bda3a08ea84080a8d8cda331f22d7c7a2bd
* am ae69755a: Disable USB connection type when monkeys are running.Amith Yamasani2011-09-271-0/+6
|\ | | | | | | | | * commit 'ae69755aa874dbac77e9874d9716ab891a144193': Disable USB connection type when monkeys are running.
| * Disable USB connection type when monkeys are running.Amith Yamasani2011-09-271-0/+6
| | | | | | | | | | | | | | | | | | | | Bug: 5375336 Also use the correct API for testing if monkeys are running. (ActivityManager.isUserAMonkey()) Bug: 5375910 Change-Id: I2bf8e061ee5977d521de197d3a92095c1a98218d
* | Fix race condition in MTP/PTP checkbox updatingMike Lockwood2011-09-181-4/+4
|/ | | | | | | | | | | UsbManager.getDefaultFunction() might not return the updated state immediately after changing the USB configuration, so do not rely on it for updating after a checkbox has been clicked. Change-Id: I5ae8d46854f24403cda2c62e006c742dcd257d1d Bug: 5334777 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Force storage wipe if not removable and encryptedBen Komalo2011-09-091-4/+4
| | | | | Bug: 5017638 Change-Id: I43c98359eff7202437249675060ba964e1bd085c
* Use the new isNetworkSupported api for wifi-onlyRobert Greenwalt2011-08-311-3/+3
| | | | | | | | Didn't have an API for this before so people used a hacked system property (ro.carrier) to determine if the device supported mobile data. Added new API and switching callsites. bug:5087537 Change-Id: Ibd799559be102a9e2fd552d1a23d1afbcf8f4614
* Format volume option restoredGilles Debunne2011-08-081-4/+0
| | | | | | | | It was removed independently of the state. As a result an "Erase USB Storage" option is now available on the Nexus S. I guess this is WAI. Change-Id: I8765808924085c10ebf213da7f825db70017d0aa
* Always put 'USB COMPUTER CONNECTION' into the overflow menuChristopher Tate2011-08-021-1/+1
| | | | | | Bug 5011831 Change-Id: I93d24a16508cfcc9f81b8bd3ad43cfffe52db1d5