23896 Commits

Author SHA1 Message Date
TreeHugger Robot
40297c1a9c Merge "Added extra validation for invalid paths." into nyc-dev 2016-04-19 02:09:35 +00:00
Winson
b677bcbee4 Hiding clear-all button on drag start.
Bug: 27702186
Change-Id: Ibec23fdb1ce4853f52a449cbe6d8c6454f0b027c
2016-04-18 18:20:49 -07:00
Winson
99ef458ff1 Adding hint text for drop targets.
Bug: 28192178
Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7
2016-04-18 18:20:43 -07:00
Winson
3664426dcf Fixing animation spec animation problem.
- We were always using the stack layout to get the task transforms, but
  when we are animating to a given task position (ie. hitting recents 
  while the home->recents transition is happening), we would start the
  animation with the final task rect, instead of the current task rect.
  Instead, use the current transform of the task view, and transform
  that to screen coordinates and use it.

Bug: 27154882
Change-Id: I25af8fad97ee78669c952dd81708e6cee5dfab05
2016-04-18 18:20:38 -07:00
Winson
bde852dbf5 Making the dismiss animation feel smoother.
Bug: 27154882
Change-Id: Idbabfe396bc75b598861fd12b78c846f08243a90
2016-04-18 18:20:32 -07:00
Winson
19ecc8ce2d Fixing issue with gap between task views.
- Now that we changed the way the landscape tasks clipped, we no longer
  have to worry about the aspect ratio scaled height.

Bug: 27921659
Change-Id: I86b10805e92decb9995caa3790649f9f7d211784
2016-04-18 18:20:27 -07:00
Winson
d2a0306131 Adding desired undocking animation.
- Separating task binding from task data updating
- Removing unused parameters

Bug: 27154882
Change-Id: Ia970597d57857a74b5d008e91a93703d8fb70c1e
2016-04-18 18:19:06 -07:00
Steve McKay
757fa1b684 Handle null uris in content changed events.
Bug: 28244958
Change-Id: Id3a7adb0ab4a751cfcf6ed3fee4cc6337ce512bb
2016-04-18 17:36:17 -07:00
Selim Cinek
3e7592d0cb Fixed a few issues when adapting the dpi
The statusbar is now behaving nicer and other
parts are behaving similar as if they had been inflated
that way. The signalclusterview is now properly recreated
ensuring that it's scaled correclty.

Fixes: 	26844819
Change-Id: Id1aab629204d03c079815358e7a5eb12d2a4e557
2016-04-18 15:10:37 -07:00
Selim Cinek
e803491cb0 Fixed a few issues with status bar density changes
Reinflated the brightnessmirror to have the propper layouting.
Also fixed the height of the heads up scrim.

Bug: 26844819
Change-Id: Idb24dbd40f071a2a722c59cc202ae46c5ace2da8
2016-04-18 15:10:36 -07:00
Selim Cinek
8532558431 Fixed a crash when changing density with HUN visible
The Quick settings page indicator was trying to access views that
don't exist yet.

Fixes: 27927374
Change-Id: I1600ce8432b6550268da20443d32193b1d2debe4
2016-04-18 15:10:20 -07:00
Felipe Leme
8478bf468e Added extra validation for invalid paths.
In normal circumstances, StorageVolume can only be obtained through
StorageManager and hence it will contain a valid path internally. But
the path could be invalid in at least 2 occations:

- App maliciously changed it using reflection.
- Mounted volume was ejected.

This change improves OpenExternalDirectoryActivity so it returns a
RESULT_CANCELED upon receiveving an invalid path.

BUG: 27962875

Change-Id: Ide43968babaa37961c7b704bd289f44eac952e94
2016-04-18 14:55:15 -07:00
Adrian Roos
ca664b93b9 Disable anti-falsing logic with touch exploration
Change-Id: Ide1992f11ace9c2604f68fe3c9277c3e20ecb71a
Fixes: 28140321
2016-04-18 14:40:32 -07:00
TreeHugger Robot
3f8f7f4c89 Merge "Remove initial screenshot on interactive bugreport." into nyc-dev 2016-04-18 20:32:47 +00:00
Steve McKay
64bf86503b Only show OPEN button as needed.
Bug: 28182686
Change-Id: I61152015ae5e7b92eead7f42a546ca6055dd426a
2016-04-18 12:22:28 -07:00
Felipe Leme
079f89614c Remove initial screenshot on interactive bugreport.
One of the changes in the 'interactive bugreport' bugreport workflow
introduced on N is that the initial screenshot was taken right away (by
Shell, not dumpstate).

