201502 Commits

Author SHA1 Message Date
Selim Cinek
235a6911b0 am 714a61cd: Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev
* commit '714a61cd586c789b18acfd0567cfea2b4ea170dd':
  Ambient display now comes up immediately when a notification comes in
2015-10-06 02:06:20 +00:00
Selim Cinek
714a61cd58 Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev 2015-10-06 01:59:50 +00:00
Adam Lesinski
c87996e538 am 8461f2fa: am 46684d2c: Merge "Add anydpi to the providing-resources docs" into mnc-dev
* commit '8461f2fa02c4c2ca2eef5bae391f1d1ff2c28593':
  Add anydpi to the providing-resources docs
2015-10-06 00:57:43 +00:00
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
Jean-Michel Trivi
38b987ab79 am 0155856a: Fix AudioService rotation helper thread
* commit '0155856a1d1cb272d83b6175953dd7151fe65daa':
  Fix AudioService rotation helper thread
2015-10-06 00:14:01 +00:00
Pirama Arumuga Nainar
a186456ff5 Safely handle interrupts during Thread.join()
Interrupt current thread if InterruptedException is received during
Thread.join().  Also, log the interruption.

Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2
(cherry picked from commit 83461d73bc50d41f631e1db5c195d12b4eb9e6cf)
2015-10-05 16:31:34 -07: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
Nick Armstrong-Crews
13a71fbcf0 Merge "Fix the logging of wake time saved by Ungaze." into cw-e-dev 2015-10-05 18:23:12 +00:00
Nick Armstrong-Crews
024872ea70 Fix the logging of wake time saved by Ungaze.
The logging of saved time was erroneously being called more than once
per wake period. Moved the logging logic to be called from
finishWakefulnessChange(), which is only called once per wake period.

Change-Id: I268ef44edce5807644fcc8fb0dcaa1a96cae6c9e
2015-10-05 18:22:54 +00:00
Geoff Mendal
3daab8e7a7 am faebbe82: (-s ours) Import translations. DO NOT MERGE
* commit 'faebbe82fa72036db75d679d366681822d2d551c':
  Import translations. DO NOT MERGE
2015-10-05 14:05:00 +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
Pirama Arumuga Nainar
677754225d Retry if interrupted before mMessageThread has joined
Bug: 24342101

If interrupted during mMessageThread.join(), retry the join instead of
assuming the thread has joined and continuing.  Continuing to destroy
the context will cause a segfault when the message thread attempts to
use the destroyed context.

Change-Id: I3213091a0e996449bceb403dffca3063786d5a65
(cherry picked from commit 2f25ce7753f7f1f6a0cc549a0df0082286bd5f85)
2015-10-02 15:30:33 -07:00
Tim Murray
3af80eff60 am 79176379: Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev
* commit '791763796e5f21e34c3ae81c1faad2a4c1a515dd':
  Send POWER_HINT_INTERACTION on rotate.
2015-10-02 20:48:04 +00: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
54afa2bdc2 am 8c66fa94: Merge "Add minimum time for double tap gesture" into mnc-dr-dev
* commit '8c66fa94361b51f39f87530f6d1f714120437cc6':
  Add minimum time for double tap gesture
2015-10-02 20:00:34 +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
5f48baef5f am 24806db8: AudioService: alternative way of handling device rotation
* commit '24806db8f6f523542510097ce0af4a32beeda83b':
  AudioService: alternative way of handling device rotation
2015-10-02 02:52:40 +00:00
Jianing Wei
3c708be364 am 6ffe9f05: am 2813b0fa: Camera2: Update video stabilization API doc.
* commit '6ffe9f05de81fab8e3cb4031a784e26c2c0acce1':
  Camera2: Update video stabilization API doc.
2015-10-02 02:11:55 +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
792a9cc3a5 am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit '30fd0628970b418dea382b388120f52504ff2243':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:11:22 +00:00
Jeff Sharkey
588430591b am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev
* commit 'e69ff2a878ee7635a467259995e2924fb96a3a72':
  Clean stale entries when deleting files.
2015-09-30 20:11:17 +00:00
Geoff Mendal
a4a7580325 am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
* commit 'a6bf0ebd6e7decda9ee02811cc5b73b96b9b9de5':
  Import translations. DO NOT MERGE
2015-09-30 20:11:13 +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
8197e2de06 am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev
* commit 'ffc6ce000568c08a50f7b538bd4cd7729e64c229':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary
2015-09-29 23:30:27 +00: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
Selim Cinek
01db67d9f7 Ambient display now comes up immediately when a notification comes in
Previously there was always a 1s delay which could even become a 5-8s
delay if the Alarm was not delivered in time.

Bug: 24355754
Change-Id: I1625c69719eee81403a1fcce1358d4d6c9fcf3e9
2015-09-29 11:59:29 -07:00
Bill Rassieur
3de2d53a75 am c25d5460: Merge "Fix jank: Don\'t write lockout deadline if not needed" into mnc-dr-dev
* commit 'c25d546050423845c42a5e8cc8e356caa1f4f71a':
  Fix jank: Don't write lockout deadline if not needed
2015-09-28 23:09:10 +00: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
cb4bafb4c9 am 86e153d5: am f360bbca: Merge "Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATE" into mnc-dev
* commit '86e153d5f0614c9f3da137fd0b815a398598928b':
  Bug: 24112165 Update docs for protection level of CHANGE_NETWORK_STATE
2015-09-28 17:31:48 +00: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
d913782f1b am d5f10154: Bump BatteryStats version
* commit 'd5f10154c772b925f6527e25aeb8461de8c710cd':
  Bump BatteryStats version
2015-09-28 07:00:52 +00:00
Adam Lesinski
d5f10154c7 Bump BatteryStats version
Bug:24434303
Change-Id: I697deb30c211c77c36cdd810259507f965f3b93b
2015-09-27 21:28:43 +00:00
Baligh Uddin
a9abcc43ae am edd35f92: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit 'edd35f922c492bb23d266c54e9c69505d3539680':
  Import translations. DO NOT MERGE
2015-09-27 20:55:44 +00:00
Baligh Uddin
4ac4ba5d12 am 0307a2a6: (-s ours) Import translations. DO NOT MERGE
* commit '0307a2a68dd4afceb480d1d0fdc792690ad88df7':
  Import translations. DO NOT MERGE
2015-09-27 20:55:40 +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
Bryce Lee
24e5efda05 Merge "Add additional broadcast for when a phone account is unregistered." into cw-e-dev 2015-09-26 02:41:50 +00:00