OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Update transient navigation confirmation wording & behavior" into klp-dev
John Spurlock [Mon, 16 Sep 2013 23:03:25 +0000 (23:03 +0000)]
Merge "Update transient navigation confirmation wording & behavior" into klp-dev

10 years agoMerge "camera2: Add key enumeration functionality to CameraMetadata" into klp-dev
Igor Murashkin [Mon, 16 Sep 2013 22:47:07 +0000 (22:47 +0000)]
Merge "camera2: Add key enumeration functionality to CameraMetadata" into klp-dev

10 years agoMerge "camera2: Update Face class." into klp-dev
Igor Murashkin [Mon, 16 Sep 2013 22:32:11 +0000 (22:32 +0000)]
Merge "camera2: Update Face class." into klp-dev

10 years agoFix build.
Dianne Hackborn [Mon, 16 Sep 2013 22:20:27 +0000 (15:20 -0700)]
Fix build.

Change-Id: I2b2168ff3b2826a60353fd137a2fa255b1ace4bb

10 years agoMerge "Implement issue #10691359: Kill long-running processes" into klp-dev
Dianne Hackborn [Mon, 16 Sep 2013 21:33:03 +0000 (21:33 +0000)]
Merge "Implement issue #10691359: Kill long-running processes" into klp-dev

10 years agoMerge "Put next task on top of stack if top is finishing." into klp-dev
Craig Mautner [Mon, 16 Sep 2013 21:21:11 +0000 (21:21 +0000)]
Merge "Put next task on top of stack if top is finishing." into klp-dev

10 years agoUpdate transient navigation confirmation wording & behavior
John Spurlock [Thu, 5 Sep 2013 15:31:54 +0000 (11:31 -0400)]
Update transient navigation confirmation wording & behavior

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

10 years agoMerge "Update the Connectivity Manager test suit to use InstrumentationTestCase....
Xia Wang [Mon, 16 Sep 2013 21:11:30 +0000 (21:11 +0000)]
Merge "Update the Connectivity Manager test suit to use InstrumentationTestCase." into klp-dev

10 years agoMerge "Fix media stress test." into klp-dev
Yu Shan Emily Lau [Mon, 16 Sep 2013 21:11:25 +0000 (21:11 +0000)]
Merge "Fix media stress test." into klp-dev

10 years agoUpdate the Connectivity Manager test suit to use InstrumentationTestCase.
Xia Wang [Fri, 13 Sep 2013 23:51:38 +0000 (16:51 -0700)]
Update the Connectivity Manager test suit to use InstrumentationTestCase.

- 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

10 years agoImplement issue #10691359: Kill long-running processes
Dianne Hackborn [Mon, 16 Sep 2013 17:57:39 +0000 (10:57 -0700)]
Implement issue #10691359: Kill long-running processes

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

10 years agoMerge "Ensure that transitions animating alpha end on a reasonable value" into klp-dev
Chet Haase [Mon, 16 Sep 2013 21:03:28 +0000 (21:03 +0000)]
Merge "Ensure that transitions animating alpha end on a reasonable value" into klp-dev

10 years agoMerge "media: Update ImageReader to remove MaxImagesAcquiredException" into klp-dev
Igor Murashkin [Mon, 16 Sep 2013 21:02:32 +0000 (21:02 +0000)]
Merge "media: Update ImageReader to remove MaxImagesAcquiredException" into klp-dev

10 years agoEnsure that transitions animating alpha end on a reasonable value
Chet Haase [Sat, 14 Sep 2013 18:28:46 +0000 (11:28 -0700)]
Ensure that transitions animating alpha end on a reasonable value

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

10 years agoMerge "Fix Settings app crash while enabling tethering" into klp-dev
Yuhao Zheng [Mon, 16 Sep 2013 20:36:50 +0000 (20:36 +0000)]
Merge "Fix Settings app crash while enabling tethering" into klp-dev

