summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Add additional density enums to android:screenDensity attributeAdam Lesinski2015-10-121-0/+4
| | | | | Bug:24804021 Change-Id: I70c34da9ca5d186aa1ffaacf7f15180d4c4b81e1
* Merge "Push firewall rules up to ConnectivityService." into mnc-dr-devJeff Sharkey2015-10-121-24/+4
|\
| * Push firewall rules up to ConnectivityService.Jeff Sharkey2015-09-141-24/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | getActiveNetworkInfo() and friends already know how to augment their results to help apps detect when network access is blocked. This change wires up the new app-idle and device-idle firewall rules to be reported through these APIs. This also causes other platform tools like DownloadManager and SyncManager to respect these new policies. Bug: 24050462 Change-Id: Id9517b0b70be7e3ca2ab27bed8049db916e4d829
* | Merge "Default location is "internalOnly" when undefined." into mnc-dr-devJeff Sharkey2015-10-121-1/+2
|\ \
| * | Default location is "internalOnly" when undefined.Jeff Sharkey2015-10-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an app doesn't define installLocation, the default behavior should be to treat it as internal only. This matches all the published developer documentation. Without this, apps could be unwittingly be moved to adopted storage devices. Bug: 24771264 Change-Id: Iaf38ab45329aad6cb5d6deac81fb1781f680189b
* | | Connect the DHCP UDP socket to the server.Lorenzo Colitti2015-10-111-5/+4
|/ / | | | | | | | | | | | | | | | | | | | | This makes it so that the socket cannot receive datagrams from anybody except the DHCP server. This does not improve security, because we never read from the UDP socket anyway, but it does make ListeningPortsTest pass. Bug: 23906864 Bug: 23933386 Change-Id: Ib090273a417f7eb2ac1ee3309260249b72fb8345
* | Merge "Ensure SurfaceView requests WM relayout when size changes." into ↵Tim Murray2015-10-071-1/+2
|\ \ | | | | | | | | | mnc-dr-dev
| * | Ensure SurfaceView requests WM relayout when size changes.Robert Carr2015-10-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of scaled SurfaceViews with a fixed size. It is possible for the surface layout size to change without a change to the surface size or position. In this case we need to inform the window manager so it can update frames and scaling. This has presented in Camera and required workarounds such as changing the fixed surface size to trigger an update (leading to visual artifacts). Bug:23974105 Change-Id: I195aa0832907c32874b294101b56e198e853dce5 (cherry picked from commit a8fe43f09c0ed2119e55139a482f7f12fbe7d725)
* | | am a636be6c: Camera: fix wrong FULL feature stringYin-Chia Yeh2015-10-071-1/+1
|\ \ \ | |/ / |/| | | | | | | | * commit 'a636be6c9a8a9192f72a111c2b3084a226d37b7e': Camera: fix wrong FULL feature string
| * | Camera: fix wrong FULL feature stringYin-Chia Yeh2015-10-061-1/+1
| | | | | | | | | | | | | | | Bug: 24678065 Change-Id: I2ca49565b919c87005d941863e22e3852a01a6c6
* | | am 2813b0fa: Camera2: Update video stabilization API doc.Jianing Wei2015-10-012-2/+22
|\ \ \ | |/ / | | | | | | | | | * commit '2813b0fae99fed1096dc23c3899e223459a54cec': Camera2: Update video stabilization API doc.
| * | Camera2: Update video stabilization API doc.Jianing Wei2015-09-292-2/+22
| | | | | | | | | | | | | | | Bug: 23353979 Change-Id: I781006d1b6ebbdf522ebbf6acc35b2062aff76b6
* | | Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-devJeff Sharkey2015-09-303-11/+31
|\ \ \
| * | | Relax auto-launch checks for GET_CONTENT.Jeff Sharkey2015-09-293-11/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a developer wraps an intent with Intent.createChooser(), they're indicating that the user should always be prompted, instead of using any "always use" defaults. A recent CL changed the chooser behavior to ensure that UI is always shown in the case where there is only one match. However, this caused us to start prompting for the GET_CONTENT intent, for which there is only ever one DocumentsUI system app. Since that app delivers on the createChooser() contract described above, we're okay automatically launching it. Bug: 24464358 Change-Id: I0279d3343479c134a35f41ddf3cb4204d0ae6a90
* | | | Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" ↵Adam Lesinski2015-09-291-6/+11
|\ \ \ \ | |/ / / |/| | | | | | | into mnc-dr-dev
| * | | Fix asymmetry in parceling/unparceling code for BatteryStats summaryAdam Lesinski2015-09-281-6/+11
| | | | | | | | | | | | | | | | | | | | Bug:24434303 Change-Id: I638979e54076004860035396738f6a1281e26c20
* | | | Merge "Fix jank: Don't write lockout deadline if not needed" into mnc-dr-devBill Rassieur2015-09-281-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Fix jank: Don't write lockout deadline if not neededJorim Jaggi2015-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the longterm, we should move these synchronous writes off the main thread, but in the short term, avoiding an unnecessary write is good enough for the main case. Bug: 24471234 Change-Id: Id996ff29e61410cd077760a06d7868a413ae88da
* | | | am f360bbca: Merge "Bug: 24112165 Update docs for protection level of ↵Billy Lau2015-09-281-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | CHANGE_NETWORK_STATE" into mnc-dev * commit 'f360bbca969f60ee968240d22bc0b1f1e5e17218': Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATE
| * | | Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATEBilly Lau2015-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when CHANGE_NETWORK_STATE's protection level was raised to signature from normal, the documentation was not changed. This CL addresses the documentation to reflect the correct protection level. Change-Id: I0a4d2fcef5f30c58b38250865543e72b5eb1ab06
* | | | Bump BatteryStats versionAdam Lesinski2015-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | Bug:24434303 Change-Id: I697deb30c211c77c36cdd810259507f965f3b93b
* | | | Import translations. DO NOT MERGEBaligh Uddin2015-09-268-35/+35
| | | | | | | | | | | | | | | | | | | | Change-Id: I349825f72d9e929562abd599816a4ae428112ea6 Auto-generated-cl: translation import
* | | | Merge "Import translations. DO NOT MERGE" into mnc-dr-devBaligh Uddin2015-09-2510-78/+78
|\ \ \ \
| * | | | Import translations. DO NOT MERGEBaligh Uddin2015-09-2410-78/+78
| | |/ / | |/| | | | | | | | | | | | | | Change-Id: Iebbf559a27c2c55ec7f172ad7e6592e86452edff Auto-generated-cl: translation import
* | | | Deliver camera launch source for analyticsJorim Jaggi2015-09-242-1/+6
|/ / / | | | | | | | | | | | | Bug: 24304031 Change-Id: I606bccf4b62b651e17c6e6d9472648deeab703da
* | | Merge "Disable wifi firmware logging by default" into mnc-dr-devVinit Deshpande2015-09-242-0/+4
|\ \ \
| * | | Disable wifi firmware logging by defaultVinit Deshpande2015-09-232-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is really needed for debugging phase, which is over now; and disabling it will reduce surface area Bug: 24317401 Change-Id: I0acf9efc94333cb274d4286df9c853431d86883d
* | | | Merge "save "retain loader" state" into mnc-dr-devTodd Kennedy2015-09-233-1/+16
|\ \ \ \
| * | | | save "retain loader" stateTodd Kennedy2015-09-223-1/+16
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We cannot pull the "retain loader" state from the Activity; an Activity may not always be hosting a Fragment. Instead, save the "retain loader" state inside the individual fragments. Bug: 23838271 Change-Id: I8358183a7689b5a571ea7be03d769186b2812600
* | | | Import translations. DO NOT MERGEBaligh Uddin2015-09-236-11/+11
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia019f181e358d2925493075488bea307f7131215 Auto-generated-cl: translation import
* | | | Merge "Fix Array Index Out of Bounds in BatteryStatsImpl" into mnc-dr-devAdam Lesinski2015-09-221-4/+13
|\ \ \ \
| * | | | Fix Array Index Out of Bounds in BatteryStatsImplAdam Lesinski2015-09-211-4/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the power profile was not set yet, the default sizes of cpu freq arrays could have been too small. Bug:24244089 Change-Id: Ic17a1e8f2058c51fbdda14db35b7b62f4880be00
* | | | Frameworks/base: Propagate boot status to installdAndreas Gampe2015-09-212-4/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Propagate the boot status explicitly to installd so that we do not have to rely on dev.bootcomplete, which isn't meaningfully set when the device needs the decryption screen on boot. Bug: 23898216 Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7
* | | Grab a wakelock while doing ARP/ND probingErik Kline2015-09-211-1/+34
| | | | | | | | | | | | | | | Bug: 23197666 Change-Id: I5bf6e83b37fcd924f5f8e750f65bb5061f931e56
* | | Merge "Import translations. DO NOT MERGE" into mnc-dr-devBaligh Uddin2015-09-1925-190/+246
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2015-09-1825-190/+246
| | | | | | | | | | | | | | | | | | | | Change-Id: I4a03a04f3c0915132a8dcb8102a7e203f2ecba07 Auto-generated-cl: translation import
* | | | Merge "Add support for setting color transforms" into mnc-dr-devJustin Harrison2015-09-197-0/+226
|\ \ \ \
| * | | | Add support for setting color transformsMichael Wright2015-09-187-0/+226
| | |_|/ | |/| | | | | | | | | | | | | | Bug: 24038268 Change-Id: I05275c906e02eb9e67331f6f909166eb08ad5536
* | | | Merge "set config_use_sim_language_file false for SE Telia/Sweden 3G" into ↵Vineeta Srivastava2015-09-182-0/+54
|\ \ \ \ | | | | | | | | | | | | | | | mnc-dr-dev
| * | | | set config_use_sim_language_file false for SE Telia/Sweden 3Gsangjoon84.lee2015-09-182-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=24184934 Change-Id: I721b3e6c29b78a792a15ab4ba72a81a3f4ce270d
* | | | | Merge "Fix crash when no power_profile is specified" into mnc-dr-devAdam Lesinski2015-09-182-2/+2
|\ \ \ \ \
| * | | | | Fix crash when no power_profile is specifiedAdam Lesinski2015-09-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always connected devices don't have power_profiles, so handle the case where the default cpu speed count of 1 is used on a device with more cpu speeds. Bug:23776983 Change-Id: Ifdddad2f28eea5b730833622a6b6043b3086efd2
* | | | | | Merge "BatteryStats: Better big-little CPU accounting" into mnc-dr-devAdam Lesinski2015-09-187-115/+322
|\ \ \ \ \ \ | |/ / / / / | | | | / / | |_|_|/ / |/| | | |
| * | | | BatteryStats: Better big-little CPU accountingAdam Lesinski2015-09-097-115/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generalize cpu clusters so we can measure frequency and power usage across heterogeneous cpu clusters. This also brings back reading of cpu-times for power calculation. Bug:22773176 Change-Id: I9c794ae9756c782c0e971c7f5fcebbe70374b269
* | | | | Badge ChooserActivity choices with their app icon for disambigAdam Powell2015-09-172-7/+26
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When two or more activities with the same user-visible label are shown, we have traditionally shown the app name or package name if the app names also match. This was to help the user tell the difference between multiple apps publishing similar activities and avoid unintentionally starting the wrong one. However, in the case of explicit choosers (e.g. ACTION_SEND sharing) a few common collisions occur in practice and falling all the way back to package name isn't very helpful. Instead, we now assume that the app icon, which the user has seen before at install time, is unique enough on its own to disambiguate these cases and avoid user confusion. We no longer show the app name or package name as secondary text in the chooser. In cases where an activity has a different icon from its containing app, we now badge the activity icon with the app icon so that the user knows which app a potentially ambiguous choice belongs to. Bug 24113937 Change-Id: Ie54fbf77bfcc86e50768f93be2be0e53cf2ce7b5
* | | | Merge "Send power hint on fling gestures." into mnc-dr-devTim Murray2015-09-171-0/+11
|\ \ \ \
| * | | | Send power hint on fling gestures.Michael Wright2015-09-171-0/+11
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the existing PointerEventListener infrastructure to listen for gestures that look like flings and hint to the power system when they happen. Since we don't actually have a bound for the fling like a regular application would, limit them to five seconds and refresh every time a new fling is seen until the five second time period is up. bug 24059298 Change-Id: I5757a1e88f2ab2ef08cccefa8221d809ae71bb6f
* | | | Handle single-choice ChooserActivities and bound ChooserTargetServicesAdam Powell2015-09-162-28/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix cases where we could try to unbind from a ChooserTargetService that is not connected. This could happen if we still had stale replies coming back after the activity was destroyed. Always offer users an explicit choice in ChooserActivity, don't auto-start a single option. Make sure we don't allow a wedged ChooserTargetService to hold a hard reference to the ChooserActivity via its internal result callback. Bug 23152483 Change-Id: I7c8b1fc9559dcd477702ef582011b088b07d646b (cherry picked from commit 9761ab2a645a4643bd20619c7c148ef07e0dd39d)
* | | | Merge "Use app directory as apkPath for cluster installs" into mnc-dr-devFyodor Kupolov2015-09-161-0/+11
|\ \ \ \
| * | | | Use app directory as apkPath for cluster installsFyodor Kupolov2015-09-101-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, size of of oat directory was not counted by the getsize command, because base APK location was passed as apkpath argument. Bug: 23896047 Change-Id: Ic7b6b725785ff2e2a0cf3887ba68c162b23b1212