22429 Commits

Author SHA1 Message Date
Steve McKay
dbdca5b299 Merge "Fix error formatting for copy/move/delete failures." into nyc-dev 2016-02-24 16:24:29 +00:00
Geoff Mendal
d2626cd94f Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-24 15:37:36 +00:00
Geoff Mendal
29c973df93 Import translations. DO NOT MERGE
Change-Id: I5cf7b687227eab1006fd0fe7b8bd09bb8e1740e2
Auto-generated-cl: translation import
2016-02-24 07:32:23 -08:00
Geoff Mendal
8baf238a41 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-24 15:23:14 +00:00
Geoff Mendal
d2ed77384f Import translations. DO NOT MERGE
Change-Id: I33919dcf9c769c9aeb603e6c9d022fc1aeba10ca
Auto-generated-cl: translation import
2016-02-24 07:22:14 -08:00
Jason Monk
a4fe238905 Merge "Support changes in Settings for battery graph" into nyc-dev 2016-02-24 14:21:20 +00:00
Jason Monk
84ce06132f Merge "Fix QS battery details not updating" into nyc-dev 2016-02-24 14:17:07 +00:00
Lenka Trochtova
1ddda4793c Prevent ephemeral user from being re-entered after stop.
Once the ephemeral user stops, the user's deletion is scheduled.
It takes a while before the user actually disappears and it is not
desirable for the user to be re-entered in the meantime.
Mark the user as disabled on stop and check this flag
in the activity manager to prevent the user from being switched
to again. Also hide the user from user-switching UI.

BUG: 26795729
BUG: 26780152

Change-Id: I83a61674958954b5a210114b88ffa5ae55922c1f
2016-02-24 11:55:58 +01:00
Tomasz Mikolajewski
d49095d1e4 Fix error formatting for copy/move/delete failures.
This caused major failures in the job operations, including
failing tests.

Change-Id: I697f1481df39a156f7ebfde08b31af6b23380f17
2016-02-24 19:23:54 +09:00
Tomasz Mikolajewski
2b163bd043 Remove revealLauncher and revealApp from tests.
This speeds executing all tests by 3 minutes (from 12min to 8min).

Bug: 27192623
Change-Id: I96eb9edd802f5817ab466332ac4e1bb9106621bd
2016-02-24 18:52:14 +09:00
Tomasz Mikolajewski
1bf6ed9fb8 Merge "Wire removeDocument() to Jobs." into nyc-dev 2016-02-24 08:42:16 +00:00
Selim Cinek
6831e8ea76 Merge "Adapted the lockscreen style" into nyc-dev 2016-02-24 03:59:46 +00:00
Tomasz Mikolajewski
db87543d82 Wire removeDocument() to Jobs.
Bug: 27303034
Change-Id: I6388e2b70b523670210cd8285800b4c187c8f8b8
2016-02-24 12:32:57 +09:00
Selim Cinek
f1015dbe97 Adapted the lockscreen style
It's that time of the release again.

Bug: 24866646
Change-Id: Iebfae2f2cc6b5a21b7b98df359de2247b2bc8632
2016-02-23 17:56:22 -08:00
Fyodor Kupolov
598255ae02 Merge "Disable switching users until user 0 is unlocked" into nyc-dev 2016-02-24 00:51:11 +00:00
Adrian Roos
abc1eb7f4b Set input type on RemoteInputView
Adds auto-capitalization, auto-correct and makes emoji
available on RemoteInputs.

Bug: 27200727
Change-Id: I13f3f24001ab8d3aeb9c3f52abc5a806d29086be
2016-02-23 22:31:47 +00:00
Anthony Chen
c78f0a7a9c Merge "Scale phone state icons." into nyc-dev 2016-02-23 22:11:17 +00:00
Jeff Sharkey
1ce5c28ba5 Merge "Offer to cache ringtones in system DE storage." into nyc-dev 2016-02-23 20:57:46 +00:00
Jeff Sharkey
413573ac59 Offer to cache ringtones in system DE storage.
Ringtones often live on shared media, which is now encrypted with CE
keys and not available until after the user is unlocked.  To improve
the user experience while locked, cache the default ringtone,
notification sound, and alarm sound in a DE storage area.

Bug: 26730753
Change-Id: Ie6ad7790af4c87dd25759df3ed017e3b91a2fb87
2016-02-23 13:27:00 -07:00
Fyodor Kupolov
07140f7ffd Disable switching users until user 0 is unlocked
Switching with user0 locked can be re-enabled by setting
allow_user_switching_when_system_user_locked flag to a non-zero value