10 years agoMerge "Fix an NPE in WifiService" into klp-dev
Vinit Deshapnde [Mon, 16 Sep 2013 20:25:52 +0000 (20:25 +0000)]
Merge "Fix an NPE in WifiService" into klp-dev

10 years agoFix Settings app crash while enabling tethering
Yuhao Zheng [Mon, 16 Sep 2013 19:43:00 +0000 (12:43 -0700)]
Fix Settings app crash while enabling tethering

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

10 years agoMerge "media: Update ImageReader APIs" into klp-dev
Igor Murashkin [Mon, 16 Sep 2013 20:19:15 +0000 (20:19 +0000)]
Merge "media: Update ImageReader APIs" into klp-dev

10 years agoMerge "New platlogo for K." into klp-dev
Daniel Sandler [Mon, 16 Sep 2013 20:09:05 +0000 (20:09 +0000)]
Merge "New platlogo for K." into klp-dev

10 years agoPut next task on top of stack if top is finishing.
Craig Mautner [Mon, 16 Sep 2013 20:05:41 +0000 (13:05 -0700)]
Put next task on top of stack if top is finishing.

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

10 years agoFix media stress test.
Yu Shan Emily Lau [Mon, 16 Sep 2013 19:50:12 +0000 (12:50 -0700)]
Fix media stress test.

1) Fix the CamcorderProifle initalization.
2) Insert 2 seconds after camera release.

Change-Id: Ib22f1922a917233f3d1020dc67de834e00fd0959

10 years agoFix an NPE in WifiService
Vinit Deshapnde [Mon, 16 Sep 2013 19:41:12 +0000 (12:41 -0700)]
Fix an NPE in WifiService

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

10 years agoMerge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
Daniel Sandler [Mon, 16 Sep 2013 18:40:13 +0000 (18:40 +0000)]
Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev

10 years agoNew platlogo for K.
Daniel Sandler [Mon, 16 Sep 2013 17:44:17 +0000 (13:44 -0400)]
New platlogo for K.

Bug: 10605145
Change-Id: I23f285ec24118982b10f5d801b75925b9dc81c64

10 years agoMerge "Fix recent SystemUI dump crash." into klp-dev
Daniel Sandler [Mon, 16 Sep 2013 18:36:03 +0000 (18:36 +0000)]
Merge "Fix recent SystemUI dump crash." into klp-dev

10 years agoMerge "Miscellaneous fixes to SoundPool unit test" into klp-dev
Glenn Kasten [Mon, 16 Sep 2013 18:24:13 +0000 (18:24 +0000)]
Merge "Miscellaneous fixes to SoundPool unit test" into klp-dev

10 years agoMerge "Stress test for AudioTrack shared memory bug" into klp-dev
Glenn Kasten [Mon, 16 Sep 2013 18:23:54 +0000 (18:23 +0000)]
Merge "Stress test for AudioTrack shared memory bug" into klp-dev

10 years agoMerge "Camera2: Add MAX_CAMERAS_IN_USE error case handling" into klp-dev
Zhijun He [Mon, 16 Sep 2013 18:21:17 +0000 (18:21 +0000)]
Merge "Camera2: Add MAX_CAMERAS_IN_USE error case handling" into klp-dev

10 years agoam da304484: am a1e59983: am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes...
Joe Fernandez [Mon, 16 Sep 2013 18:18:51 +0000 (11:18 -0700)]
am da304484: am a1e59983: am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs

* commit 'da304484a14062703284596d50f33df28fe66cc4':
  docs: SDK / ADT 22.2 Release Notes

10 years agoam a1e59983: am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2...
Joe Fernandez [Mon, 16 Sep 2013 18:15:37 +0000 (11:15 -0700)]
am a1e59983: am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs

* commit 'a1e59983ef6e1f6b0a1c8e65b439e80846f8b662':
  docs: SDK / ADT 22.2 Release Notes

