200160 Commits

Author SHA1 Message Date
Adam Lesinski
8461f2fa02 am 46684d2c: Merge "Add anydpi to the providing-resources docs" into mnc-dev
* commit '46684d2caeef93f43be260d996e925ea6e4147ea':
  Add anydpi to the providing-resources docs
2015-10-06 00:51:13 +00:00
Adam Lesinski
46684d2cae Merge "Add anydpi to the providing-resources docs" into mnc-dev 2015-10-05 22:31:22 +00:00
Jean-Michel Trivi
0155856a1d Fix AudioService rotation helper thread
Fix a race condition where the wait index can be incremented inbetween
  the while() loop and the lock
Fix when updateOrientation() is called: after the sleep, otherwise
  the last sleep is useless.

Bug 24677424

Change-Id: I03770a0fc8af57f4696ebee7e9c9110e17c55a24
2015-10-05 15:26:21 -07:00
Adam Lesinski
4cad00b696 Add anydpi to the providing-resources docs
Change-Id: Ic108d9da2e39b9f8581311fe610a1959a24a732f
2015-10-05 19:39:40 +00:00
Geoff Mendal
faebbe82fa Import translations. DO NOT MERGE
Change-Id: I21cc5a0ce2710498f3aa76c904e653b90a14ecda
Auto-generated-cl: translation import
2015-10-05 06:58:33 -07:00
Tim Murray
791763796e Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev 2015-10-02 20:43:30 +00:00
Jorim Jaggi
8c66fa9436 Merge "Add minimum time for double tap gesture" into mnc-dr-dev 2015-10-02 19:55:26 +00:00
Jean-Michel Trivi
24806db8f6 AudioService: alternative way of handling device rotation
For devices that monitor orientation (primarily for channel assignment
 to stereo speakers):
The com.android.server.policy.WindowOrientationListener API is more
 power efficient than simply monitoring the device's orientation. When
 supported, use it instead of android.view.OrientationEventListener.
When WindowOrientationListener reports an orientation change, start
 a thread to poll the UI orientation, as its change may lag behind
 the observed rotation. Gradually increasing delays between polls
 are stored in a table.

Bug 24415763

Change-Id: I69bf68da6107af24cd02a48961dd17ceab557816
2015-10-01 18:40:26 -07:00
Tim Murray
1f407647d1 Send POWER_HINT_INTERACTION on rotate.
Send a POWER_HINT_INTERACTION to improve redraw performance when the
phone is rotated.

bug 24583227

Change-Id: I1978f0dfb9a25c00ad4da5b44d10410ad7412001
2015-10-01 17:07:12 -07:00
Jorim Jaggi
d3f84d4a9a Add minimum time for double tap gesture
Bug: 24304031
Change-Id: I15629d6b05175aea9b0d02571f6245966094f162
2015-10-01 14:13:04 -07:00
Jianing Wei
6ffe9f05de am 2813b0fa: Camera2: Update video stabilization API doc.
* commit '2813b0fae99fed1096dc23c3899e223459a54cec':
  Camera2: Update video stabilization API doc.