Bug: 26933989
Change-Id: I0958058f1cc8a059db9c20930e07183c14c8460a
2016-02-23 11:58:54 -08:00
Aga Wronska
f4b808345d Merge "Add logic for selecting filename in RenameDocumentFragment - different selection for directory. Prevent test from creating directories in Documents folder." into nyc-dev 2016-02-23 19:04:05 +00:00
Aga Wronska
568b3b366c Add logic for selecting filename in RenameDocumentFragment - different selection for directory.
Prevent test from creating directories in Documents folder.

Change-Id: Ib656f8d69cba27b201b5fe67bcb11fa1dec04953
2016-02-23 10:57:09 -08:00
Anthony Chen
e87032cd75 Scale phone state icons.
The status bar icons can all be optionally scaled by the scale factor in
dimens. The phone stat icons had not been updated to include this
scaling logic.

Also allow the spacing between the icons in the mobile signal group to
be adjusted.

Change-Id: I12b35d462599f8a0747477fb280a974ffa77d01c
2016-02-23 18:53:17 +00:00
Wale Ogunwale
f8df4d0d43 Merge "Changed sys-ui manifest to use resizeableActivity attribute..." into nyc-dev 2016-02-23 18:37:49 +00:00
Selim Cinek
729166fb44 Merge "Fixed a bug where QS could fling up even when collapsing" into nyc-dev 2016-02-23 18:21:11 +00:00
Felipe Leme
fe9731f4f2 Merge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into nyc-dev 2016-02-23 18:14:27 +00:00
Wale Ogunwale
dc62575dd2 Changed sys-ui manifest to use resizeableActivity attribute...
Instead of resizeable attribute. resizeableActivity is what is used
for multi-window. The code currently works because it targets N :/

Change-Id: I82f1b1b46f66ea39ae682ed1d45f97bc6247b0bd
2016-02-23 10:02:58 -08:00
Aga Wronska
c7bf3f7cb8 Merge "Fix RenameDocumentFragment crash on rotation" into nyc-dev 2016-02-23 18:00:12 +00:00
Felipe Leme
4e34c4e53c Merge "Initial implementation of logging metrics for bugreport." into nyc-dev 2016-02-23 17:48:56 +00:00
Jason Monk
e6324f5eec Support changes in Settings for battery graph
Bug: 27205329
Change-Id: I5d15503099144f1c62bafed64ea4c8157e8851ee
2016-02-23 12:44:52 -05:00
Aga Wronska
7113872024 Fix RenameDocumentFragment crash on rotation
Bug: 26972374
Change-Id: I820661bc5363fe8ccc3ea39b3e27510907ddf2ef
2016-02-23 09:43:32 -08:00
Shweta Chahar
37550dd344 Merge "Add strings for TTS speech pitch seekbar." into nyc-dev 2016-02-23 17:40:57 +00:00
Felipe Leme
510e922e47 Created counter (tron_varz_dumpstate_duration) for dumpstate duration.
BUG: 26759986
Change-Id: I18534c127b35776a03e31b9d5cd190d864dff9e6
2016-02-23 09:40:13 -08:00
Felipe Leme
6605bd89c5 Initial implementation of logging metrics for bugreport.
This change logs the following user actions:

  - Interactive bug report initiated from power menu.
  - Full bug report initiated from power menu.
  - Bug report canceled using system notification.
  - Bug report details screen open using system notification.
  - Additional Bug report screen shot taken using system notification.
  - User changed bug report name using the details screen.
  - User changed bug report title using the details screen.
  - User changed bug report description using the details screen.
  - Changes made on bug report details screen were saved by user.
  - Changes made on bug report details screen were canceled by user.

BUG: 26759986
Change-Id: I1aae98b87a4dea66a1030a024dd799b97c25dd6d
2016-02-23 09:08:56 -08:00
shwetachahar
686570a618 Add strings for TTS speech pitch seekbar.
Bug: 27137452
Change-Id: Id9cb836c0e802444f0cfc611c715d7e3e2c359de
2016-02-23 16:33:53 +00:00
Vadim Tryshev
e2f0f73591 Merge "Don't show UNLOCK button when there are no users." into nyc-dev 2016-02-23 15:40:08 +00:00
Julia Reynolds
bdcc9b77c8 Merge "Scale volume panel with density changes." into nyc-dev 2016-02-23 14:51:35 +00:00
Alan Viverette
e44310cd95 Merge "Fix build" into nyc-dev 2016-02-23 14:44:25 +00:00
Gustav Sennton
c83e3fa35a Add fallback packages to be enabled iff no webview packages are valid
This patch makes it possible to declare a WebView package as a fallback
which means that the package will be enabled iff there exist no other
valid and enabled (and available-by-default) webview packages.