10 years agoam 7bacc72c: am 90bb0cf7: am 385179b2: Merge "Update RenderScript docs to include...
Joe Fernandez [Mon, 16 Sep 2013 18:15:22 +0000 (11:15 -0700)]
am 7bacc72c: am 90bb0cf7: am 385179b2: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs

* commit '7bacc72c748249926ee0d4733d194ff712aacddb':
  Update RenderScript docs to include Support Library APIs

10 years agoam 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs
Joe Fernandez [Mon, 16 Sep 2013 18:13:08 +0000 (11:13 -0700)]
am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs

* commit '27ab217212a663e22133cdd2a72ef27bdf5f778c':
  docs: SDK / ADT 22.2 Release Notes

10 years agoam 90bb0cf7: am 385179b2: Merge "Update RenderScript docs to include Support Library...
Joe Fernandez [Mon, 16 Sep 2013 18:12:05 +0000 (11:12 -0700)]
am 90bb0cf7: am 385179b2: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs

* commit '90bb0cf7680874a5332fd5f063b54e7f65ef2cea':
  Update RenderScript docs to include Support Library APIs

10 years agoMerge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs
Joe Fernandez [Mon, 16 Sep 2013 18:10:54 +0000 (18:10 +0000)]
Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs

10 years agoam 385179b2: Merge "Update RenderScript docs to include Support Library APIs" into...
Joe Fernandez [Mon, 16 Sep 2013 18:09:40 +0000 (11:09 -0700)]
am 385179b2: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs

* commit '385179b2811e95833066dfdb801e963e43229b97':
  Update RenderScript docs to include Support Library APIs

10 years agoam 2793a3b3: am d82b567c: am 881a4b82: Support Library 18.1 Release Notes
Joe Fernandez [Mon, 16 Sep 2013 18:08:47 +0000 (11:08 -0700)]
am 2793a3b3: am d82b567c: am 881a4b82: Support Library 18.1 Release Notes

* commit '2793a3b3fdb24a1fe5f28076a6f8a5f17bc3b0c3':
  Support Library 18.1 Release Notes

10 years agoMerge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs
Joe Fernandez [Mon, 16 Sep 2013 18:07:19 +0000 (18:07 +0000)]
Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs

10 years agoam d82b567c: am 881a4b82: Support Library 18.1 Release Notes
Joe Fernandez [Mon, 16 Sep 2013 18:06:33 +0000 (11:06 -0700)]
am d82b567c: am 881a4b82: Support Library 18.1 Release Notes

* commit 'd82b567c718dafdcd3477cb3da8f729bd64859cc':
  Support Library 18.1 Release Notes

10 years agoMerge "Plug leaks in transitions" into klp-dev
Chet Haase [Mon, 16 Sep 2013 18:05:42 +0000 (18:05 +0000)]
Merge "Plug leaks in transitions" into klp-dev

10 years agoam 881a4b82: Support Library 18.1 Release Notes
Joe Fernandez [Mon, 16 Sep 2013 18:05:12 +0000 (11:05 -0700)]
am 881a4b82: Support Library 18.1 Release Notes

* commit '881a4b8235160884b9fc7aa9a6c6b13be5567aa4':
  Support Library 18.1 Release Notes

10 years agoFix recent SystemUI dump crash.
John Spurlock [Mon, 16 Sep 2013 17:57:13 +0000 (13:57 -0400)]
Fix recent SystemUI dump crash.

If only string format specification errors were compilation errors...

Bug:10781286
Change-Id: I2843a805f6bba35f9cddcbfe7e551d3f0248e789

10 years agoMerge "Catch ActivityNotFoundException in Recents" into klp-dev
Michael Jurka [Mon, 16 Sep 2013 17:56:28 +0000 (17:56 +0000)]
Merge "Catch ActivityNotFoundException in Recents" into klp-dev

10 years agoCatch ActivityNotFoundException in Recents
Michael Jurka [Mon, 16 Sep 2013 17:52:21 +0000 (19:52 +0200)]
Catch ActivityNotFoundException in Recents

