17044 Commits

Author SHA1 Message Date
Mitchell Wills
cf0875a9b6 Update scan and last network info in the WorkThread
This prevents a race condition where mLastInfo is updated while
processing scan results causing a crash.

Change-Id: Ic5147f3851f218c0f697e4ebb324f1cb63d02665
Fixes: 27944510
2016-04-20 10:34:24 -07:00
Akshay Thakker
d1811e07d5 Merge "Fix missing observer reply callbacks" into mnc-dr-dev 2016-02-14 22:23:54 +00:00
Amith Yamasani
dbb75248b1 Fix missing observer reply callbacks
This was causing upto 2 seconds in user switching delay.

Bug: 25813588
Change-Id: Icf23b021f134a8ccfa2dae470af02b2da7454acc
2016-02-12 18:13:00 -08:00
Dan Sandler
e79c73d626 DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
(cherry picked from commit 8d9aea8a1870ad83d9eccba1068a1685da5e96d0)
2016-02-12 20:21:23 +00:00
Geoff Mendal
73ecaf0881 Import translations. DO NOT MERGE
Change-Id: I25920d1a09b527c9e2868537f68d994a40a85e6a
Auto-generated-cl: translation import
2016-02-01 13:24:23 -08:00
Geoff Mendal
bddde9b83d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Change-Id: I0ab6836c1cf116a76b9ece6722e2f3dfe2d4bfe2
2015-11-20 01:07:33 +00:00
Winson Chung
3e9f2b7894 Merge "DO NOT MERGE Ensure that the device is provisioned before showing Recents." into mnc-dev
am: dce0f8040d

* commit 'dce0f8040dcce494166832eb6c1e8a2d9638ddd4':
  DO NOT MERGE Ensure that the device is provisioned before showing Recents.
2015-11-13 18:08:35 +00:00
Sanket Padawe
07533dbfff Don't allow contact sharing by default for device not recognized as carkit.
+ Don't allow contact sharing by default for devices not recognized
as carkit at pair time.

Bug: 23607427
Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
2015-11-11 15:01:35 -08:00
Winson
a7df77155d DO NOT MERGE Ensure that the device is provisioned before showing Recents.
Bug: 25476219

Change-Id: Ibbe621748f7275f8c1ccded84612ca16292559eb
2015-11-11 17:48:34 +00:00
Jeff Sharkey
7ecaea83d4 Block directory selection in openable modes.
When picking documents to return to apps requesting CATEGORY_OPENABLE
we can't let the user select directories.

Bug: 25455200
Change-Id: I8076883ee5b019eab4d2adb841952865f21e413e
2015-11-06 09:16:22 -08:00
Geoff Mendal
4c9cdbc7ba Import translations. DO NOT MERGE
Change-Id: I4d14bf278e491e46eeaabd4bb97641d06c48920c
Auto-generated-cl: translation import
2015-11-04 06:59:32 -08:00
Selim Cinek
b0e4f9e97e Fixed a bug where the panel could get stuck closing
When mClosing was set even though the panel was not
expanding, the variable was never reset leading to
bad states like the notification shade not updating,
people missing calls and similar bad bugs.

Bug: 25338991
Change-Id: I4362fda257770c98c5f9ba75a5622b14f74dc5ae
2015-11-02 21:51:34 +00:00
Geoff Mendal
c3cd7b1585 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25319151
Change-Id: I4170f31d992d23a365c98fe5e799a31ef48f17bd
2015-10-29 12:27:09 -07:00
Geoff Mendal
b8afc77c0a Import translations. DO NOT MERGE
Change-Id: If7c4ccf382e85f88a4fac586ca870068d8219974
Auto-generated-cl: translation import
2015-10-28 06:59:45 -07:00
Dan Sandler
aa1c08014e Petites fautes.
Bug: 25308153
Change-Id: I62ffe080e3f36eb685cdc06d8c106d32e18092ed
2015-10-27 13:42:55 -04:00
Geoff Mendal
f6fc9e2152 Import translations. DO NOT MERGE
Change-Id: I9bf90d06113d8333bed3eec1c65ed799a785fb63
Auto-generated-cl: translation import
2015-10-26 07:17:06 -07:00
Dan Sandler
446dcc9ed7 Delay hiding the cast icon for 3 seconds. DO NOT MERGE
Ensure that the user has had a chance to see it for a few
seconds after screen recording has ended.

