16181 Commits

Author SHA1 Message Date
Geoff Mendal
977fdc8e1c Import translations. DO NOT MERGE
Change-Id: If7f177f95be4ab365cf62a8dc080373a7ae0e27b
Auto-generated-cl: translation import
2015-06-17 08:58:03 -05:00
Jeff Sharkey
3d00f7a1be Merge "Finish when browsed root goes away." into mnc-dev 2015-06-17 03:55:36 +00:00
Jeff Sharkey
8bb1245a48 Finish when browsed root goes away.
If we're browsing a specific root, and that root went away, typically
due to formatting.

Bug: 21831184
Change-Id: Ie07607a81e32a7d82c88ad382658a471d47b905d
2015-06-16 20:54:14 -07:00
Junda Liu
a11ffa6436 Merge "Remove hide_carrier_network_settings from Settings." into mnc-dev 2015-06-16 23:11:32 +00:00
Jeff Sharkey
df27d3bf30 Dismiss migration notification when wizard done.
Bug: 21830731
Change-Id: Ief1428cd1ee0885fbc026885e1907f7272810d0f
2015-06-16 14:35:50 -07:00
Felipe Leme
00f4a6ecbc Improved zipping logic so it zips chunks, instead of the whole file at once, to avoid OOM.
BUG: 20447313
Change-Id: I66f90cdd2a07288f9e37a38185f1583c57cf65c8
2015-06-16 10:32:45 -07:00
Felipe Leme
a106554c20 Merge "Changed BugReportReceiver to send zipped bugreports." into mnc-dev 2015-06-16 16:59:49 +00:00
Felipe Leme
55beae09e5 Changed BugReportReceiver to send zipped bugreports.
When BugReporterReceiver receives a android.permission.DUMP, it will handle the bugreport file (extra android.intent.extra.BUGREPORT) depending on its format:

 - If it's a plain-text file (extension .txt), it will create a zip file with the plain-text report renamed as bugreport.txt.
 - If there is an error creating the zip file, the plain-text bugreport will be sent instead.
 - If it's not a plain-text file, it fill send the file as is (so if 'dumpstate' is later changed to generate a zipped file directly, nothing has to be done here).

Note that only the bugreport itself is included in the zip file, the screenshot is still sent separately (extra android.intent.extra.SCREENSHOT), so the receiver of the bugreport intent can display a screenshot thumbnail without unzipping the other file (which is useful when sending the bugreport through GMail, for example).

BUG: 20447313
BUG: 21868658
Change-Id: I3fa1e0c89190bfe6fa5c418f0f01ce1fb376f537
2015-06-16 09:05:22 -07:00
Jeff Sharkey
a65a1582f5 Merge "Update file size formatting." into mnc-dev 2015-06-16 04:47:21 +00:00
Jeff Sharkey
b521feaed4 Update file size formatting.
Per UX, default strings should have space between value and units
resulting in "12.3 GB".  Add a formatting variant that returns the
various components for callers who want to build their own strings.

For now there is only one mounted emulated volume at a time, and
it's always the primary storage, so give it the default rootId to
keep old Uris working.

Change-Id: Ifcc72a91a6b397ee65dc92642153286186eb64ac
2015-06-15 21:39:28 -07:00
Selim Cinek
892850396c Merge "Fixed a bug where the statusbar was still visible while dozing" into mnc-dev 2015-06-16 04:16:03 +00:00
Selim Cinek
8f2d767f4e Fixed a bug where the statusbar was still visible while dozing
Bug: 18903923
Change-Id: I9c0c85e40ff7e7be2e9c4122fe5786de3649426c
2015-06-15 20:55:04 -07:00
Adrian Roos
2bfe965138 Merge "Fix unnecessairy announcements when collapsing shade" into mnc-dev 2015-06-16 01:18:01 +00:00
Adrian Roos
54d031bf03 Fix unnecessairy announcements when collapsing shade
Bug: 20171694
Change-Id: Iec73098e2f778dac4a920a717385139952017330
2015-06-15 18:17:16 -07:00
Adrian Roos
d719215fed Merge "Fix accessibility ghosts in quick settings detail" into mnc-dev 2015-06-16 00:35:12 +00:00
Adrian Roos
d366cb130d Fix accessibility ghosts in quick settings detail
Fixes a bug where the tile that was just clicked on
to go to the detail view would become visible and cause
confusion to accessibility services.

