summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Grant optional permissions by default for system apps.Nick Kralevich2013-04-031-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For pre-installed system apps, automatically grant all optional permissions. Change-Id: I99bb320a0bbaa9873baeb63655556fe0fae6f011
* | | | | | | Remove keystore entries when package removedKenny Root2013-04-031-1/+14
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a hook into PackageManagerService so that when app IDs are completely removed, we erase all entries from keystore for those UIDs that have gone away. (cherry picked from commit 95e3ee3971915b323e5c13dcfe3b12a4180850cd) Bug: 3020069 Change-Id: I374258ccc103f8cb3e238f2bf0d1afda0659db94
* | | | | | Merge "Lock when obtaining the current monitor name." into jb-mr2-devMichael Wright2013-04-021-8/+11
|\ \ \ \ \ \
| * | | | | | Lock when obtaining the current monitor name.Michael Wright2013-04-011-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, remove some dead code. Change-Id: I0e65671f9ca43addd8fc44dcd878bcff2f588e42
* | | | | | | Merge "FUL now restarts when flipping tablet 180 (bug 7484464)" into jb-mr2-devBrian Colonna2013-04-021-0/+13
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | FUL now restarts when flipping tablet 180 (bug 7484464)Brian Colonna2013-03-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a tablet rotates, FUL must be stopped and restarted in a new position. 90 degree rotations cause a configuration change, causing FUL to be automatically reconstructed in the new location. However, a 180 degree rotation is not a configuration change, so FUL was not restarting. A 180 degree rotation happens more often than one might think. If you set the tablet down and later picked it up in the opposite orientation, FUL would not work prior to this fix. This change adds a rotation watcher to KeyguardFaceUnlockView. It watches for 180 degree rotations and stops and restarts FUL accordingly. The rotation watcher callback must be unregistered when KeyguardFaceUnlockView is recreated (as during 90 degree rotation changes), otherwise the number of rotation watcher callbacks will keep growing and they will never go away. This is a problem not just because there are many callbacks hanging around, but also because the old callbacks end up trying to access biometric unlock views that no longer exist, resulting in crashes. So, a simple function was added to the window manager to unregister a rotation watcher. Change-Id: Ie1ef20a9a22b8f4e39918987dff2b8ad444fcfd1
* | | | | | | Merge "doSignaturePermission -> grantSignaturePermission" into jb-mr2-devNick Kralevich2013-04-021-2/+2
|\ \ \ \ \ \ \
| * | | | | | | doSignaturePermission -> grantSignaturePermissionNick Kralevich2013-04-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iee3c24c8ce5ebbd0b0e8cf7b0e308f998fc6eaf9
* | | | | | | | Merge "grantPermissionsLPw: introduce isNewPlatformPermissionForPackage" ↵Nick Kralevich2013-04-021-13/+18
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | into jb-mr2-dev
| * | | | | | | grantPermissionsLPw: introduce isNewPlatformPermissionForPackageNick Kralevich2013-04-021-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make grantPermissionsLPw by refactoring some code into a new function, isNewPlatformPermissionForPackage. No functional changes. Change-Id: I467dacfe1fcf7e77cef4cb6df54536eeaafd9064
* | | | | | | | Merge "grantPermissionsLPw: get rid of a level of curly braces" into jb-mr2-devNick Kralevich2013-04-021-74/+76
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | grantPermissionsLPw: get rid of a level of curly bracesNick Kralevich2013-04-021-74/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can get rid of an indention level by modifying an if/else block slightly. No functional changes. Change-Id: I0404093ea9ebe7729417d825afb6e97e158ad23e
* | | | | | | | Merge "grantPermissionsLPw: introduce doSignaturePermission" into jb-mr2-devNick Kralevich2013-04-021-48/+55
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | grantPermissionsLPw: introduce doSignaturePermissionNick Kralevich2013-04-021-48/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make grantPermissionsLPw smaller by introducing a new doSignaturePermission function. Just a refactoring. No functional code changes. Change-Id: Ia967fd93e3f7cf3e48fcd13be0b04994b76d36f3
* | | | | | | | Merge "Fix bug in initializing preferred activities." into jb-mr2-devDianne Hackborn2013-04-022-3/+6
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix bug in initializing preferred activities.Dianne Hackborn2013-04-012-3/+6
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we are smarter about the initialization, we need to do this after all packages are scanned. Change-Id: I598f5ef84dcc83779bbff29e4c92136c63fb32de
* | | | | | | | Fixed a NPE in AccountManagerServiceMita Yun2013-04-021-1/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8518620 Change-Id: Idf9b5864896ec57c63e3987fc01c73a5c983b5e2
* | | | | | | Merge "debuggerd now notifies the Activity Manager about native crashes" ↵Christopher Tate2013-04-014-4/+287
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | into jb-mr2-dev
| * | | | | | debuggerd now notifies the Activity Manager about native crashesChristopher Tate2013-04-014-4/+287
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Activity Manager sets up a permission-guarded domain socket, which debuggerd connects to when a crash happens. If this is successful, the daemon then mirrors the logged crash report to that socket, then closes it. The Activity Manager parses the native crash dump supplied by debuggerd and forwards it to the standard app-crashed code. The UX result is that users now see the normal "app has stopped unexpectedly" dialog with "report" and "okay" options for native crashes, not just for DVM-mediated crashes. Bug 8322568 Change-Id: Ie1b279896c603bd74d82d6cfcfd66a8f231da134
* | | | | | Merge "Add new primary accounts to secondary limited users" into jb-mr2-devAmith Yamasani2013-04-011-2/+43
|\ \ \ \ \ \
| * | | | | | Add new primary accounts to secondary limited usersAmith Yamasani2013-03-311-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a new account is added to the primary, those will be marked as shared accounts for secondary limited users. If the secondary user is currently running, clone the account right away. Bug: 8510431 Change-Id: Ie8ad87a7205e7b1a5a1752e75fbbfc416b2a58a7
* | | | | | | Merge "Fix test" into jb-mr2-devAmith Yamasani2013-03-311-12/+12
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix testAmith Yamasani2013-03-301-12/+12
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I329ceff03d3707e10c2e4eabfb8e6ea61082ae6d
* | | | | | Merge "Block access to accounts for limited users." into jb-mr2-devAmith Yamasani2013-03-311-24/+56
|\ \ \ \ \ \
| * | | | | | Block access to accounts for limited users.Amith Yamasani2013-03-301-24/+56
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that apps that have access to restricted accounts can see them. If they don't have access, they shouldn't be able to add a new account either. Show an error message in the account picker if the user/app is not authorized. Change-Id: I117c0b14d7d06c5ac4e66506df156b174567f5f3
* | | | | | Merge "Add SELinux updater and Settings-based enforcement switch." into ↵Geremy Condra2013-03-302-0/+49
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | jb-mr2-dev
| * | | | | Add SELinux updater and Settings-based enforcement switch.Geremy Condra2013-03-292-0/+49
| |/ / / / | | | | | | | | | | | | | | | | | | | | Bug: 8116902 Change-Id: Ifac495026a354dac7655c28ea2188499a2a319aa
* | | | | Merge "Improve RestrictionEntry API" into jb-mr2-devAmith Yamasani2013-03-301-4/+4
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Improve RestrictionEntry APIAmith Yamasani2013-03-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More getters and setters, better naming. New extra defined for returning a custom intent that handles showing the restrictions UI. Change-Id: I2ee0cdb4edd99e71a9004ff5e929dbe243b45557
* | | | | Merge "AccountManager changes for profile seeding." into jb-mr2-devJatin Lodhia2013-03-291-23/+8
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | AccountManager changes for profile seeding.Jatin Lodhia2013-03-281-24/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new error code to AccountManager and remove the check for limited user during add account to allow Authenticators to seed account during limited profile startup. Change-Id: I5a73def9fc3baeb8e6de1b42e923829c335e1668
* | | | | Merge "Stop clat if it's no longer in use." into jb-mr2-devLorenzo Colitti2013-03-292-1/+13
|\ \ \ \ \
| * | | | | Stop clat if it's no longer in use.Lorenzo Colitti2013-03-282-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normally, clatd is stopped when a connection disconnects. However, if the connection's LinkProperties change, or if the disconnect somehow gets lost (e.g., because of bug 8486114), then we need to stop it (and possibly restart it). Bug: 8276725 Change-Id: Ib8ad0d653ed8d0cd70b7414bcaa8fdaef8ba5fcc
* | | | | | am 24948d3c: am 946a5c91: Merge "Save off the seinfo value with packages.list."Geremy Condra2013-03-282-3/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '24948d3ca7ff7fa70ee85e9aa7530239d7b482b2': Save off the seinfo value with packages.list.
| * \ \ \ \ \ Merge "Save off the seinfo value with packages.list."Geremy Condra2013-03-282-3/+6
| |\ \ \ \ \ \
| | * | | | | | Save off the seinfo value with packages.list.Robert Craig2013-03-262-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch adds the seinfo label per package to the file. This is of particular interest to the run-as program which uses the seinfo tag to correctly label the app security context before running the shell. Change-Id: I9d7ea47c920b1bc09a19008345ed7fd0aa426e87 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | | | | | | | Merge "Unhide Bluetooth Low Energy public APIs" into jb-mr2-devMatthew Xie2013-03-281-14/+65
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | Unhide Bluetooth Low Energy public APIsMatthew Xie2013-03-281-14/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated API headers. Add BluetoothManager to be retrieved by context.getSystemService(Context.BLUETOOTH_SERVICE). LE scan functions are placed in BluetoothAdapter The GATT API are device driven instead of a profile-driver. bug 8450158 Change-Id: I424a4cedaac3ef8120a05996500008dd210d2553
* | | | | | | | am 3ae30483: am a19647d3: Merge "Correct executable bit for source files ↵Elliott Hughes2013-03-281-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Take 2]" * commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30': Correct executable bit for source files [Take 2]
| * | | | | | | Merge "Correct executable bit for source files [Take 2]"Elliott Hughes2013-03-281-0/+0
| |\ \ \ \ \ \ \
| | * | | | | | | Correct executable bit for source files [Take 2]Chirayu Desai2013-03-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 left out some files, this fixes them. Change-Id: Ia949a8581668836ea0251602e048f09c852f5169
* | | | | | | | | am f21a34bf: am 2ff853da: Merge "Add data validation on seinfo labels."Geremy Condra2013-03-281-2/+24
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | / / / / / / | |_|/ / / / / / |/| | | | | | | * commit 'f21a34bf1b188cd662f6a08f5c709f4f641b1494': Add data validation on seinfo labels.
| * | | | | | | Add data validation on seinfo labels.Robert Craig2013-03-281-2/+24
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that policy contains a clean seinfo string. Where clean means no whitespace characters. Change-Id: I814411cbc8d16eaed99a1389f5487529e36e617b Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | | | | | | Merge "Restricted account visibility" into jb-mr2-devAmith Yamasani2013-03-281-8/+22
|\ \ \ \ \ \ \
| * | | | | | | Restricted account visibilityAmith Yamasani2013-03-271-8/+22
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When accounts are shared to a restricted/limited user, apps can opt-in to viewing accounts of a certain type. Other shared accounts are not visible to the app. App would specify the account type in the manifest <application> tag with the attribute restrictedAccountType="foo.bar", where "foo.bar" is the account type as defined by the authenticator. Change-Id: I7586da04d6d6d32aae15adc6b1366f325bb07384
* | | | | | | Merge "Crank up the mOomMinFreeHigh values by 50%." into jb-mr2-devBen Cheng2013-03-281-2/+2
|\ \ \ \ \ \ \
| * | | | | | | Crank up the mOomMinFreeHigh values by 50%.Ben Cheng2013-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devices with 1GB of RAM can benefit from more aggressive OOM killer. BUG: 7972252 Change-Id: Id2b80c14a3cff195c17ef0d14c80b92394649d98
* | | | | | | | Merge "Add user restrictions for bluetooth, sideloading, usb file transfer" ↵Maggie Benthall2013-03-282-7/+12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr2-dev
| * | | | | | | | Add user restrictions for bluetooth, sideloading, usb file transferMaggie Benthall2013-03-272-7/+12
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created constants for these in UserManager and current.txt. Also created an accessor for individual user restrictions that takes the restriction key (removing individual methods for particular restrictions). Change-Id: Ibb5517cbcdffadd3925f52cbe67d7d525813faa9
* | | | | | | | Merge "Allow system server to bind to USB devices." into jb-mr2-devJeff Brown2013-03-281-2/+11
|\ \ \ \ \ \ \ \