Bug: 19121797
Change-Id: I52b69b2029439d42163ead5dc8748889b4f61934
(cherry picked from commit 8fd25bf7711aabffe73213ba1f9056f285270695)
2015-10-23 01:37:52 +00:00
Dmitry Torokhov
79f00cf06f SystemUI: fix automatic pairing of BT keyboards
After reset (docking) Pixel C Keyboard that was previously paired with
a device goes into so-called non-discoverable mode, where it will
establish connection only with device that it has connected before. When
scanning for available devices we need to wait till the keyboard starts
advertising itself as discoverable, and only then try to pair.

Also, let's flush the device cache when we attach the base to make sure
the device that we seen before and cached again in the right state after
reset.

Bug: 24915541
Change-Id: I136c1c4235080a25529b4b1c2b1da9bc18508811
2015-10-22 10:19:32 -07:00
Daniel Sandler
cb10c09f0a Merge "Delay hiding the cast icon for 3 seconds." into mnc-dr-dev 2015-10-21 23:14:50 +00:00
Dan Sandler
8fd25bf771 Delay hiding the cast icon for 3 seconds.
Ensure that the user has had a chance to see it for a few
seconds after screen recording has ended.

Bug: 19121797
Change-Id: I52b69b2029439d42163ead5dc8748889b4f61934
2015-10-21 15:42:48 -07:00
Selim Cinek
688e046bad Merge "Changing the ordering for heads up notifications" into mnc-dr-dev 2015-10-21 20:39:28 +00:00
Geoff Mendal
fde4111eea Import translations. DO NOT MERGE
Change-Id: I03353dbedeb1204ce7cd07577257aa070ce19b2f
Auto-generated-cl: translation import
2015-10-21 07:18:52 -07:00
Selim Cinek
2ae7107d0e Changing the ordering for heads up notifications
In the new ranking, notifications with fullscreen
intents always take priority over those without,
such that when you get a call and a message
in succession, you would always see the
call on top and are able to pick it up.

Bug: 22778349
Change-Id: Ia9aaf009998fc9493f513dc71f2649d38ccf7a79
2015-10-20 23:17:59 +00:00
Jeff Sharkey
1a4efb77dd Merge "Add locking when mutating RecentTasks." into mnc-dr-dev 2015-10-20 17:22:27 +00:00
Michael Wright
57a5cba606 Merge "Add SystemUI component to watch for keyboard attachment." into mnc-dr-dev 2015-10-20 15:31:01 +00:00
Jeff Sharkey
a11234794a Add locking when mutating RecentTasks.
Otherwise there is a really rare race condition where we try tearing
down the tasks while we're still setting them up.

Bug: 25078914
Change-Id: Icf89241f9abec3fadc8606cfb4fbc029bbe91515
2015-10-19 17:46:08 -07:00
Adrian Roos
9a345f31f2 Merge "Reload content description of KeyButtonView" into mnc-dr-dev 2015-10-19 23:26:47 +00:00
Geoff Mendal
5e4863205e Import translations. DO NOT MERGE
Change-Id: Ie8f3e950a4c69ad49e6f370b97398b507d488111
Auto-generated-cl: translation import
2015-10-19 07:01:55 -07:00
Chris Wren
c7f2058cef Merge "count notification peeks by window action" into mnc-dr-dev 2015-10-17 21:30:37 +00:00
Adrian Roos
3bab515b19 Reload content description of KeyButtonView
Reload the content description whenever the
configuration changes.

Bug: 24977838
Change-Id: I875f0d83976b7d007a9bb2e56b28ff8fb6365a38
2015-10-16 23:53:12 +00:00
Selim Cinek
98713a4fcf Stopping chronometers now when the shade is closed
Bug: 23978877
Change-Id: I01a9e756d7eeef7aa239ca0c67d4084624aaed12
2015-10-16 15:58:10 -07:00
Chris Wren
063926bda7 count notification peeks by window action
Bug: 20751989
Change-Id: I9b1093b98f303656a299c18b503c1d8c9f032335
2015-10-16 16:26:41 -04:00
Julia Reynolds
8e2d2bbeec Add 'until next alarm' option to QS zen panel.
Unlike the implementation in LMR1, this is a countdown condition
(a countdown until the time of what was the next alarm when the
rule was created). The rule will not change if alarms change.
Also, alarms up to 7 days in the future will be considered.

