summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-27Increase timeout when uncrypting OTAandroid-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.0.2_r3lollipop-releaselollipop-cts-releaseMichael Runge
Larger OTAs (750 MB tested) are taking 3-4 minutes to write, due to the O_SYNC needed to ensure that the data is actually committed to disk prior to reboot. Bug: 18750317 Change-Id: Idfab3ffd0276df4548f69a09c72ad6f4a344b6e6 (cherry picked from commit 01c06dfb076b71cb72c4bff9175bec9d59d2efde)
2014-12-16Fix bad alarm deliveryandroid-5.0.2_r1linaro_android_5.0.0Christopher Tate
The man bent over his hourglass, A programmer of sorts. The day was green. They said, "You have a blue hourglass, You do not fire alarms when they're asked." The man replied, "Alarms as they're asked are changed within the blue hourglass." And they said then, "But fire, you must Alarms beyond us, yet themselves, Alarms within the blue hourglass That trigger exactly when they're asked." --- Fix the delivery-fuzzing semantics that had been introduced in 81f9882b5aadd6a2289c9f521a06a7af5f35ebf0. That patch turned out to be incomplete; in particular, alarms scheduled later might require the validity of an already-scheduled kernel alarm even if they did not affect the head alarm batch directly, and this was not being addressed. For now, roll back the fuzzed delivery logic entirely. (This is not a full revert because that patch also caused exact alarms to be considered standalone for batching purposes, and we need to preserve that new policy.) Bug 18726690 Bug 18765436 This is a 'git revert' of 81f9882b5aadd6a2289c9f521a06a7af5f35ebf0 *except* that this CL preserves the "exact alarms are treated as standalone" portion of the original patch. Change-Id: I54c763775877de5b6eeb5617544aa6100bb17526
2014-12-11Tune delivery and batching of alarmsChristopher Tate
cherry-pick from lmp-mr1-dev * Inexact alarms no longer coalesce with exact alarms. The motivation here is that exact alarms are far more likely to be wall-clock aligned, and in general pulling all alarms toward wall-clock alignment is a bad idea. * Wakeup times are now fuzzed within the target batch's allowed window rather than being hard pinned at the start of the window. Bug 18631821 Change-Id: Iefaf34eee3f2a6546abefc27e177ee2fdcff935f (cherry picked from commit 81f9882b5aadd6a2289c9f521a06a7af5f35ebf0)
2014-12-11Properly recognize repeating wakeup alarmsChristopher Tate
cherry-pick from lmp-mr1-dev The code in place was inappropriately treating all recurring alarms as non-wakeup for purposes of deferral. Worse, it was overriding the "this deliverable batch of alarms includes a wakeup alarm" bookkeeping, so could potentially cause inappropriate deferral of even standalone wakeup alarms. Bug 18591317 Change-Id: I2a62ed4badcaeb549c1ac4f086014aa829e45427 (cherry picked from commit 864d42eb96a9127b7d2f10ad11e709c24b4b4304)
2014-12-01Be increasingly aggressive about fstrim if it isn't being runChristopher Tate
The current heuristics depend on devices being alive at midnight+ in order to run periodic background fstrim operations. This unfortunately means that people who routinely turn their devices off overnight wind up with their devices *never* running fstrim, and this causes major performance and disk-life problems. We now backstop this very-friendly schedule with an increasingly aggressive one. If the device goes a defined time without a background fstrim, we then force the fstrim at the next reboot. Once the device hits the midnight+ idle fstrim request time, then we already aggressively attempt to fstrim at the first available moment thereafter, even if it's days/weeks later without a reboot. 'Available' here means charging + device idle. If the device never becomes idle then we can't do much without rendering an in-use device inoperable for some number of minutes -- but we have no evidence of devices ever failing to run fstrim due to this usage pattern. A new Settings.Global element (type 'long', called "fstrim_mandatory_interval") is the source of the backstop time. If this element is zero or negative, no mandatory boot-time fstrim will ever be performed. If the element is not supplied on a given device, the default backstop is 3 days. Adds a new string to display in the upgrading dialog when doing the fstrim. Note it is too late for this to be localized, but since this operation can take a long time it is probably better to have it show *something* even if not localized, rather than just sit there. Bug 18486922 Change-Id: I5b265ca0a65570fb8931251aa1ac37b530635a2c
2014-12-01Start MountService before performBootDexOptpadarshr
This change is to start Mountservice before starting performBootDexOpt, as in one case, in performBootDexOpt when system upgrade happens, StorageManager will be started to get the low threshold of DataDir. But, at this point, as Mountservice is still not up, StorageManager will end up having a null object of Mountservice. Change-Id: If2b5e1b58e7d2a72c6313f196e98a68738295ec6
2014-11-20Fix null handling in proxies.android-5.0.1_r1Geoffrey Borggaard
ProxyInfo.getPacFileUrl() can not be null. It will be equal to Uri.EMPTY. Checking for null was causing global proxies to never be disabled. Or more accurately, global proxies would be disabled, but would reappear after a reboot. ProxyInfo.getExclusionListByString() can be null. If no exclusion list was specified, the proxy settings would not be successfully saved, they would disappear after reboot. Bug: 18453223 Change-Id: I1c27e5dca5b9664bb7468ea909bff489fa110a07
2014-11-19Setting ADB_ENABLED may result in a SecurityException.Geoffrey Borggaard
If the restriction UserManager.DISALLOW_DEBUGGING_FEATURES is enforced, then any attempt to set ADB_ENABLED will result in a SecurityException. This can result in the device not being able to boot. Bug: 18433477 Change-Id: I21e4b406ad0fa89b7d4b678eac1baf212a3c7acd
2014-11-19Add configuration to control converting sms destination numberxinhe
Romove hard codes about the SimcardOperatorList and NetworkOperatorList. Bug: 18081228 Change-Id: I0d96972c6097325634413137bfbdb5a246885276
2014-11-18Increases the falsing threshold when for the keyguard affordancesSelim Cinek
The minimum amount has been increased by 20dp and in addition the Motion is cancelled whenever a POINTER_DOWN occurs, which should help a lot with falsing. Bug: 18298401 Change-Id: I04b1f30fd2555c08209224f4e84c610ecd7a33f1 (cherry picked from commit 1dc406505cdcbbf98ece4f15a2f98f621e24abdb)
2014-11-18Import translations. DO NOT MERGEBaligh Uddin
Bug: 18218486 Change-Id: I929129a2c443e4db78e0ad4e78e653a7cd603855 Auto-generated-cl: translation import
2014-11-12Recover apps with malformed certificates.android-5.0.0_r7Jeff Sharkey
There was a window of time in Lollipop where we persisted certificates after they had passed through a decode/encode cycle. The well-written OpenSSL library was liberal when decoding (allowing slightly malformed certs to be parsed), but then strict when encoding, giving us different bytes for effectively the same certificate. A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b) now returns the original bytes verbatim, fixing both pre-Lollipop installs and installs after that change. This change recovers any apps that had been installed during the window of time described above by doing a one-time check to see if the certs are effectively equal. Bug: 18228011 Change-Id: Ib82bd6db718d0490d7a26c9c1014b7c8457a7f2d
2014-11-07Increasing the min swipe thresholds for the nav bar gestures. (Bug 17109581)android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5linaro-fvp-lollipopWinson Chung
Change-Id: I1bcf6f91f616890f0e815db33267c5230ae9c76f (cherry picked from commit 559e6d34b4e76ee21dc6e300681c399ed735a964)
2014-11-07[DO NOT MERGE] Increase min free levels for cached processes on 64bitAndres Morales
Requires less memory pressure to start killing cached processes. Change-Id: Ia02f5aee115535badc900330b9361f0099203e4f
2014-11-06DO NOT MERGE: Don't log passwords returned from vdcandroid-5.0.0_r4Paul Lawrence
Turns off logging of responses from native daemon connector altogether. Proper solution to follow in LMP MR1 Bug: 18260068 Change-Id: I25bc9cb61049a3efdd9a9cd11195864a04ef05fd
2014-11-06merge in lmp-release history after reset to lmp-devThe Android Automerger
2014-11-06DO NOT MERGE: Don't log passwords returned from vdcandroid-5.0.0_r3Paul Lawrence
Turns off logging of responses from native daemon connector altogether. Proper solution to follow in LMP MR1 Bug: 18260068 Change-Id: I25bc9cb61049a3efdd9a9cd11195864a04ef05fd
2014-10-27Add missing passive discovery flagandroid-5.0.0_r2android-5.0.0_r1Jason Monk
MediaProjectionManagerService had an active media callback which was causing a service to be bound 100% of the time. Adding a passive flag makes it only observe events, and allow the service to only be bound when needed by apps requesting active discovery. Bug: 18042409 Bug: 17969854 Change-Id: I1bfa6609e2aa507ee2ce227de50f0e5ae951e000
2014-10-24Stop crypto UI from crashing during encryptionPaul Lawrence
Don't try to read crypto meta data during this time Bug: 18037893 Change-Id: I3628572b3b90e6fc0a7c71089b447fb0e5303ee9
2014-10-23Add delay in ping connectivity test retryEric Rowe
Change-Id: Id6e36f42b2a2d84605185780fb7a3f2144e7a9b9
2014-10-23Disable Content-Disposition header for 53005 and 310120Ye Wen
Platform PDU lib uses a flag in frameworks/base/core resources instead of mms config in mms service b/17634414 Change-Id: I0ba78d6b7d6f2844eafa3dac3691828414975f43
2014-10-22Show ProgressDialog when waiting for radio to turn on when provisioning.Paul Jensen
Turning on the cellular radio when user selects the provisioning notification can take 30-60s so a UI is needed to keep the user informed that the radio is coming up. This is only for provisioning APN support (only AT&T tablets now). bug:15990642 Change-Id: Ibea894ee934bae2045c0462ae79bfa39d0ef3f05
2014-10-21merge in lmp-release history after reset to ↵The Android Automerger
0c74939024cb2aec9e8348808366170d77d6e8e7
2014-10-21Merge "CEC: Add missing protections for some HdmiControlService API - DO NOT ↵Jinsuk Kim
MERGE" into lmp-dev
2014-10-21Merge "Add hidden method to access a connection's service." into lmp-devSantos Cordon
2014-10-21CEC: Add missing protections for some HdmiControlService API - DO NOT MERGEJinsuk Kim
A few methods are found to be missing protection with system permission. Add enforceAccessPermission() like other methods. Bug: 17408780 Change-Id: I58a336b5cc9df2d195bdfe7b928898dde5ff169f (cherry picked from commit b22d9ee0a364b10d488dd6a2e8ba69d5ca7f6258)
2014-10-21Block monkey from creating user profilesGuang Zhu
Bug: 17721767 Change-Id: Ibf686d6aa5da29411ee23f8ce6826ed93c1fa970
2014-10-21DevicePolicy: Restore CA warning to K behaviourRobin Lee
Some tests rely on this being dismissible. Additionally it turns out some users don't like having a hulking great notification follow them around everywhere. Bug: 17985258 Change-Id: If05a07b9eaa402a48f9a14647effc1df32c796e1
2014-10-21Delay discovery of system trust agentsAdrian Roos
Waits for BOOT_COMPLETED when enabling system trust agents. This fixes an issue where no agents were discovered because the packages were not ready after an OTA. Bug: 18065140 Change-Id: Ibff9948e1536e07f868d6b29f432923a137091e6
2014-10-21Merge "Report that a JavaInputStreamAdaptor is at end." into lmp-devLeon Scroggins III
2014-10-21merge in lmp-release history after reset to ↵The Android Automerger
2fa604fc59ded63a416066a0bc66f63069cae7f3
2014-10-21Merge "DevicePolicy: Restore CA warning to K behaviour" into lmp-devRobin Lee
2014-10-20Report that a JavaInputStreamAdaptor is at end.Leon Scroggins III
This prevents a naive caller from continuing to attempt to read. BUG:17419670 BUG:17873145 Change-Id: Idd462ff9055aea42e8c7d5d58ef177f9e667385b
2014-10-20Merge "Add missing break to switch statement" into lmp-devlollipop-devRoboErik
2014-10-20Add missing break to switch statementRoboErik
the skip to queue item case was falling through when it shouldn't. bug: 18058515 Change-Id: Ica20b59efad12a58ad16501146fc9a0d4595e184
2014-10-20Doc change: misc changes to highlights.smain@google.com
Change-Id: I60964bf1d8e299985da9ca6b2b6cfb70a1477bbc
2014-10-20Merge "AAPT: Fix path for final generated resources on Windows" into lmp-devAdam Lesinski
2014-10-20DevicePolicy: Restore CA warning to K behaviourRobin Lee
Some tests rely on this being dismissible. Additionally it turns out some users don't like having a hulking great notification follow them around everywhere. Bug: 17985258 Change-Id: If05a07b9eaa402a48f9a14647effc1df32c796e1
2014-10-20Merge "Make sure the bitmap from VD's cache is drawn using bi-linear ↵ztenghui
filter." into lmp-dev
2014-10-20AAPT: Fix path for final generated resources on WindowsAdam Lesinski
Change-Id: Id11ac79b281b51747c73f90406ebd60023c54f92
2014-10-20Merge "Set the metadata rating correctly in RCC" into lmp-devRoboErik
2014-10-20Add hidden method to access a connection's service.Santos Cordon
This change exposes a method that is used by the actual fix here: I4e4789c044d9e3614f42143cfa6053881a6d109b Bug: 17962996 Change-Id: Iec3795ea372634120c71b0a80ee046e372569ecf
2014-10-20Merge "Import translations. DO NOT MERGE" into lmp-devGeoff Mendal
2014-10-20update workplace description in lollipop highlightssmain@google.com
bug: 18038081 Change-Id: I612fc52392bc0fb71cc2e7b4c0da1fcaae6ac6fe
2014-10-20Set the metadata rating correctly in RCCRoboErik
We weren't setting the ratings in the new MediaMetadata from RCC. This adds some code to set them correctly. bug:18051829 Change-Id: I358eeb2b25b3fb9bd9a5d207eb3314bb2cdff25e
2014-10-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I3dd702947875349b8ca04edb813687588e4db689 Auto-generated-cl: translation import
2014-10-20Merge "Import translations. DO NOT MERGE" into lmp-devGeoff Mendal
2014-10-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I9d2178c81e9acc3ce353f317787cb12f6e158666 Auto-generated-cl: translation import
2014-10-20Merge "Always execute resumeAppSwitches when launching something" into lmp-devAdrian Roos
2014-10-19merge in lmp-release history after reset to ↵The Android Automerger
67b404d688e8da44d104d54c78a8e37f88a4529b