Commit Graph

25709 Commits

Author SHA1 Message Date
Jeff Sharkey
50cc6c111c Public volumes belong to a single user.
am: 6566fbe99b

Change-Id: If636376b98c449aee3794259317e39a3f0f7f163
2016-11-07 23:43:14 +00:00
Jeff Sharkey
6566fbe99b Public volumes belong to a single user.
When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614
2016-10-31 20:35:34 +00:00
Jason Monk
9042736ff1 Fix launching alarm pending intent
am: d0408f0028

Change-Id: I01f3963617638bf8c1cb8efccf027dd8a9084517
2016-10-14 18:46:44 +00:00
Jason Monk
d0408f0028 Fix launching alarm pending intent
Launch it as a pending intent.

Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350
Fixes: 23909438
2016-10-14 15:34:26 +00:00
Bill Yi
780931dd46 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31424274
Change-Id: Ibd2890c12c630e9bfc41fe222fa626ab87b77500
2016-09-30 09:57:53 -07:00
Fan Zhang
05df69d52a Fix NPE for WifiConfiguration in AccessPoint.
am: 51365c3b4c

Change-Id: I7d653816e70f38f0cce3a6bc8f0eaade8593866a
2016-09-21 15:38:08 +00:00
Fan Zhang
51365c3b4c Fix NPE for WifiConfiguration in AccessPoint.
In getSummary methods, make a local reference to WifiConfig before
accessing the fields to prevent member variable mConfig being reset in a
different thread.

Bug: 31617798
Test: manually open/close/refresh wifi settings and see no crash.

Change-Id: I254cb3cb59dead425a9ada17d9e84a7e2974f738
2016-09-20 19:31:27 +00:00
TreeHugger Robot
6ade653254 Merge "Import translations. DO NOT MERGE" into nyc-dr1-dev 2016-09-17 19:46:10 +00:00
TreeHugger Robot
e6e616d3cd Merge "Import translations. DO NOT MERGE" into nyc-dr1-dev 2016-09-17 19:44:02 +00:00
TreeHugger Robot
aef6baae73 Merge "Import translations. DO NOT MERGE" into nyc-dr1-dev 2016-09-17 19:42:49 +00:00
TreeHugger Robot
3c59ef832a Merge "Import translations. DO NOT MERGE" into nyc-dr1-dev 2016-09-17 19:41:36 +00:00
TreeHugger Robot
f17adb2180 Merge "Import translations. DO NOT MERGE" into nyc-dr1-dev 2016-09-17 19:36:42 +00:00
TreeHugger Robot
346e1932fe Merge "Import translations. DO NOT MERGE" into nyc-dr1-dev 2016-09-17 19:32:30 +00:00
Bill Yi
f2f8d9809e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: Ia804bc985bd883de3e9aea170d2c9bbff3f53ee4
2016-09-17 00:04:32 -07:00
Bill Yi
870fa8fec7 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: I830397cb29a3bd15cec9f3687de09bb108ea6872
2016-09-17 00:01:37 -07:00
Bill Yi
5bca1a50c1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: I15ae676cc9d67de16e382ad7ee4b0bafc2079f42
2016-09-16 23:35:29 -07:00
Bill Yi
e7217c397c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: Ibc5febf6eb22c630b2eb9458411a60bd8d4af0f0
2016-09-16 23:16:20 -07:00
Bill Yi
e187fc23a9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: I83dbc65f2c555af4ef91fa5a30ec4334254fadbb
2016-09-16 23:08:30 -07:00
Bill Yi
ef41272507 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: I13357cc99cba5d5c6208fd28ebc4f58b3027e5f5
2016-09-16 23:05:41 -07:00
Bill Yi
98c2fc559b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: I8e9bd0e34a8cdf9263456a370c0b260cab094b27
2016-09-16 17:12:28 -07:00
Jason Monk
d67fbe6201 Change bang to x for indication of no internet
Bug: 31271895
Change-Id: I14f71974f0549991d448fe68b30573d2ae033b19
2016-09-14 15:18:29 +00:00
Jason Monk
34f6cbc288 Fix QS CTS failure caused by tile backup
The CTS tests weren't receiving the onTileAdded callbacks since the
shade was not in the listening state when tiles were added. This is
not possible for users (since tiles are added while the UI is
listening), but add a flushMessagesAndUnbind call to make sure the
tiles always receive onTileAdded.

Since now flushMessagesAndUnbind can be called before a real call
to setBindService(true), add a clause that will clear out its
immediate unbind state.

Change-Id: Idd13c432a4af5741813da9a9b1b292a47fd9443b
Fixes: 31147742
2016-08-30 20:37:04 +00:00
Jason Monk
37bd2be160 Backup system QS tiles DO NOT MERGE
Add QS tiles to the backup list.  Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938
2016-08-30 15:48:15 -04:00
Jason Monk
2b4e612b10 Merge "Fix double status bar icons" into nyc-dev 2016-08-29 18:00:02 +00:00
TreeHugger Robot
4226dcef1e Merge "Fixed a bug where notifications could reappear" into nyc-dev 2016-08-29 17:58:31 +00:00
Jason Monk
12124d7eca Fix double status bar icons
Don't allow the status bar icon slot list to be changed because
it confuses the relationship between StatusBarIconList and
StatusBarIconController.  Set it in the constructor to enforce
this.

Change-Id: Ieeea0a9efad88179d1cccc0e5702899333de2e72
Fixes: 28524184
(cherry picked from commit c6fe61c59c)
2016-08-29 13:26:18 +00:00
Selim Cinek
f3b64692a3 Fixed a bug where notifications could reappear
With sensitive notifications a user could get into
a situation where the groupsummary would not be cleared
because its dismissability was never updated and based
on the visibility of the veto button. This is now corrected.