Unfortunately, such initial screenshot is often delayed when the system
is overload. Also, if the user is not interested in a screenshot, it
would be adding more load on the system unnecessarily.

Given these issues, and the fact that the user can still easily take an
initial screenhsot by selecting the proper notification action, the
initial screenshot is being removed.

BUG: 28167977

Change-Id: I2cf6616ce3124102b62ec9a36dc5a0ce6455a909
2016-04-18 12:06:58 -07:00
Selim Cinek
db9f8d1d60 Merge "Fixed a bug with the overflow number" into nyc-dev 2016-04-18 17:45:57 +00:00
Sid Soundararajan
be8f788f86 Merge "Add Rounded corners to cards." into nyc-dev 2016-04-18 17:30:25 +00:00
Shweta Chahar
739da49dbb Merge "Add strings for reset speech pitch button in Text-to-Speech output settings UI." into nyc-dev 2016-04-18 15:14:04 +00:00
shwetachahar
0f11e37810 Add strings for reset speech pitch button in Text-to-Speech output
settings UI.

Bug: 27949093
Change-Id: I816a9e33c2cc8efc59fedf1201824d92b6175d60
2016-04-18 16:10:02 +01:00
Eric Tang
50adb2e020 update string "Work profile" to "All work apps"
The following screens will be affected:
- Settings app > data usage
- Settings app > Developer options > Running services

Bug: 28064677
Change-Id: I3aec5ddd8c8daaab4172fcc614fb6e4787fc51bc
2016-04-18 16:03:49 +01:00
Andrei Stingaceanu
f04cce25d1 Keyboard shortcuts: UI polish 2
1. Changed list title from body1 (14sp, regular) to
body2 (14sp, bold).

2. Reduced spacing between list title and first list item
by 3dp

3. Reduced height from divider line to list by 20dp (I had
this in redlines as 20dp, but I think that added an
additional 20dp to the component so it ended up being
40dp in implementation)

4. Reduced padding between app icon and app name from 32dp
to 24dp (this is a change from original redlines so that
the text aligns 72dp from the edge of the dialog which is
a standard Material keyline)

Bug: 28169928
Change-Id: I01b92486353fa990158819a2d18b16cd910d7ded
2016-04-18 14:42:44 +01:00
Adam Lesinski
0b1a203830 Merge "SettingsLib: Build with AAPT2" into nyc-dev 2016-04-16 07:01:08 +00:00
Adrian Roos
7e9dec2841 Reload LockscreenWallpaper and ImageWallpaper on background thread
Fixes: 27148260
Change-Id: I426712024ec1a82fccd48154c65da31d3e610525
2016-04-15 17:00:20 -07:00
TreeHugger Robot
793f859123 Merge "Fallback to Recents when Downloads is not available." into nyc-dev 2016-04-15 23:30:41 +00:00
TreeHugger Robot
cd681aab33 Merge "Handle delete failure notifications correctly." into nyc-dev 2016-04-15 23:12:01 +00:00
Baligh Uddin
f94fcc3e5d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:32:51 +00:00
Baligh Uddin
14b1dfbf36 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:23:44 +00:00
Baligh Uddin
096b4bd229 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:23:39 +00:00
Baligh Uddin
fc1291f4be Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:23:27 +00:00
Baligh Uddin
d2bc6ad6c0 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:22:27 +00:00
Baligh Uddin
c6b8f90f99 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:22:22 +00:00
Winson
b556811b86 Hide nav bar buttons in screen pinning dialog when appropriate.
- Also fix wrong hint text to disable screen pinning

Bug: 26314479
Change-Id: I7fc79c92511eba5e6d23dc307bb75c1710ff9e41
2016-04-15 22:18:35 +00:00
Jorim Jaggi
322870ff5c Merge "Slow down entrance animation on tablets a bit" into nyc-dev 2016-04-15 21:54:03 +00:00
Jorim Jaggi
e370e15056 Slow down entrance animation on tablets a bit
Also fix an issue where resize was not called.

