summaryrefslogtreecommitdiffstats
path: root/core/java/android/content
Commit message (Collapse)AuthorAgeFilesLines
* Move seinfo and install-time changes to inside PMS.Robert Craig2013-07-181-514/+0
| | | | | | | Per request by Google, move the install-time checks entirely inside PMS. Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8479e
* Update location of policy filesWilliam Roberts2013-07-181-3/+20
| | | | | | | | | | | | | The location of policy files has changed from /data/system to /data/security. Also, a name change to mmac enforcing property name to place it under persist.mmac. namesepace. Adds api's for getting and setting the MMAC enforcing mode. Change-Id: I0e9468fe651cd6ec018d5c85d35d693e55479e89
* Apply MMAC changes from master.Stephen Smalley2013-07-182-54/+296
| | | | Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8477e
* Add seinfo parsing to PackageManagerService.rpcraig2013-07-182-0/+278
| | | | | | | | | | | | | | | | | This patch set allows the PMS to parse the mac_permissions.xml file which contains the seinfo values. Each package that is installed on the device will be assigned an seinfo value based on policy. This seinfo value will help label the app process and data directory. Modifications also include, adjustments to ApplicationInfo.java to store the seinfo tag per package, adjustments to installd to communicate the seinfo tag to libselinux, and finally a set of unit tests. Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil> Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58
* New Event: ACTION_NEW_OUTGOING_SMSKoushik Dutta2013-07-101-0/+19
| | | | Change-Id: I8be01ad6251ca25e4d00ebffd876bb6ce7f3c283
* Add SMS Middleware layer.Koushik Dutta2013-06-291-0/+9
| | | | | | | | | | Add fix so ordered broadcasts are delivered to system apps first in the event of a tie. This works around the issue where terrible apps steal SMS notifications from the broadcast queue to simply prevent notifications that could otherwise be removed by a toggle. Change-Id: I4fff0c584f8fce9c5f2f4fe86a82fe6480c307c7
* Add missing @hide annotations for Privacy GuardSteve Kondik2013-06-241-0/+1
| | | | Change-Id: I6072ed2d3ac05382f9cabbada0c42cea6cbe2422
* framework: Privacy GuardSteve Kondik2013-06-245-1/+39
| | | | | | | | | | | * Introduce a new privacy feature which allows the user to run an application with reduced visibility into his or her personal data. * Adds a per-application flag and simple API to determine if this flag is enabled for the current or calling process. * This flag can be used by content providers to decide if they should return a limited/empty dataset. Change-Id: Id7c54d728e63acb2b02a2a9322930b54949f6c5d
* Fix theme provider crashing for non-primary user.Danny Baumann2013-06-131-2/+0
| | | | | | | | | | | | PackageManagerService's context is for user 0, so if the theme provider for other users was invoking the getInstalledThemePackages() method, the themes provider crashed as it doesn't have the INTERACT_ACROSS_USERS permission. Fix that (and simplify code) by making getInstalledThemePackages() return the installed themes for the current user, which was probably the intent anyway. Change-Id: I02002cee005b74128f3b2f7cc7a93b9b8514f1f3
* Don't include flags in configuration change if their value hasn't changed.Danny Baumann2013-05-151-3/+5
| | | | | | This makes the check in updateFrom() match the logic in diff(). Change-Id: I3ab4e8460f7fbf985ef55b9514a8aa90d401d486
* Correct executable bit for source filesKenny Root2013-04-135-0/+0
| | | | | | | | | | Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
* Tighten enforcement of file modes.Jeff Sharkey2013-03-311-2/+2
| | | | | Bug: 8275867 Change-Id: I4da14f2dd0049aca69636999696c1f3c02b3b792
* Merge commit 'android-4.2.2_r1' into mr1.1-stagingRicardo Cerqueira2013-02-155-52/+80
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: core/java/android/os/Trace.java core/java/android/widget/Toast.java core/res/res/values-cs/strings.xml core/res/res/values-el/strings.xml core/res/res/values-iw/strings.xml core/res/res/values/config.xml core/res/res/values/symbols.xml media/java/android/media/AudioService.java packages/SystemUI/res/values-sv/strings.xml packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardMessageArea.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewMediator.java services/java/com/android/server/NotificationManagerService.java services/java/com/android/server/power/ElectronBeam.java Change-Id: I60b8ddf20a1d7bcf9dc7b1a4ed841aaa4d953294
| * am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-devScott Kennedy2013-01-141-1/+1
| |\ | | | | | | | | | | | | * commit '083426980dbe6607a0cfc8b4ec5944d5b414ecbe': docs: Fix a bunch of issues
| | * docs: Fix a bunch of issuesScott Kennedy2013-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | External tracker 42609 External tracker 42607 External tracker 42604 External tracker 42600 External tracker 42574 External tracker 42450 External tracker 41050 External tracker 40995 External tracker 40970 External tracker 40935 External tracker 40507 External tracker 40481 External tracker 40435 External tracker 40406 External tracker 40297 External tracker 40281 External tracker 39978 External tracker 39929 External tracker 39803 External tracker 39715 External tracker 39441 Change-Id: If4215cef850ba8e4e8df356a68192566806e7914
| * | Cleaner initial boot.Dianne Hackborn2012-11-281-0/+1
| | | | | | | | | | | | | | | | | | | | | This does some cleanup of the initial boot, especially when booting in "no core apps" mode for encryption/decryption. Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c
| * | Quiet down a lot of logging.Dianne Hackborn2012-11-272-45/+69
| | | | | | | | | | | | | | | | | | | | | Also fix a little problem where the USER_STARTED broadcasts were not being sent as ordered broadcasts(!). Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
| * | Useful annotations for code documentation.Jeff Sharkey2012-11-123-6/+9
| |/ | | | | | | | | Bug: 6537978 Change-Id: I806c3c09e3255f8789455f13bf37c1dde2a93f1f
* | FM Radio: Add support for FM Radio in AndroidAnurag Gupta2013-02-091-0/+16
| | | | | | | | | | | | | | | | | | | | | | Creating interface and framework for using FM Radio RX and TX from different vendors. Signed-off-by: Christian Bejram <christian.bejram@stericsson.com> Change-Id: I1a71aed01bfffdddfabf1cdfbfa3707cb1ed016b Conflicts: core/java/android/app/ContextImpl.java
* | Squashed commit of audio changes from CodeAuroravivek mehta2012-12-231-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MediaFile: Add DIVX and MPEG2TS file format Change-Id: I9f8cfbe8138c6d3d0d824bff2542b91d72a06b82 audio: Define ANC headset and proxy device Change-Id: I681d73433d874ec66ec0b1f1f39869008d7d7d0d (cherry picked from commit 1e6c410eadfc510a9f116bb3da142214fe761225) audio: add support for QCOM WiFi display - Define QCOM WFD intents - Register and handle WFD intends in AudioSystem Change-Id: I1e5a73d4aa5595bed44d24652647c12b7ef4ae1f audio: add support for QCOM audio formats - Add support for EVRC, QCELP, and WMA formats Change-Id: If3676b88fa287b484ef8616c0a6b67177b61a720 PhoneWindowManager: Changes for WFD. - WFD now sends WIFI_DISPLAY_VIDEO intent to set UI orientation. - PhoneWindowManager to listen for WFD intents. - Display on WFD should be same as seen on the HDMI, so set the orientation to HDMI orientation Change-Id: I638adaa906e2151b1c6ae496343714fe828f5dbd audio: add support for QCOM vocoders - Add support for EVRC,QCELP and other QCOM vocoders Change-Id: I9b2a18fe7d01a9198eb470e94e7176b7a6da2c7c
* | @hide API change from themesRicardo Cerqueira2012-11-281-0/+1
| | | | | | | | Change-Id: Ia0798346d2e8e5a84e8456bb89b7d503a71a7afa
* | Squashed commit of the theme engine support.Ricardo Cerqueira2012-11-2418-8/+1187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated 4.2 support for the old T-Mobile theme engine, as usual needs the provider and switcher apps installed as well. I'm finally dropping the 400+ commit history on this, since everybody else keeps picking it up from CM as a single patch anyway... But for the record, nothing of this would be possible without Josh, Ed, and the rest of the TMo guys who wrote and maintained it until 2.2: amit chabra <amit.chabra@t-mobile.com> Amit Kohli <amit.kohli@t-mobile.com> Chris Cogar <chriscogar@t-mobile.com> Dirk Sigurdson <dirk.sigurdson@t-mobile.com> Ed Carrigan <edward.carrigan@t-mobile.com> Gaurav Sharma <gaurav.sharma3@t-mobile.com> Hui Feng <hui.feng@t-mobile.com> John Ritz <john.ritz1@t-mobile.com> Josh Guilfoyle <josh.guilfoyle@t-mobile.com> Mark Roberts <mark.roberts48@t-mobile.com> Pankaj Kumar <Pankaj.kumar6@t-mobile.com> Samuel Cheung <samuel.cheung@t-mobile.com> Sergey Ten <sergey.ten6@t-mobile.com> Change-Id: I7148d51be48f28a2dc4bdf9ec9018f04b268ffc4
* | Framework: Port CM9 features to CM10DvTonder2012-11-211-0/+12
|/ | | | | | | | | | | | | | | This commit includes: - Power menu Reboot - Power menu screenshot - Profiles - Lock screen Calendar - Lock screen Weather - Notification light customization - Battery light customization - IME Selector notification toggle - and a few more things to support Settings Change-Id: Ibd63116df90b06f6ce6adb8a0343059bbb999bfb
* Merge "Update docs for multi-user storage behavior." into jb-mr1-devJeff Sharkey2012-10-231-0/+20
|\
| * Update docs for multi-user storage behavior.Jeff Sharkey2012-10-221-0/+20
| | | | | | | | | | | | | | | | | | Define external storage as being isolated for each user, with the caveat for shared OBB files. Also mention external storage permissions. Bug: 7384941 Change-Id: Ib156b5874c5587749d7bc066791e9e88d931b174
* | System server should always send broadcasts to a specific or all usersAmith Yamasani2012-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7368245 Log a warning if the system process calls unqualified sendBroadcast() and other calls. As a result of the logging above, found a few more method calls such as bindService() that would benefit from being more explicit to avoid future confusion and reduce the log warnings. Change-Id: I17f15c8be9adf7becd456d6abbab606f19befdbf
* | Merge "Fix crashes when quickly adding and removing users" into jb-mr1-devAmith Yamasani2012-10-212-2/+5
|\ \
| * | Fix crashes when quickly adding and removing usersAmith Yamasani2012-10-192-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make USER_REMOVED an ordered broadcast and send it before the user's state is completely removed from the system. This gives services the opportunity to clean up their state, while still having access to the user's directory and UserInfo object (such as serial number). Tell SyncManager to skip over dying/partially created users. Improve UserManager tests, waiting for users to be removed fully. Bug: 7382252 Change-Id: I93cfb39c9efe6f15087bf83c569a2d154ef27168
* | | Merge "Document immutable requirement of SharedPreferences return objects" ↵Christopher Tate2012-10-191-1/+10
|\ \ \ | |/ / |/| | | | | into jb-mr1-dev
| * | Document immutable requirement of SharedPreferences return objectsChristopher Tate2012-10-191-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, make it quite clear that the set returned by getStringSet() must not be modfied by the app, period; and add a similar caution about the map returned via getAll(). Also, fix a bug that could lead to unexpected data being committed if the set instance passed to putStringSet() was mutated by the app after that call (including mutations after commit() was invoked). Bug 7312641 Change-Id: If9a1be1b0669ac879ff7a7dc67a8805548ea10cc
* | | Merge "Revert "Revert "This restores JB MR0 behavior where the framework ↵Dave Burke2012-10-181-8/+1
|\ \ \ | |_|/ |/| | | | | throws an exception for improper layouts that are missing layout_width and/or layout_height.""" into jb-mr1-dev
| * | Revert "Revert "This restores JB MR0 behavior where the framework throws an ↵Dave Burke2012-10-181-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height."" This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11 Change-Id: I21b007a7d150a4c23f25a706cdba5cb86198198f
* | | Merge "Defer more Account actions until user starting." into jb-mr1-devJeff Sharkey2012-10-182-8/+5
|\ \ \
| * | | Defer more Account actions until user starting.Jeff Sharkey2012-10-172-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of explicitly scanning OWNER accounts, move to using the "user starting" call path for consistency. Bug: 7358086 Change-Id: Ied3289a074aafa48259d828db1d68804912589b3
* | | | Merge "Revert "This restores JB MR0 behavior where the framework throws an ↵Justin Ho2012-10-171-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
| * | | | Revert "This restores JB MR0 behavior where the framework throws an ↵Justin Ho2012-10-171-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height." This reverts commit f49d835dfe1bd21920ff8a48cbdfb9c1fd632fd9 Change-Id: If0093f23d6458e53619220fbf0aa5f844ad2c790
* | | | | Merge "This restores JB MR0 behavior where the framework throws an exception ↵Justin Ho2012-10-171-8/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
| * | | | This restores JB MR0 behavior where the framework throws an exception for ↵Justin Ho2012-10-171-8/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | improper layouts that are missing layout_width and/or layout_height. This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11 Change-Id: I0fe25056cd54b8852b32ae4621e048d3f5c7d555
* | | | Merge "Revert "This restores JB MR0 behavior where the framework throws an ↵Justin Ho2012-10-171-1/+8
|\ \ \ \ | |/ / / | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
| * | | Revert "This restores JB MR0 behavior where the framework throws an ↵Justin Ho2012-10-171-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height." This reverts commit dcf59629beed8182759a1068ab8ee997935bef82 Change-Id: I27426a0ffe993973ffb0b05ce1ed3afe73fcd87d
* | | | Merge "This restores JB MR0 behavior where the framework throws an exception ↵Jim Miller2012-10-161-8/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
| * | This restores JB MR0 behavior where the framework throws an exception for ↵Jim Miller2012-10-161-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improper layouts that are missing layout_width and/or layout_height. Revert "Revert "Revert "Fix for bug 6050753.""" This reverts commit 6868d6f349610c15256471cc3d5fa708cbfd5f1d Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
* | | Merge "Fix ApplicationInfo copy ctor" into jb-mr1-devChristopher Tate2012-10-161-0/+1
|\ \ \ | |_|/ |/| |
| * | Fix ApplicationInfo copy ctorChristopher Tate2012-10-161-0/+1
| |/ | | | | | | | | | | | | | | Need to copy ALL the fields! Bug 7360899 Change-Id: Ie6ed2d6f41c2efaf793ebf111adc8fa5e8b57d7c
* | Lock SyncQueue when user starting, copy RSC list.Jeff Sharkey2012-10-164-25/+38
|/ | | | | | | | | Document SyncQueue locking policy and protect in onUserStarting() and clearAllBackoffs(). Return copy of ServiceInfo list from RegisteredServicesCache instead of exposing locking externally. Bug: 7357776, 7352537 Change-Id: I6a32ca98a355b639d4207a88bde572179beae359
* Revert "Revert "Fix for bug 6050753.""Mathias Agopian2012-10-151-1/+8
| | | | | | | | Emergency revert -- fix reboot loop. This reverts commit 8e63bcc63fd002231f8391af8982eeb235d096c8. Change-Id: I4373b867d756de09cdf6aa0aba9e6ff8f47bcdbc
* Revert "Fix for bug 6050753."Romain Guy2012-10-151-8/+1
| | | | This reverts commit c29f031598811486d83f418fd08fbfe1fc41788a.
* Database cleanup needs to happen for all users.Jeff Sharkey2012-10-111-3/+14
| | | | | Bug: 6970084 Change-Id: I9a6f1cbaf095b245ec9707a90c518256e0aa1f5f
* Fix a runtime restart when cycling between 4 usersAmith Yamasani2012-10-101-9/+4
| | | | | | | | Some refactoring in Sync Manager caused mUserManager to be initialized too late. Make sure this is initialized in the constructor now. Bug: 7328386 Change-Id: Ic67915e172c3b8ef368852147667287e38c0213b
* Include all accounts in dumpsys.Jeff Sharkey2012-10-101-2/+5
| | | | | | | | | Allow accounts to be loaded when a user is stopped, but always validate accounts against a freshly queried PMS cache when the user actually starts. Bug: 7276595 Change-Id: I0382064c73123c243bc6f6e5da8fc3d0a8b73442