The enabled-state of a fallback package is updated at boot and if a
webview package is changed (it it's been up/downgraded or has had its
enabled-state changed).

This patch also adds 'webviewupdate' shell commands for enabling and
disabling this mechanism.

Bug: 26375524, 26375860
Change-Id: I151915e5d6d932697dab10aeb593687e6b9c817e
2016-02-23 14:17:14 +00:00
Alan Viverette
64eed5b1ee Fix build
Change-Id: I61a63e66831bbbcade17b3656f9ec18ced8ad628
2016-02-23 09:00:26 -05:00
Daichi Hirono
5c690557cc Delete disconnected row when the corresponding remote file is deleted in a
MTP device.

The CL has MtpDatabase remove file metadata for the case.

1. Files app opens a MTP device. MtpDocumentsProvider stores the
   metadata of files in MtpDatabase.
2. A user disconnects the MTP device. MtpDatabase marks the files
   metadata as disconnected.
3. A user operates the MTP device and deletes a file in the MTP device.
4. A user connects the MTP device to Android again, and opens the MTP
   device again in Files app.
5. MtpDocumentsProvider updates the metadata of files, it should delete
   metadata of a file that was deleted at step 3.

BUG=27280143

Change-Id: I79b8df2457cd5b36d1706a9c6e3827c8e7d16208
2016-02-23 16:45:42 +09:00
Tomasz Mikolajewski
0d47cd2912 Merge "Cleanup error handling in jobs." into nyc-dev 2016-02-23 06:00:11 +00:00
Daichi Hirono
4e94b8deaa Resolve unmapped document when the device is connected.
Once MTP device is disconnected from Android, the files on MTP device
are marked as 'DISCONNECTED' in metadata database. These metadata will
be back when MtpDocumentsProvider finds the reconnected MTP device and
fetches the files again.

Previously the 'DISCONNECTED' files are not automatically
refetched. User needs to see files in Documents UI again to reuse
document ID of 'DISCONNECTED' files. The CL changes DocumentLoader so
that it automatically refetches disconnected documents.

BUG=26212981

Change-Id: I5cb2cc9c11af72632e481c59a505794f43ed62ea
2016-02-23 14:39:08 +09:00
Steve McKay
6738b2930c Merge "Don't enable move to for non deletable selections." into nyc-dev 2016-02-23 05:12:39 +00:00
Steve McKay
27d20a3024 Don't enable move to for non deletable selections.
Bug: 27135562
Change-Id: Id09b4c9d4f9836a4e5b2f66b8cbad63be9bb62b3
2016-02-22 21:08:37 -08:00
Selim Cinek
84e6de7778 Fixed a bug where QS could fling up even when collapsing
We previously changed the touch logic to always fling even when
the panel is fully expanded, but that lad to an issue when it didn't
even start to expand.

Bug: 26255211
Change-Id: I8c991a0a19b49eb405b8efc2d69baf29c709b363
2016-02-22 20:57:43 -08:00
Tomasz Mikolajewski
0fa97e85e4 Cleanup error handling in jobs.
Change-Id: Icf6a7aad1b84dc92285064810776239e93494e38
2016-02-23 10:36:19 +09:00
Selim Cinek
3322357b50 Added fake shadows in order to have the shadow nicely fade in
Bug: 26743157
Change-Id: I21c51aa3175276f7edeed4b6df6b8730909b6051
2016-02-22 16:54:04 -08:00
Selim Cinek
2854019979 Fixed the usage of the menu key to unlock
The menu key was not unlocking the keyguard properly
and didn't hide the notifications.

Bug: 26539875
Change-Id: I9dd89767f00d29c15d1d4e840a1ab22d59e58c8d
2016-02-22 15:57:02 -08:00
Selim Cinek
ce2bd0fac7 Fixed a bug where the numpad wasn't working correctly
Also accepting the enter key now from the numpad as a
confirm key.

Bug: 27108451
Change-Id: I63dbd4b6cad3d2dce74e297dcb7abad9c5e66cbe
2016-02-22 15:57:02 -08:00