And make the translation a bit larger, because the
animation is longer.

Bug: 27870534
Change-Id: Ia6128db8108fe57bee96816fc95fd0811d941ffb
2016-04-15 14:34:55 -07:00
Felipe Leme
09282c5dc5 Merge "Fix first-time usage." into nyc-dev 2016-04-15 21:23:17 +00:00
TreeHugger Robot
b3e26a9b41 Merge "Fix wrong transition when dock minimized and docked app launched" into nyc-dev 2016-04-15 20:46:40 +00:00
Sid Soundararajan
e44ff8fd9f Merge "Add a dimmed dismiss icon below task card view" into nyc-dev 2016-04-15 20:19:51 +00:00
Jorim Jaggi
681fc7b267 Fix wrong transition when dock minimized and docked app launched
When having an app docked and then going home, and then launching
the app from the homescreen, we had a wrong transition because
getTopMost task was already set to the launched app, because
getRunningTasks doesn't exclude the docked stack. Instead of adding
flags for getRunningTasks, which sounds risky, we just pass a "force"
value when we launch recents in this state.

Bug: 27154882
Change-Id: Iee4512fed13115dbbe8b74413ff1fa9b87afa0ef
2016-04-15 19:23:05 +00:00
Felipe Leme
3fb3d88d2b Fix first-time usage.
When tests run for the first time, the list of activities that can
handle ACTION_SEND_MULTIPLE might not be scrollable, which was cause the
scrollForward() method to fail.

BUG: 27431998
Change-Id: I5992bc9fec6291c74c4af7887ee66eb4f96e87c0
2016-04-15 12:04:46 -07:00
Sid Soundararajan
3e3a35eb36 Add Rounded corners to cards.
BUG: 27953508
Change-Id: Id911ad10d318d1fb3ea174869f96fec4b38b4c69
2016-04-15 11:36:53 -07:00
Steve McKay
8f6387021b Handle delete failure notifications correctly.
Case was omitted in dialog, resulting in UnsupportedOperationException.
Remove a redundant flag check.

Bug: 28204292
Change-Id: I313d61c72596d4a127f61d557af7300f50d26bf0
2016-04-15 11:02:36 -07:00
Julia Reynolds
9e8bc7c685 Merge "Notification slider update." into nyc-dev 2016-04-15 15:18:24 +00:00
Julia Reynolds
4d920ff6eb Notification slider update.
Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
2016-04-15 11:03:53 -04:00
Benjamin Franz
2f4c2299c7 Merge "Maybe decrypt user when quiet mode is disabled" into nyc-dev 2016-04-15 14:53:17 +00:00
Benjamin Franz
f02420c5e1 Maybe decrypt user when quiet mode is disabled
When quiet mode is disabled for a user and that user is not currently
decrypted, we show a confirm credentials screen to trigger decryption
of that user. Only if that was successful, do we actually disable quiet
mode.

Bug: 27764124
Change-Id: Ib1f649194d89e225dad62c14f3ddba1fa3d79da2
2016-04-15 14:12:41 +01:00
Nicolas Prévot
428fdd104c Merge "Call notifyLockedProfile in TrustManagerService instead of KeyguardViewMediator." into nyc-dev 2016-04-15 09:52:56 +00:00
Baligh Uddin
236c40ac26 Import translations. DO NOT MERGE
Change-Id: Ibe3273d1791c214e6f9f311bbf37657a9051f830
Auto-generated-cl: translation import
2016-04-14 23:16:45 -07:00
Selim Cinek
4bb593492c Fixed a bug with the overflow number
The number didn't apply the contrast computations
and wasn't scaling when density changed.

Change-Id: Ibde116f176c3a8d20de28ab432a80d9219f75581
Fixes: 28073460
2016-04-15 13:30:18 +08:00
Tomasz Mikolajewski
30616fcd21 Fallback to Recents when Downloads is not available.
Bug: 28182647
Change-Id: I0ece028f7980c7e55ca64d5aa34e98bdb4d08176
2016-04-15 14:06:09 +09:00