2015-10-01 16:40:21 +00:00
Jeff Sharkey
30fd062897 Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev 2015-09-30 16:22:17 +00:00
Jeff Sharkey
e69ff2a878 Merge "Clean stale entries when deleting files." into mnc-dr-dev 2015-09-30 16:20:40 +00:00
Geoff Mendal
a6bf0ebd6e Import translations. DO NOT MERGE
Change-Id: I22e6ce4ec3dd122bef49b23a26c9bc2d76980068
Auto-generated-cl: translation import
2015-09-30 07:01:01 -07:00
Adam Lesinski
ffc6ce0005 Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev 2015-09-29 23:22:59 +00:00
Jianing Wei
2813b0fae9 Camera2: Update video stabilization API doc.
Bug: 23353979
Change-Id: I781006d1b6ebbdf522ebbf6acc35b2062aff76b6
2015-09-29 16:04:14 -07:00
Jeff Sharkey
cc2ae6b421 Relax auto-launch checks for GET_CONTENT.
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
2015-09-29 13:04:48 -07:00
Bill Rassieur
c25d546050 Merge "Fix jank: Don't write lockout deadline if not needed" into mnc-dr-dev 2015-09-28 23:02:46 +00:00
Jorim Jaggi
e3e6d56b94 Fix jank: Don't write lockout deadline if not needed
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
2015-09-28 13:57:37 -07:00
Adam Lesinski
a57a540440 Fix asymmetry in parceling/unparceling code for BatteryStats summary
Bug:24434303
Change-Id: I638979e54076004860035396738f6a1281e26c20
2015-09-28 10:59:45 -07:00
Billy Lau
86e153d5f0 am f360bbca: Merge "Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATE" into mnc-dev
* commit 'f360bbca969f60ee968240d22bc0b1f1e5e17218':
  Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATE
2015-09-28 17:24:25 +00:00
Billy Lau
f360bbca96 Merge "Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATE" into mnc-dev 2015-09-28 17:18:30 +00:00
Adam Lesinski
d5f10154c7 Bump BatteryStats version
Bug:24434303
Change-Id: I697deb30c211c77c36cdd810259507f965f3b93b
2015-09-27 21:28:43 +00:00
Baligh Uddin
edd35f922c Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-27 04:05:09 +00:00
Baligh Uddin
0307a2a68d Import translations. DO NOT MERGE
Change-Id: Ibaf19bf407113bcedc96d367a80b3a7b1999f7c5
Auto-generated-cl: translation import
2015-09-26 13:05:11 -07:00
Baligh Uddin
63d93ba58a Import translations. DO NOT MERGE
Change-Id: I349825f72d9e929562abd599816a4ae428112ea6
Auto-generated-cl: translation import
2015-09-26 12:34:51 -07:00
Adrian Roos
896b9c6261 Merge "Show charging speed when time to full is available" into mnc-dr-dev 2015-09-25 23:23:26 +00:00
Adrian Roos
7e39e59f37 Show charging speed when time to full is available
Only shows if translation is available, follow-up
I3e883eeca002e86d4df30c2b238e18bd63bbddea to show in
all locales.

Bug: 24167496
Change-Id: I667cde69e5d5f8aec8ac9fd105bbfb7e118ced64
2015-09-25 15:22:32 -07:00
Jeff Sharkey
307d424467 Clean stale entries when deleting files.
When deleting files directly from external storage devices, remove
any matching entries from MediaStore so we don't end up showing
stale entries to clients, such as MTP/PTP.

Also handles the case where an entire directory is deleted.

Bug: 24045921
Change-Id: I802470fa1aa03e0bec147ea113f1a49e26a0f3f9
2015-09-25 10:30:07 -07:00
Ian Pedowitz
31fe464d50 Merge "Give the DhcpClient alarm broadcasts foreground priority." into mnc-dr-dev 2015-09-25 17:04:14 +00:00
Jorim Jaggi
ea9675e7aa Merge "Do not issue config change command when not needed" into mnc-dr-dev 2015-09-25 06:54:42 +00:00
Pankaj Kanwar
65bfe1cac3 Merge "AudioService: cleanup sco audio mode upon disconnection." into mnc-dr-dev 2015-09-25 04:40:23 +00:00
Lorenzo Colitti
9795a1d8b9 Give the DhcpClient alarm broadcasts foreground priority.
Bug: 24265658
Bug: 24224067
Change-Id: I375097e7957643efb4bc0bb81318b13d9b9c82c1
2015-09-25 12:57:39 +09:00
Baligh Uddin
2f09d2a999 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-25 02:58:40 +00:00
Baligh Uddin
4ee34138c0 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-25 02:57:21 +00:00
Baligh Uddin
9db221c88c Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-25 02:56:40 +00:00
Baligh Uddin
9b1c6f7781 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-25 02:56:35 +00:00
Baligh Uddin
9a2979b27d Import translations. DO NOT MERGE
Change-Id: Iac1fe89a00d3f4e30b20e8f07c48a0845ce41d81
Auto-generated-cl: translation import
2015-09-24 19:36:51 -07:00
Eric Laurent
48221250ba AudioService: cleanup sco audio mode upon disconnection.
Clean up SCO forced usage and A2DP suspend state upon
SCO device or profile disconnection.
This is in case the Bluetooth Headset service does not
do it.