Bug: 8633151

10 years agoMerge "Do not allocate so much memory on the stack." into klp-dev
Leon Scroggins III [Mon, 16 Sep 2013 17:36:58 +0000 (17:36 +0000)]
Merge "Do not allocate so much memory on the stack." into klp-dev

10 years agoMerge "ImageReader: get correct crop size" into klp-dev
Zhijun He [Mon, 16 Sep 2013 17:33:36 +0000 (17:33 +0000)]
Merge "ImageReader: get correct crop size" into klp-dev

10 years agoMerge "Rename FLAG_READER_NFC_KOVIO to FLAG_READER_NFC_BARCODE." into klp-dev
Martijn Coenen [Mon, 16 Sep 2013 17:31:40 +0000 (17:31 +0000)]
Merge "Rename FLAG_READER_NFC_KOVIO to FLAG_READER_NFC_BARCODE." into klp-dev

10 years agoam 9919088b: am c2260830: Merge "Update RenderScript docs to include Support Library...
Joe Fernandez [Mon, 16 Sep 2013 17:31:06 +0000 (10:31 -0700)]
am 9919088b: am c2260830: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-ub-dev

* commit '9919088b943f4fc7800d2c0307182f905bb248e4':
  Update RenderScript docs to include Support Library APIs

10 years agoam c2260830: Merge "Update RenderScript docs to include Support Library APIs" into...
Joe Fernandez [Mon, 16 Sep 2013 17:29:06 +0000 (10:29 -0700)]
am c2260830: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-ub-dev

* commit 'c2260830f092152067eac18634b5f4001bf13298':
  Update RenderScript docs to include Support Library APIs

10 years agoSupport Library 18.1 Release Notes
Joe Fernandez [Thu, 12 Sep 2013 19:02:33 +0000 (12:02 -0700)]
Support Library 18.1 Release Notes

adding release notes for v8 support library containing RenderScript

Change-Id: I12d48c26e6b99cacfb8f36750c3f1ce80da5ef23
(cherry picked from commit 75026c547fd00600572c9c4b471ecc9512ab1b17)

10 years agoUpdate RenderScript docs to include Support Library APIs
Joe Fernandez [Fri, 13 Sep 2013 19:40:56 +0000 (12:40 -0700)]
Update RenderScript docs to include Support Library APIs

Added new section to explain how to access the Support Library
RenderScript APIs in Eclipse.

Change-Id: Ife6e25bcc7b91c39bb399d1ace624e106a3f38bc
(cherry picked from commit f82b04d4ecb9450afc8a3679e7178bfa4ca782b8)

10 years agoMerge "Update RenderScript docs to include Support Library APIs" into jb-mr2-ub-dev
Joe Fernandez [Mon, 16 Sep 2013 17:26:31 +0000 (17:26 +0000)]
Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-ub-dev

10 years agoam 4a8ade3b: am 1f7cee21: Merge "Support Library 18.1 Release Notes" into jb-mr2...
Joe Fernandez [Mon, 16 Sep 2013 17:21:14 +0000 (10:21 -0700)]
am 4a8ade3b: am 1f7cee21: Merge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev

* commit '4a8ade3b85b606c5d3c582bdc4eb06051bce7283':
  Support Library 18.1 Release Notes

10 years agoam 1f7cee21: Merge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev
Joe Fernandez [Mon, 16 Sep 2013 17:19:27 +0000 (10:19 -0700)]
am 1f7cee21: Merge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev

* commit '1f7cee21e1506c8476a926f0d37b747a825e9f4a':
  Support Library 18.1 Release Notes

10 years agoMerge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev
Joe Fernandez [Mon, 16 Sep 2013 17:18:10 +0000 (17:18 +0000)]
Merge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev

10 years agoImageReader: get correct crop size
Zhijun He [Mon, 16 Sep 2013 16:49:28 +0000 (09:49 -0700)]
ImageReader: get correct crop size