Bug: 21648799
Change-Id: Id7fa9dbdbad1539e4da19b1d0e0c4395bb13e6cb
(cherry picked from commit 0842fe87b27b9e4a7aecfec25b93dba2d39f398a)
2015-10-15 17:02:00 -04:00
Julia Reynolds
67ea77ec3f Merge "Selectively show zen footer." into mnc-dr-dev 2015-10-15 13:29:51 +00:00
Adrian Roos
8630e18a29 am 31f19c44: Merge "Send next alarm\'s show intent via PendingIntent" into mnc-dev
* commit '31f19c444f5f9d22c81fcb339e51bee465ba10f9':
  Send next alarm's show intent via PendingIntent
2015-10-15 00:35:33 +00:00
Winson Chung
c7a873e356 Merge "Ensure we update the active pointer id on pointer up/down." into mnc-dr-dev 2015-10-14 20:42:21 +00:00
Julia Reynolds
97eff878a4 Selectively show zen footer.
Only show zen footer if the active stream is affected by the current
zen mode.

Bug: 23844466
Change-Id: I08770882f12f11c3458e1e48a287139480ae7aa3
(cherry picked from commit 6aa83b4ca0859c3f59413ef092f8d843f8646f0e)
2015-10-14 20:22:56 +00:00
Geoff Mendal
7013f0c8f2 Import translations. DO NOT MERGE
Change-Id: Iefcade8293a0fa228423e3eef730910af4a76853
Auto-generated-cl: translation import
2015-10-14 06:59:48 -07:00
Jean-Michel Trivi
a2ed535c67 NotificationPlayer supports MediaPlayer errors
If an error is reported while trying to play a notification,
 behave as if the playback had completed.

Bug 21093153

Change-Id: Iedc7691d0b8f4d68ad75cb04292a5d7d9350552f
(cherry picked from commit a25f6fcfed280136a16ce5800fcaabae17291dd7)
2015-10-13 23:00:52 +00:00
Adrian Roos
f142cac734 Show charging speed in all locales
Bug: 24167496
Change-Id: I3e883eeca002e86d4df30c2b238e18bd63bbddea
2015-10-13 21:54:36 +00:00
Winson
c14a11e882 Ensure we update the active pointer id on pointer up/down.
Bug: 24841350
Change-Id: Id5d91ee8adbb638caf66976d701cfbc0befaca04
2015-10-12 23:54:59 +00:00
Michael Wright
9209c9cd9a Add SystemUI component to watch for keyboard attachment.
Add a new SystemUI component to watch for keyboard attachment /
detachment. If the config specifies the name of a keyboard that is
packaged with the device, then SystemUI will ask the user if they
would like to enable BT (if disabled) and then attempt to pair to the
device.

Bug: 22876536
Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
2015-10-12 15:21:37 +01:00
Geoff Mendal
ac3b53a734 Import translations. DO NOT MERGE
Change-Id: I24c1dbc83857fa0af6a57d0a834fcda1394fd313
Auto-generated-cl: translation import
2015-10-12 07:03:29 -07:00
Jason Monk
29433f701f Merge "Actually apply after no sims change." into mnc-dr-dev 2015-10-08 20:21:00 +00:00
Jeff Sharkey
d473a1446e Merge "Hold wake-lock during copy operations." into mnc-dr-dev 2015-10-08 16:58:54 +00:00
Jason Monk
64f4f9887a Actually apply after no sims change.
Bug: 24244260
Change-Id: I922d45e6dcc4eb85fc7d93824e7d01645a90266e
2015-10-08 10:09:21 -04: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
Geoff Mendal
faebbe82fa Import translations. DO NOT MERGE
Change-Id: I21cc5a0ce2710498f3aa76c904e653b90a14ecda
Auto-generated-cl: translation import
2015-10-05 06:58:33 -07:00
Jeff Sharkey
3c12a7c6d7 Hold wake-lock during copy operations.
If the CPU goes to sleep during the copy, certain devices will
collapse the USB OTG power domain, which can cause user data loss.

Bug: 24574575
Change-Id: I8e26caac8784490d2dee324b38e6085cd55eb8bb
2015-10-02 08:55:22 -07:00
Jeff Sharkey
e69ff2a878 Merge "Clean stale entries when deleting files." into mnc-dr-dev 2015-09-30 16:20:40 +00:00