Bug: 24316765.
Change-Id: Ifc0305607c186be49b2eb42b7868647292e56137
2015-09-24 18:41:48 -07:00
Baligh Uddin
a37c71c2b7 Import translations. DO NOT MERGE
Change-Id: I50eeba5466bb054212dc51f8a8d1b5b76f56a31d
Auto-generated-cl: translation import
2015-09-24 18:40:38 -07:00
Jorim Jaggi
3b3cbb5325 Do not issue config change command when not needed
This caused a but where WindowManager was blocked on this to perform a
layout, leading to delays in screen wake-ups.

Bug: 24383169
Change-Id: I42bc08dae9057060f09c301328bb4839a970c597
2015-09-25 01:30:56 +00:00
Jorim Jaggi
ad26dc5f15 Merge "Deliver camera launch source for analytics" into mnc-dr-dev 2015-09-25 01:27:05 +00:00
Baligh Uddin
32b843ecc0 Import translations. DO NOT MERGE
Change-Id: I45388638f08ea212ddb1f15716a4020c3abc761c
Auto-generated-cl: translation import
2015-09-24 18:12:20 -07:00
Baligh Uddin
566c766027 Import translations. DO NOT MERGE
Change-Id: Iebbf559a27c2c55ec7f172ad7e6592e86452edff
Auto-generated-cl: translation import
2015-09-24 18:10:14 -07:00
Michael Lentine
cb13da9772 Merge "Revert "Dismiss color fade when it is no longer used."" into mnc-dr-dev 2015-09-25 00:31:24 +00:00
Michael Lentine
68eafe7f88 Revert "Dismiss color fade when it is no longer used."
Bug: 24371570
This reverts commit 193560002fbc080f0006df088f8f5e9c165bfd78.
2015-09-25 00:18:19 +00:00
Adrian Roos
f02ba4b8ff am 09945c0b: am fe7ceca1: (-s ours) am 9ceec2f0: am f6c75158: am 12c54dfa: am c9f7abe3: Merge "DO NOT MERGE Send next alarm\'s show intent via PendingIntent" into lmp-dev
* commit '09945c0bdef5acf8276d433a96de3a5589b2de86':
  DO NOT MERGE Send next alarm's show intent via PendingIntent
2015-09-24 23:40:43 +00:00
Jorim Jaggi
40aa8811bc Deliver camera launch source for analytics
Bug: 24304031
Change-Id: I606bccf4b62b651e17c6e6d9472648deeab703da
2015-09-24 16:32:09 -07:00
Adrian Roos
09945c0bde am fe7ceca1: (-s ours) am 9ceec2f0: am f6c75158: am 12c54dfa: am c9f7abe3: Merge "DO NOT MERGE Send next alarm\'s show intent via PendingIntent" into lmp-dev
* commit 'fe7ceca1acdbcde6449f57bb19b45f8c948cc1f5':
  DO NOT MERGE Send next alarm's show intent via PendingIntent
2015-09-24 23:32:01 +00:00
Adrian Roos
fe7ceca1ac am 9ceec2f0: am f6c75158: am 12c54dfa: am c9f7abe3: Merge "DO NOT MERGE Send next alarm\'s show intent via PendingIntent" into lmp-dev
* commit '9ceec2f0f007e05ed2842f222b4f652bdd69eb3f':
  DO NOT MERGE Send next alarm's show intent via PendingIntent
2015-09-24 23:25:48 +00:00