Bug: 10752797
Change-Id: I2e56d69cde7f5ca669a366646b876861b277a239

10 years agoNew ADB icon for K.
Daniel Sandler [Mon, 16 Sep 2013 16:08:37 +0000 (12:08 -0400)]
New ADB icon for K.

Simple, to the point.

Bug: 10605145
Change-Id: Id33e06cc0ad9dba0f18cf2919adb3541ed5f0e3d

10 years agoMerge "Fix glitch launching new windows from transparent launcher." into klp-dev
John Spurlock [Mon, 16 Sep 2013 15:56:14 +0000 (15:56 +0000)]
Merge "Fix glitch launching new windows from transparent launcher." into klp-dev

10 years agoFix glitch launching new windows from transparent launcher.
John Spurlock [Mon, 16 Sep 2013 15:38:44 +0000 (11:38 -0400)]
Fix glitch launching new windows from transparent launcher.

Part 1 of 2: Ignore remembered sysui visibility transparent flag
value when computing global content frame.

Since this fixes a visible window layout glitch, get this in asap.

Bug:10561554
Change-Id: Ia3fd69ee65eb3f34fb3a684b697c98e37fabc0b0

10 years agoMerge "Fix RenderScript crash." into klp-dev
Daniel Sandler [Mon, 16 Sep 2013 15:26:50 +0000 (15:26 +0000)]
Merge "Fix RenderScript crash." into klp-dev

10 years agoFix RenderScript crash.
Daniel Sandler [Mon, 16 Sep 2013 14:16:49 +0000 (10:16 -0400)]
Fix RenderScript crash.

Also lay the groundwork for a future checkin.

Bug: 10240151
Bug: 10505742
Change-Id: I62d61c9048188c93863c8c43839e713b75a65102

10 years agoMerge "Fix layout glitch specific to quick-settings -> settings." into klp-dev
John Spurlock [Mon, 16 Sep 2013 13:20:49 +0000 (13:20 +0000)]
Merge "Fix layout glitch specific to quick-settings -> settings." into klp-dev

10 years agoMerge "Revert "Hide Experimental WebView from dev settings" DO NOT MERGE" into klp-dev
Jonathan Dixon [Mon, 16 Sep 2013 03:32:09 +0000 (03:32 +0000)]
Merge "Revert "Hide Experimental WebView from dev settings" DO NOT MERGE" into klp-dev

10 years agoMerge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev
Jonathan Dixon [Mon, 16 Sep 2013 03:27:50 +0000 (03:27 +0000)]
Merge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev

10 years agoRevert "Hide Experimental WebView from dev settings" DO NOT MERGE
Jonathan Dixon [Mon, 16 Sep 2013 02:58:31 +0000 (19:58 -0700)]
Revert "Hide Experimental WebView from dev settings" DO NOT MERGE

Bug 10769282

Reverting temporary patch required for factory rom.

This reverts commit 292fd0351be8f414cbe32a7eb322bd18158685d9.

10 years agoHide Experimental WebView from dev settings DO NOT MERGE
Jonathan Dixon [Thu, 12 Sep 2013 00:55:15 +0000 (17:55 -0700)]
Hide Experimental WebView from dev settings DO NOT MERGE

Bug 10427705

The persist.webview system property is no longer needed, so removed too.

Change-Id: I99bbf2e9b9ec42f282339c72509fd99b18594ebf

10 years agoFix handling of privileged permissions on update
Christopher Tate [Fri, 23 Aug 2013 21:01:19 +0000 (14:01 -0700)]
Fix handling of privileged permissions on update

When a bundled app is upgraded, only reprocess ungranted 'system'
permissions if the bundled apk is privileged.

Also adds the 'privileged' flag to the dumpsys flag summary.

Bug 10503183

Change-Id: Ic6560fc904e5970fc871a155c898744a6607f851