Bug: 20209718
Change-Id: I1678a4fc35e8d739b7c657e868b02a25eddcba1d
2015-06-15 17:28:37 -07:00
Adrian Roos
6ecdcf2aa0 Merge "Add AssistUtils" into mnc-dev 2015-06-15 23:49:22 +00:00
Adrian Roos
e91750804a Add AssistUtils
Enables code sharing with Settings for consistent
default value handling.

Bug: 21780590
Change-Id: I669b673f90fab503ae0c2179f09ebac9592bd33a
2015-06-15 16:07:48 -07:00
Adrian Roos
9f33d6cb2e Fix stuck orientation in SetupWizard
Bug: 21755092
Change-Id: I3144a81523ce2ef4bf6dc457c0ea4b9723dae489
2015-06-15 23:02:41 +00:00
Junda Liu
297da6ffb9 Remove hide_carrier_network_settings from Settings.
No longer needs this as carrier config manager handles it now.

Bug: b/21347654
Change-Id: I26d34cde0d31ae53a6e5a25cd555ed2ff7600f38
2015-06-15 15:29:08 -07:00
John Spurlock
23a6262fe9 Merge "QS: Add disable animations for the DND tile." into mnc-dev 2015-06-15 21:03:55 +00:00
John Spurlock
036e7cbbfa QS: Add disable animations for the DND tile.
Elide the disabled -> enabled anim, since we launch
the detail panel instead.

Bug: 21118976
Change-Id: I392f848641190f114b7838515acb13f22c96e37d
2015-06-15 16:33:44 -04:00
John Spurlock
ab051ef805 Merge "QS icon sizes should be 24dp." into mnc-dev 2015-06-15 20:14:49 +00:00
John Spurlock
c97010c088 QS icon sizes should be 24dp.
Not 28dp.

Bug: 21118976
Change-Id: I9cc326d1333d85b783b85e3238a2a506bf3b55c0
2015-06-15 15:45:38 -04:00
Jason Monk
02b0a574db Merge "Only re-register callbacks if tuning changed" into mnc-dev 2015-06-15 19:24:11 +00:00
Jason Monk
f3d1715cc9 Only re-register callbacks if tuning changed
We only need to get the state if the tuning has actually changed.
Currently we hit this every time we open QS which breaks the alpha
animation on the mobile icon.

Bug: 21791609
Change-Id: I3d77a2d0f81d2d7bed600ccd7a2d2c2b4a262db7
2015-06-15 15:20:24 -04:00
Jason Monk
efd79414bb Merge "Fix EmergencyCallback in NetworkController" into mnc-dev 2015-06-15 19:16:37 +00:00
Joseph Wen
6138a43ca9 Merge "Retry intent verification 3 times before failing." into mnc-dev 2015-06-15 17:50:16 +00:00
Jason Monk
4b8704c9e1 Merge "Don't try to get entries for uninstalled apps." into mnc-dev 2015-06-15 15:41:38 +00:00
Jason Monk
c1f24abd10 Don't try to get entries for uninstalled apps.
Bug: 21837824
Change-Id: I6f7bbc309e9edf1db12476f55ab8be424739fae0
2015-06-15 11:38:03 -04:00
Joseph Wen
5fcbb9d0c1 Retry intent verification 3 times before failing.
BUG=21596311

Change-Id: Ia98925a4310046ef4d8117afe0b278e6a414dac6
2015-06-15 10:36:03 -04:00
Jason Monk
7d79bea4a9 Merge "Fix invisible rotation tile" into mnc-dev 2015-06-15 14:26:38 +00:00
Jason Monk
1634d182e1 Fix invisible rotation tile
Make sure we set the state at least once.