This Cl also cleans up the veto button handling overall and
ensures that there's no stale state arond it.

Change-Id: Ic7df8d382146d7863ee551c1daa8ba5ed384c7b5
Fixes: 30056258
(cherry picked from commit 9e624e732a)
2016-08-27 00:38:03 +00:00
Selim Cinek
a4155bb7c0 Fixed a bug where the headsup would be stuck disappearing
Change-Id: I56d6be69f6e59c1bec647e7e70e50a36b793f895
Fixes: 30120962
2016-08-27 00:33:49 +00:00
Jason Monk
f498d0d384 Merge "Backup system QS tiles" into nyc-dr1-dev 2016-08-26 13:18:54 +00:00
Jason Monk
baade7573f Backup system QS tiles
Add QS tiles to the backup list.  Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938
2016-08-26 13:15:49 +00:00
Chris Tate
9141666630 Merge "Properly configure live wallpaper selection following restore" into nyc-dr1-dev 2016-08-25 20:58:09 +00:00
Selim Cinek
28cb706ee9 Merge "DirectReply: Fix bugs when replying from HUNs" into nyc-dr1-dev 2016-08-25 17:10:45 +00:00
Matthew Fritze
e1398ea4d9 Adding flags to allow package names to be sent to support.
Bug: 30924073
Change-Id: I9ec0a90a178adb72da3d4a426e75a79315832bf6
Tests: Manual.
2016-08-25 02:57:01 +00:00
Christopher Tate
2471a3724f Properly configure live wallpaper selection following restore
Bug 31023198

Change-Id: I79d766f201684e109b6322cc36f9e7bcc1b21483
2016-08-24 16:23:20 -07:00
Adrian Roos
190e532c86 DirectReply: Fix bugs when replying from HUNs
Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772
2016-08-24 20:41:19 +00:00
Salvador Martinez
2cb851e5c9 Added error handling to settings suggestions list
am: 18bf581c77

Change-Id: Id946b2b75b9adc4c70fa4537da4ac509a6ab5c66
2016-08-24 18:27:56 +00:00
Salvador Martinez
18bf581c77 Added error handling to settings suggestions list
The suggestions list in the summary page of the
settings app could sometimes cause a crash due to
an uncaught exception. Tis fixed now.

Bug: 30656840
Change-Id: If79f53e6a8c17a81653228d613797e94c473d410
(cherry picked from commit 60d92b3b83)
2016-08-24 16:43:22 +00:00
Adrian Roos
97de2b2666 Ambient: Pulse for every noisy notification exactly once
Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875
2016-08-23 15:49:04 +00:00
Adrian Roos
4dc14b231e HIC: Improve AccelerationClassifier
Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184
(cherry picked from commit 6b312a09fc)
2016-08-22 13:41:39 +00:00
Bill Yi
9d652db6a4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I319b881d2a02816d932688c70c61f4ad2b315ef8
2016-08-17 15:33:39 -07:00
TreeHugger Robot
edddb17a67 Merge "Fix a flicker when returning to the lockscreen" into nyc-mr1-dev 2016-08-17 18:11:49 +00:00
Jorim Jaggi
d11d1a9486 Fix a flicker when returning to the lockscreen
If we return to the lockscreen from a FLAG_SHOW_WHEN_LOCKED activity,
there was an additional black flicker as the wallpaper wasn't shown
for a couple of frames. The issue is that we didn't set the wallpaper
flag again, to fix another flicker with lockscreen wallpapers. Now,
we pass the state whether we currently have a lockscreen wallpaper
and if we don't have one, we immediately set the wallpaper flag
again.

Bug: 30829255
Bug: 30883413
Change-Id: I9faeaa77b98eb02058171ce19cf90b43826ebe9e
2016-08-17 18:10:54 +00:00
TreeHugger Robot
f1e87a2003 Merge "Allow configurable data warning for BillingCyclerPreference" into nyc-mr1-dev 2016-08-16 23:51:04 +00:00
Selim Cinek
a9d3efd194 Fixed the animation of the no notifications view
The view was also animating when the shade wasn't expanded.

Change-Id: If235db60230525dda17c5df0681beec2ab01a79e
Fixes: 30880548
2016-08-16 21:46:47 +00:00
Fan Zhang
70196d84a6 Allow configurable data warning for BillingCyclerPreference
Bug: 30898071
Change-Id: Ifb822828c5e7152e4ca217593f7746bfbb29ab2a
2016-08-16 14:16:12 -07:00
TreeHugger Robot
e68228fbd9 Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev 2016-08-16 18:36:25 +00:00
Adrian Roos
27c3c34fe1 Merge "NavBar: Use rotation watcher" into nyc-mr1-dev 2016-08-16 18:32:29 +00:00
Sriram Viswanathan
91ef993e2d Merge "Replace android auto assets with the latest" into nyc-mr1-dev 2016-08-16 18:20:11 +00:00
Selim Cinek
80c44dd800 Fixed a bug where the summary could become visible even if it was suppressed
Because the updating of the suppression was prohibited, some groups could loose
their suppression state when they were heads upped. This would lead to duplicate
notifications. We're now still allowing the state to be properly modified instead
but don't notify listeners anymore since that was only an internal update.

Change-Id: I6ae96ea8cfab00ef6bdb1ef047f8b77ea88e8206
Fixes: 30608517
2016-08-16 17:19:14 +00:00
TreeHugger Robot
60ab8d072a Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-16 15:32:05 +00:00