10 years agoMerge "Add debug logging for b/10689184." into klp-dev
Craig Mautner [Sun, 15 Sep 2013 21:47:52 +0000 (21:47 +0000)]
Merge "Add debug logging for b/10689184." into klp-dev

10 years agoAdd debug logging for b/10689184.
Craig Mautner [Sat, 14 Sep 2013 21:59:50 +0000 (14:59 -0700)]
Add debug logging for b/10689184.

Focus is now on focus. Remove logging when fixed.

Change-Id: Ic0cd2d6bd4e65dac9dd40f4745dd12fb84f687ce

10 years agoFix layout glitch specific to quick-settings -> settings.
John Spurlock [Sun, 15 Sep 2013 13:07:51 +0000 (09:07 -0400)]
Fix layout glitch specific to quick-settings -> settings.

When collapsing panels in code, relinquish focus immediately,
  triggering an immediate reeval of current focus in WM,
    triggering an immediate reeval of sysui flags,
      triggering an immediate system bar transition
      with the correct destination content frame.

Otherwise we eventually get around to it, after several layers
of sysui animation delays, but delaying the sysui visibility
re-eval until this point is far too late.

Bug:10696375
Change-Id: I947289667225b6a12bb8c81950df0e2e2d9f1f99

10 years agoCamera2: Add MAX_CAMERAS_IN_USE error case handling
Zhijun He [Sun, 15 Sep 2013 18:55:44 +0000 (11:55 -0700)]
Camera2: Add MAX_CAMERAS_IN_USE error case handling

Throw CAE with reason MAX_CAMERAS_IN when the error code is EDQUOT.

Bug: 10749544
Change-Id: I6820de8b95662a55bb37f099746ea2cbe5056f24

10 years agoMerge changes Id0a67846,I20b57d66 into klp-dev
Svetoslav Ganov [Sun, 15 Sep 2013 18:46:01 +0000 (18:46 +0000)]
Merge changes Id0a67846,I20b57d66 into klp-dev

* changes:
  Print system may get stuck bound to a print service
  Spooler should not crash if print service config activities are not exported.

10 years agoPrint system may get stuck bound to a print service
Svetoslav Ganov [Sat, 14 Sep 2013 08:02:04 +0000 (01:02 -0700)]
Print system may get stuck bound to a print service

1. If a print service dies, is restarted and at the time of the
   restart the service has neither print jobs nor a discovery
   serssion it gets stuck into a bound state. Now it unbinds if
   after binding and ensuring it is in the lifecycle state right
   before the death there are no active print jobs and no discovery
   session.

   Also when a print service dies we fail all of its print jobs
   but did not update the service that all of its print jobs are
   handled, i.e. it has no active print jobs.

2. Fixed a null pointer exception in UserState

bug:10696723