Bug: 21837219
Change-Id: Iabd0524f0c09fd3f7b895007204ddf49af19ea98
2015-06-15 10:19:26 -04:00
Jason Monk
5d8c276bb9 Merge "Make references to ssid use a verbatim TtsSpan" into mnc-dev 2015-06-15 14:14:52 +00:00
Jason Monk
6980d12c58 Make references to ssid use a verbatim TtsSpan
Bug: 20059794
Change-Id: Id92ef11e78547e168f55515dea2fc28519871d6f
2015-06-15 10:07:55 -04:00
Geoff Mendal
991f0f6549 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-15 13:53:11 +00:00
Geoff Mendal
1649b7895b Import translations. DO NOT MERGE
Change-Id: I2b7fd1100aca78ce28f084bcf94637ba1975b21e
Auto-generated-cl: translation import
2015-06-15 08:51:34 -05:00
Geoff Mendal
8cacde1383 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-15 13:45:48 +00:00
Geoff Mendal
007c215917 Import translations. DO NOT MERGE
Change-Id: Id021d13867abfcb10e4fb1a9754ae21052f66ffb
Auto-generated-cl: translation import
2015-06-15 08:43:30 -05:00
Geoff Mendal
ee4a297766 Import translations. DO NOT MERGE
Change-Id: I7bb1d35595971e4d2ff83ba40c01524ed243d26d
Auto-generated-cl: translation import
2015-06-15 08:39:05 -05:00
Jeff Sharkey
52fc3c0f73 Start using new storage strings.
We have language for "unsupported" devices, and we're letting the
user snooze missing private volumes.

Bug: 21666225
Change-Id: I0bc17e6b854946036f02df5b4953b4344fa85a1f
2015-06-14 20:58:57 -07:00
Jorim Jaggi
a899042237 Merge "Fix dark mode for custom views" into mnc-dev 2015-06-13 00:27:07 +00:00
Andrew Flynn
0f27a3f0d7 SysUI: Status bar ImageViews
- Switch AlphaOptimizedImageView to have the boolean hasOverLappingRendering()
  return be a custom value. This allows us to have AnimatedImageView extend
  AlphaOptimizedImageView and support both types of ImageViews w/o having to
  create 2x subclasses.
- Add drawable ID tracking to AnimatedImageView so that we don't interrupt
  animations with an update of the exact same drawable.
- Switch mobile signal icon to use AnimatedImageView so that animations aren't
  interrupted.

Bug: 21504588
Change-Id: Ic2275f1bf607449c191ae0d08bc7756c7d694bc1
2015-06-12 09:56:56 -04:00
Adrian Roos
1b5eb97ae6 Accessibility improvements
- label the "no sims" icon
- label the "managed profile" icon

Bug: 21165217
Change-Id: I3e809d1a857eea12b613f09ae5265e785d372ec3
2015-06-12 01:37:47 +00:00
Adrian Roos
eb91ca56db DO NOT MERGE Remove RemoteInput from SystemUI
Bug: 21570986
Change-Id: I80987b3ac333a97426648c3b363420d502a19866
2015-06-12 01:29:13 +00:00
Jorim Jaggi
021eee53e5 Fix dark mode for custom views
Bug: 20847909
Change-Id: I9f5c6cf2d0fa4e632ce654660050a48c76bc671b
2015-06-11 17:07:18 -07:00
Fyodor Kupolov
421eaa7813 Merge "Fixed NPE when dumpSettings is called with a null cursor" into mnc-dev 2015-06-11 22:29:21 +00:00
Fyodor Kupolov
1f450dbfbc Fixed NPE when dumpSettings is called with a null cursor
Bug: 20070414
Change-Id: I15d5d2ae27a7892807221421778082e0f29a36ff
2015-06-11 15:25:59 -07:00
Adrian Roos
b44f5486ef Fix accessibility bounds
Follow up to Ifcc5bd7258c00ebd3a64ca4a4edd894e3baf0ccc
Bug: 21763049

Change-Id: I3026b22848ef1552e2faa82d9e0f4409d2cba63a
2015-06-11 21:48:32 +00:00
Jason Monk
54380c741b Merge "Fix CarrierText airplane mode with no sims" into mnc-dev 2015-06-11 20:47:49 +00:00