summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BatteryMeterView: Charging trumps empty.John Spurlock2013-09-171-5/+5
| | | | | | | | Match the style implicit in the battery assets: if charging, show the bolt, not the exclamation point. Bug:10651062 Change-Id: I3edd822326ad611972e791cf4acc8c395e51a74d
* Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-09-171-4/+4
|\
| * Import translations. DO NOT MERGEBaligh Uddin2013-09-161-4/+4
| | | | | | | | | | Change-Id: I7f6eb24f5bb7c1ae9e8734eb957a966e49848a3b Auto-generated-cl: translation import
* | Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-09-1732-64/+32
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2013-09-1632-64/+32
| |/ | | | | | | | | Change-Id: Icd16c449ff68a89ecd4a36856764d24f5894c9e5 Auto-generated-cl: translation import
* | Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-09-1741-82/+41
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2013-09-1641-82/+41
| |/ | | | | | | | | Change-Id: I6066e1589c84a842887ac37b737d6852a2ff99a7 Auto-generated-cl: translation import
* | Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-09-1752-579/+300
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2013-09-1652-579/+300
| |/ | | | | | | | | Change-Id: Iec4561b4d297b80b70453486c35628904c3c4e45 Auto-generated-cl: translation import
* | Merge "App UI freezes when printing. API clean up." into klp-devSvetoslav2013-09-1724-404/+622
|\ \
| * | App UI freezes when printing. API clean up.Svetoslav2013-09-1624-404/+622
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The UI of a printing app was freezing a little when calling the print method since the print manager service was waiting for it to bind to the print spooler which generated the print job id (and the initial print job info really). Now the print manager service is responsible for job id generation and does not not wait for the print spooler to spin. Hence, the app UI is not blocked at all. Note that the print manager initiates the binding to the spooler and as soon as it completes the spooler shows the print UI which is hosted in its process. It is not possible to show the print UI before the system is bound to the spooler since during this binding the system passes a callback to the spooler so the latter can talk to the system. 2. Changed the print job id to be an opaque class allowing us to vary the way we generate print job ids in the future. 3. The queued print job state was hidden but the print job returned by the print method of the print manager is in that state. Now now hidden. 4. We were incorrecly removing print job infos if they are completed or cancelled. Doing that is problematic since the print job returned by the print method allows the app to query for the job info after the job has been say completed. Hence, an app can initiate printing and get a print job whose state is "created" and hold onto it until after the job is completed, now if the app asks for the print job info it will get an info in "created" state even though the job is "completed" since the spooler was not retaining the completed jobs. Now the spooler removes the PDF files for the completed and cancelled print jobs but keeps around the infos (also persisting them to disc) so it can answer questions about them. On first boot or switch to a user we purge the persisted print jobs in completed/cancelled state since they are obsolete - no app can have a handle to them. 5. Removed the print method that takes a file since we have a public PrintDocumentAdapter implementation for printing files. Once can instantiate a PrintFileDocumentAdapter and pass it to the print method. This class also allows overriding of the finish method to know when the data is spooled and deleted the file if desired, etc. 6. Replaced the wrong code to slice a large list of parcelables to use ParceledListSlice class. bug:10748093 Change-Id: I1ebeeb47576e88fce550851cdd3e401fcede6e2b
* | | Merge "Fix issue #10779747: Calendar Storage crash observed..." into klp-devDianne Hackborn2013-09-172-3/+16
|\ \ \
| * | | Fix issue #10779747: Calendar Storage crash observed...Dianne Hackborn2013-09-162-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...while setting up a new user from settings. The delayed service start stuff was too aggressive -- it would allow a process to be killed between the an onReceive() that calls startService() and that service being started. This means that apps that set up global state that they expect to remain set up during that time could be lost. This is the first part of a fix, which tightens up when we allow services to be delayed. Now we will immediately start the service as long as it currently as a process running that is not in the cached state. (Previously we would delay if the process was in the receiver state.) This unfortunately means that our service start delay is much less effective. To address that, there will be a follow-on change to tie broadcast delivery into this to see if we can delay the finish of a broadcast as long as there are background services starting in that process. Change-Id: I2bba2295d10699ee3479375bbe87114b2cbb0826
* | | | Merge "Don't assume that transport unbind == transport invalid" into klp-devChristopher Tate2013-09-171-3/+0
|\ \ \ \
| * | | | Don't assume that transport unbind == transport invalidChristopher Tate2013-09-161-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now expect that the transport service's host process will be OOM-killed sometimes, but will come back automatically because we still hold the binding. So, we no longer drop it as the expected-to-be-current transport when that happens. Bug 10728767 Change-Id: I5e756e8942e7c4c3567632f10460ee31b9618d75
* | | | | Merge "ImageReader: fix the 0 crop rect size issue" into klp-devZhijun He2013-09-171-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | ImageReader: fix the 0 crop rect size issueZhijun He2013-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rect isValid actually include the zero size case, which we don't want to include in our case. This causes camera ImageReader test case fails at buffer size sanity check. Bug: 9802344 Change-Id: I561f5a049c6117c613df1e1b2789c43af9a19628
* | | | | Merge "Work on issue #10771346: runtime restart" into klp-devDianne Hackborn2013-09-172-10/+46
|\ \ \ \ \
| * | | | | Work on issue #10771346: runtime restartDianne Hackborn2013-09-162-10/+46
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Haven't found the underlying cause, but this will give us more information when we get into the bad state. Change-Id: I9aebd3a025a7c0d931f43098461b64ee3c220746
* | | | | Merge "Introduce maxSdkVersion for <uses-permission>" into klp-devChristopher Tate2013-09-172-11/+27
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Introduce maxSdkVersion for <uses-permission>Christopher Tate2013-09-162-11/+27
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way an application can automatically sunset its permission requests when running on later versions of the OS where those permissions are no longer relevant, but may be alarming to the user. A canonical example is WRITE_EXTERNAL_STORAGE, which as of KLP becomes unnecessary for an app to use the external storage volume solely for its own large-data needs, without the need for actual file-system sharing among multiple apps. Bug 9761041 Change-Id: I60130af3a108fe4a750c356038a1c8cb897e9c8b
* | | | Merge "Loudness enhancer audio effect" into klp-devJean-Michel Trivi2013-09-172-0/+310
|\ \ \ \
| * | | | Loudness enhancer audio effectJean-Michel Trivi2013-09-162-0/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LoudnessEnhancer as android.media.AudioEffect subclass Define UUID for loudness enhancer effect Bug 8413913 Change-Id: If0ae6023f77ccf3aafbb55f2b3135b2ea1bb8365
* | | | | Merge "Consider current EAP TLS configurations as 'valid'" into klp-devVinit Deshapnde2013-09-161-1/+9
|\ \ \ \ \
| * | | | | Consider current EAP TLS configurations as 'valid'Vinit Deshapnde2013-09-161-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple authentication methods are currently considered invalid; but WPA_EAP and IEEE8021X are set simultaneously. This means we need to fix code to consider them a valid combination. Bug: 10325089 Change-Id: I2b4f4d75f21df78bfca66a930e85214c0cd6922e
* | | | | | Merge "Update transient navigation confirmation wording & behavior" into klp-devJohn Spurlock2013-09-169-129/+106
|\ \ \ \ \ \
| * | | | | | Update transient navigation confirmation wording & behaviorJohn Spurlock2013-09-169-129/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Decrease transient navigation confirmation annoyance. - Only use the power-key as a signal if we detect a screen-off screen-on within a short threshold value. - Auto-confirm if user performs the indicated gesture. - Remember confirmation across reboots. 2. Update wording to new final wording. Remove now obsolete short + long versions. Decrease message font temporarily until the new platform toast redesign is finalized. 3. Remove pre-ship ImmersiveModeTesting debug helper. Bug:10602929 Change-Id: I0bff826391058c7b282eeb61817b93b79de84893
* | | | | | | Merge "camera2: Add key enumeration functionality to CameraMetadata" into ↵Igor Murashkin2013-09-165-4/+146
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | klp-dev
| * | | | | | | camera2: Add key enumeration functionality to CameraMetadataIgor Murashkin2013-09-135-4/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a way to enumerate all currently set keys in CameraMetadata * Add a way to enumerate all available keys for CaptureRequest * Add a way to enumerate all available keys for CaptureResult * No way to enumerate all keys for CameraProperties, since it would be identical to all the currently set keys. Bug: 10360518 Change-Id: I3a90f8cc385db14a675e4ff876ae93d906ff06bf
* | | | | | | | Merge "camera2: Update Face class." into klp-devIgor Murashkin2013-09-163-88/+275
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | |
| * | | | | | | camera2: Update Face class.Igor Murashkin2013-09-133-88/+275
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move Face to be outer class. Enables Parcelable-izing it later. - Add static public constants for field values. - Add @hide constructors. - Rename methods returning Point to have Position suffix. - Add new key android.statistics.faces (CaptureResult#STATISTICS_FACES) Bug: 10360518 Bug: 10549293 Change-Id: I067f06f0426114b2c3a3266ca7e00e6cb1d89046
* | | | | | | Fix build.Dianne Hackborn2013-09-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2b2168ff3b2826a60353fd137a2fa255b1ace4bb
* | | | | | | Merge "Implement issue #10691359: Kill long-running processes" into klp-devDianne Hackborn2013-09-168-172/+325
|\ \ \ \ \ \ \
| * | | | | | | Implement issue #10691359: Kill long-running processesDianne Hackborn2013-09-168-172/+325
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have the activity manager kill long-running processes during idle maintanence. This involved adding some more information to the activity manager about the current memory state, so that it could know if it really should bother killing anything. While doing this, I also improved how we determine when memory is getting low by better ignoring cases where processes are going away for other reasons (such as now idle maintenance). We now won't raise our memory state if either a process is going away because we wanted it gone for another reason or the total number of processes is not decreasing. The idle maintanence killing also uses new per-process information about whether the process has ever gone into the cached state since the last idle maintenance, and the initial pss and current pss size over its run time. Change-Id: Iceaa7ffb2ad2015c33a64133a72a272b56dbad53
* | | | | | | | Merge "Put next task on top of stack if top is finishing." into klp-devCraig Mautner2013-09-161-1/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Put next task on top of stack if top is finishing.Craig Mautner2013-09-161-1/+2
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case where the top task is finishing and another task is launching make sure that the next task will be launched once the top task actually completes pausing. In the case of b/10550460 the top task, Dialtacts, was finishing but had not yet completed pausing. It was configured to return to the home screen (mLaunchHomeTaskNext true) but because its finishing flag was set all the tests we have thought that the InCallActivity task was the top task. When it finally did complete the mLaunchHomeTaskNext flag caused the home activity to be started instead of the InCallActivity. If the InCallActivity task had been moved above the Dialtacts task at the time it was judged to be the top task the home activity would not have been launched when Dialtacts completed. This fix moves the judged top task over the finishing top task. Fixes bug 10550460. Change-Id: I14052ad2282008679b560dd7fb16b216664ec24d
* | | | | | | | Merge "Update the Connectivity Manager test suit to use ↵Xia Wang2013-09-1611-430/+277
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | InstrumentationTestCase." into klp-dev
| * | | | | | | | Update the Connectivity Manager test suit to use InstrumentationTestCase.Xia Wang2013-09-1611-430/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove ConnectivityManagerTestActivity as the test activity could be destroyed after a system config change, which cause test failure in the wifi stress test. - Update all tests to use InstrumentationTestCase, which instruments the test package. Bug : 10426067 Change-Id: Ibf6f1f7cffd7a7eabc4cc63c7e033b59274b724e
* | | | | | | | | Merge "Fix media stress test." into klp-devYu Shan Emily Lau2013-09-161-5/+9
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix media stress test.Yu Shan Emily Lau2013-09-161-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Fix the CamcorderProifle initalization. 2) Insert 2 seconds after camera release. Change-Id: Ib22f1922a917233f3d1020dc67de834e00fd0959
* | | | | | | | | | Merge "Ensure that transitions animating alpha end on a reasonable value" ↵Chet Haase2013-09-163-22/+51
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into klp-dev
| * | | | | | | | | | Ensure that transitions animating alpha end on a reasonable valueChet Haase2013-09-163-22/+51
| | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Fade transition sets an initial alpha value of 0 when items are appearing. This makes items invisible to start with, and then they eventually fade in as part of the transition when the transition's animation runs. But if that animation/transition gets interrupted, or not started, then the alpha value would not be restored, and the value would stay 0, making the items invisible indefinitely. This is what was happening in the action bar of the People app when performing a search. The fix is to handle Transition and animation events to restore the alpha to its true value when the transition completes, whether that transition is canceled or not. Issue #10726905 ActionBar weirdness in People app Change-Id: Idb65fd8d471d2ac0a1ddc243fee00ae99f7e72d8
* | | | | | | | | | Merge "media: Update ImageReader to remove MaxImagesAcquiredException" into ↵Igor Murashkin2013-09-166-153/+136
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | klp-dev
| * | | | | | | | | media: Update ImageReader to remove MaxImagesAcquiredExceptionIgor Murashkin2013-09-136-153/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acquiring images now throws IllegalStateException instead of MaxImagesAcquiredException Bug: 10691447 Change-Id: I7ce68f990fb96703705b9181012a28633fea0b7a
* | | | | | | | | | Merge "Fix Settings app crash while enabling tethering" into klp-devYuhao Zheng2013-09-161-1/+2
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | |
| * | | | | | | | | Fix Settings app crash while enabling tetheringYuhao Zheng2013-09-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While enabling Portable Wifi hotspot in Settings, a null WifiConfiguration is provided. This null config is on purpose and meanful, and it should bypass the validation test to avoid the NullPointerException. Bug: 10780414 Change-Id: Ic507ecae463946c925b3d5fb5a1d185b37db410f
* | | | | | | | | | Merge "Fix an NPE in WifiService" into klp-devVinit Deshapnde2013-09-161-2/+8
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix an NPE in WifiServiceVinit Deshapnde2013-09-161-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The check to validate incoming configurations is flagging a correct API usage as well - which doesn't provide any configuration to test. Fixing code to accommodate this. Bug: 10749041 Change-Id: I972f0edbdfa14aaa3edb34e4c6784b436c288383
* | | | | | | | | | | Merge "media: Update ImageReader APIs" into klp-devIgor Murashkin2013-09-167-118/+548
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | media: Update ImageReader APIsIgor Murashkin2013-09-127-118/+548
| | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10461757 Change-Id: Ic04e4c41965e3d417b29004f3f08e0cd56b8f4cb