Change-Id: Id0a67846093fca5d4c1e10843eaf6aa90169d942

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 04:36:51 +0000 (04:36 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 04:31:30 +0000 (04:31 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 04:31:24 +0000 (04:31 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 04:31:09 +0000 (04:31 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 04:31:02 +0000 (04:31 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 04:08:26 +0000 (21:08 -0700)]
Import translations. DO NOT MERGE

Change-Id: I12383ccb553cbace814156dafc8aad62a007f2c0
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:33:13 +0000 (20:33 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iedddc6498eb09ce99ae5ffbc60c2069d4373b3e5
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:32:29 +0000 (20:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iab13f37067f3888f58ada1c4764674194eb24c25
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:30:38 +0000 (20:30 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie76c722a4e7525264922041684f25b5b35286973
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:29:57 +0000 (20:29 -0700)]
Import translations. DO NOT MERGE

Change-Id: I45ac6ed92f61d59d2e2fdf87a1ac02db3510720c
Auto-generated-cl: translation import

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 03:27:49 +0000 (03:27 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:27:22 +0000 (20:27 -0700)]
Import translations. DO NOT MERGE

Change-Id: I68895c16a26ecc9554bfc53e9d9346fe29412fec
Auto-generated-cl: translation import

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 03:26:52 +0000 (03:26 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:26:04 +0000 (20:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: I190e27f9b7d9774cf922b50e1f0ac9c5d08a5652
Auto-generated-cl: translation import

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sun, 15 Sep 2013 03:09:03 +0000 (03:09 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:06:00 +0000 (20:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iebcc32693fe755e3f7e73b255e61f1963e4c15e9
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 03:04:06 +0000 (20:04 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1e4035acc161f784dc2f35eaf1f346ecbddf2fcf
Auto-generated-cl: translation import

10 years agoMerge "Promote lights-out to a bar transition mode." into klp-dev
John Spurlock [Sat, 14 Sep 2013 21:31:09 +0000 (21:31 +0000)]
Merge "Promote lights-out to a bar transition mode." into klp-dev

10 years agoMerge "Despotted back." into klp-dev
John Spurlock [Sat, 14 Sep 2013 21:30:21 +0000 (21:30 +0000)]
Merge "Despotted back." into klp-dev

10 years agoPromote lights-out to a bar transition mode.
John Spurlock [Sat, 14 Sep 2013 15:58:55 +0000 (11:58 -0400)]
Promote lights-out to a bar transition mode.

Move all visual application of the legacy lights-out behind
a new mode managed by BarTransitions for better coordination.

Remove unused "hidden" state in NavigationBarView.

Improve window state (showing/hiding/hidden) calculation,
affecting whether or not sysui thinks it should animate.
Removes invalid interim mode changes causing needless
flashing during some transitions.

Consider WINDOW_STATE_HIDING a state in which we ought to animate,
since at least part of the window is visible throughout.

Make the status/nav bar transition helper classes real boys.

Animate KeyButtonView drawing alpha transition, cancel existing
animations when resetting to avoid needless and unsightly "recovery".

Bug:10746803
Change-Id: Ibd883da9041d071b6a4ff5b42cf96efba7696e9c

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sat, 14 Sep 2013 19:48:09 +0000 (19:48 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sat, 14 Sep 2013 19:47:36 +0000 (19:47 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sat, 14 Sep 2013 19:47:20 +0000 (19:47 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoPlug leaks in transitions
Chet Haase [Fri, 13 Sep 2013 20:29:31 +0000 (13:29 -0700)]
Plug leaks in transitions

Transitions were leaking views due to TransitionsValues holding references
to views/parents. The references were fine, but the retention of the transition
objects themselves were not. There were a few different places that needed to
be plugged:
- clones were not making new copies of some fields, leading to caching references
in the original object (which was then cloned later to other clones)
- Visibility was using a persistent field to cache temporary values. This transition,
when cloned, would retain these instances, keeping references to views
- ViewTreeObserver had a bug that would leak listeners

Issue #10749071 Activity instance leak between TransitionManager and InputMethodManager

Change-Id: I1d5d457dc5e020c7b9e8392a95e3b2c488461119

10 years agoMerge "Fix docs build." into klp-dev
Ying Wang [Sat, 14 Sep 2013 19:01:03 +0000 (19:01 +0000)]
Merge "Fix docs build." into klp-dev

10 years agoFix docs build.
Ying Wang [Sat, 14 Sep 2013 18:57:17 +0000 (11:57 -0700)]
Fix docs build.

Change-Id: I4a1608bfad809d67240db2070fda85df486179e6

10 years agoMerge "Tighten condition for calling checkMobileProvisioning." into klp-dev
Wink Saville [Sat, 14 Sep 2013 18:19:39 +0000 (18:19 +0000)]
Merge "Tighten condition for calling checkMobileProvisioning." into klp-dev

10 years agoMerge "CA cert monitoring: add notifications and actions for dialog" into klp-dev
Maggie Benthall [Sat, 14 Sep 2013 18:00:12 +0000 (18:00 +0000)]
Merge "CA cert monitoring: add notifications and actions for dialog" into klp-dev