Commit Graph

17252 Commits

Author SHA1 Message Date
Adrian Roos
e6395f8ac7 DirectReply: Close if touching outside status bar
am: 6d53de63bb

Change-Id: I134abad75cae32c8eb9229ac8aa993f9bd71b667
2016-12-21 20:06:08 +00:00
Jiaquan He
3785f0a2f6 DO NOT MERGE - Disabled swiping in Grid-based Recents.
am: 620aebabb2

Change-Id: I24914bfe923ec251adff8c931c32398c013ac581
2016-12-21 18:18:34 +00:00
Manu Cornet
15b6c78534 DO NOT MERGE - Delete the separate grid recents activity and related code
am: e93f8100a6

Change-Id: I30195b094fe27bec5b78f799942bf004000d9ef2
2016-12-21 03:43:49 +00:00
Jiaquan He
620aebabb2 DO NOT MERGE - Disabled swiping in Grid-based Recents.
Bug: 32101881
Change-Id: I45a806a6b1fc387b2c560a8f2228ad83e4068d7c
(cherry picked from commit 7e09146f13)
2016-12-21 02:02:44 +00:00
Manu Cornet
e93f8100a6 DO NOT MERGE - Delete the separate grid recents activity and related code
This was the first attempt at implementing grid-based Recents.
The new implementation doesn't use a separate activity and reuses a lot
more code.

Bug: 32101881
Test: Checked Recents behavior on local sw600dp device
Change-Id: Ic3535fc49f3f5448d6002d354678b633f122f57d
2016-12-20 17:52:45 -08:00
Manu Cornet
0cfa646f73 DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2
am: bf8e290376

Change-Id: I7b05418dc2d03da33e862cf67dbcd1d08cb1b899
2016-12-20 21:57:08 +00:00
Xiaohui Chen
4ec4c6f212 sysui: update sw900dp navbar sizes
am: c48f07bc82

Change-Id: Ia9bfece57902625c72eda216464344a40bd25db7
2016-12-20 21:52:41 +00:00
TreeHugger Robot
5ef12f244c Merge "DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2" into nyc-mr2-dev 2016-12-20 21:50:16 +00:00
Xiaohui Chen
2d6accd7a9 Merge "sysui: update sw900dp navbar sizes" into nyc-mr2-dev 2016-12-20 21:44:26 +00:00
Manu Cornet
bf8e290376 DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2
Bug: 32101881
Test: Checked Recents layout/behavior on local sw600dp device
Change-Id: I40be7dbaf8bc017b4c7c449f9bca657817107ceb
2016-12-20 12:10:41 -08:00
phweiss
dee7669fd2 DO NOT MERGE Show notification when network logging is enabled
am: 923d2cc9d9

Change-Id: Ia5839248361a7d7fbb0c73cdb569ada62a96c286
2016-12-20 20:01:33 +00:00
Philipp Weiß
2f42cbcad5 Merge "DO NOT MERGE Show notification when network logging is enabled" into nyc-mr2-dev 2016-12-20 19:52:09 +00:00
phweiss
923d2cc9d9 DO NOT MERGE Show notification when network logging is enabled
A notification is shown after network logging is enabled
and after the next three reboots that are at least one day apart.

Clicking it sends an intent to quick settings to shown its device monitoring
dialog.

Cherry-picked from master.

Bug: 29748723
Bug: 33126577

(cherry-picked from commit a0cb251ca6)

Test: Manual, CTS-Verifier tests will be added later
Change-Id: I2bf517bd27ab23ad3f66270602dbf062efab8cbb
2016-12-20 19:23:58 +01:00
phweiss
ccf8d9e9cf DO NOT MERGE Rework Device Monitoring Dialog in Quicksettings
am: 2f512047c2

Change-Id: If56eee8a498435aaa059990eceea9555897e11b9
2016-12-20 18:06:47 +00:00
phweiss
2f512047c2 DO NOT MERGE Rework Device Monitoring Dialog in Quicksettings
If a device owner is active, the layout is changed from a
standard AlertDialog with only one string to a custom dialog
that includes information on Device Owners, and VPN and Network Logging,
if enabled.

Cherry-picked from master and modified to not rely on changes that are not in
N:

A change in master renamed some variables in QSFooter.createDialog() and made
them final, this change is also included here.

The owner's organization name cannot be set in N.

In the case of active Device Owner and active VPN, there was a specialized
string for this in N. This string was now replaced by using the simpler
Device Owner string + an own entry for VPN in the new layout.

Some imports had to be included that were already there on master.

The dimen-tag throws an error message on floats during build, replaced by an
item-tag.

BUG: 29748723
BUG: 33126622
Test: Manual, CTS-Verifier tests will be added later

(cherry picked from commit 9e450e1233)

Change-Id: I2bfca9d9d02a42d9c3b17683625eda29e9369666
2016-12-20 17:11:01 +01:00
Xiaohui Chen
c48f07bc82 sysui: update sw900dp navbar sizes
Bug: 32516898
Change-Id: I3e1a2855fa3cb2f538bf87df3d48ac3dcfc4c67a
2016-12-19 16:33:16 -08:00
Adrian Roos
6d53de63bb DirectReply: Close if touching outside status bar
Close direct reply when a touch outside the status bar window
happens. This is especially important with HUNs, where we allow
the touch to go through to the underlying window.

Change-Id: I12b9cbd5c699b86bcf1f56723a2f0ac5de7e5a42
Test: Receive SMS while unlocked, click Reply on heads-up notification, click in between notification and IME. Verify direct reply closes.
Fixes: 32022071
2016-12-19 16:27:50 -08:00
phweiss
5edfd11bea DO NOT MERGE Add network logging icon to Quicksettings when enabled
am: c94b637305

Change-Id: I227210c1d938b98bfb8b2a5f895b837fad1c6181
2016-12-19 18:03:47 +00:00
Philipp Weiß
f84f98c4e2 Merge "DO NOT MERGE Add network logging icon to Quicksettings when enabled" into nyc-mr2-dev 2016-12-19 17:57:16 +00:00
Dan Sandler
0f82af28ef Avoid NPE in notification inline controls.
am: 6e54b889d0

Change-Id: I4d581b3d8e59bb9baa16199243b59aaa57d8fc7a
2016-12-19 16:50:12 +00:00
Daniel Sandler
be09dd77dc Merge "Avoid NPE in notification inline controls." into nyc-mr2-dev 2016-12-19 16:44:12 +00:00
Adrian Roos
31b96311bf Merge "Assist app is not launched when long-pressing on Home key" into nyc-mr2-dev 2016-12-16 22:32:34 +00:00
Adrian Roos
5b5faea151 FalsingLog: Fix false positive Log.wtfs
am: 64f87bad12

Change-Id: Ief66fe0f832737f733d728a8b0533bcabfc3c57c
2016-12-16 19:01:58 +00:00
Kaori Katou
ed7bf5eecc Assist app is not launched when long-pressing on Home key
To get Assist component and launch it correctly,
The proper userId should be passed
to AssistUtils#getAssistComponentForUser().

Bug: 30777883
Test: manual - install LegacyAssistant app and long-press on Home key

Change-Id: I9f18ffdd9fc893235d77ed8145a765736a679478
(cherry picked from commit 70554e01c6)
2016-12-16 10:52:20 -08:00
Adrian Roos
6ce17fb072 Merge "FalsingLog: Fix false positive Log.wtfs" into nyc-mr2-dev 2016-12-16 18:49:56 +00:00
phweiss
c94b637305 DO NOT MERGE Add network logging icon to Quicksettings when enabled
Add the network logging icon in Quick Settings' footer if
network logging is enabled, possible next to the VPN icon.
Quicksettings has to be able to tell that network logging
is enabled, so this CL changes DPM.isNetworkLoggingEnabled() to be
callable from the device owner or from any app with the MANAGE_USERS
permission.

The icon is only a placeholder until the official icon is finished.

CTS Verifier tests will be added when all Network logging UX changes are
done.

Cherry-picked from master, and then modified to work in N:
I had to remove the QSFooterTest change because the testing infrastructure
is not there in N. Also, I had to add DPMS.enforceDeviceOwnerOrManageUsers()
to which did not exist in N before.

BUG: 33126618
BUG: 29748723
Test: Manual, CTS-Verifier tests will be added in a follow-up

(cherry picked from commit a4e169ed68)

Change-Id: Ib35d323605ab11f883a4b6199d1db79b9e53c49b
2016-12-16 19:25:29 +01:00
Adrian Roos
36f718717d Merge "Assist app is not launched when long-pressing on Home key" am: 1e41bb4887 am: d81fde40ef
am: 272c84b5be

Change-Id: I26c24879b6fb013ac477eb649d97d0411fd0da46
2016-12-16 01:42:10 +00:00
Adrian Roos
272c84b5be Merge "Assist app is not launched when long-pressing on Home key" am: 1e41bb4887
am: d81fde40ef

Change-Id: Ia8f58cfa1945a7ad627889545a264c9d1fb06beb
2016-12-16 01:20:12 +00:00
Adrian Roos
1e41bb4887 Merge "Assist app is not launched when long-pressing on Home key" 2016-12-15 23:51:12 +00:00
Adrian Roos
ad0ed5c63c DirectReply: Show bouncer when occluded
am: f37fce5182

Change-Id: Ib3f82893fe744a3d382841e17e5a8e8dc1c3c19b
2016-12-15 22:37:00 +00:00
Adrian Roos
23c46fb117 Merge "DirectReply: Show bouncer when occluded" into nyc-mr2-dev 2016-12-15 22:22:57 +00:00
Dan Sandler
6e54b889d0 Avoid NPE in notification inline controls.
Specifically, notifications that come from essential parts
of the system that cannot be blocked or silenced.

Fixes: 32384422
Test: manual: longpress Clock notification, press DONE
Change-Id: Ic43cf90d4d7940b1cbfcedb6934567b799efd12b
2016-12-14 18:26:06 -05:00
Adrian Roos
64f87bad12 FalsingLog: Fix false positive Log.wtfs
Fixes a frequent case where we do not get notified immediately of the
screen turning on and log a WTF as a result when a touch makes it
through to the lockscreen.

Change-Id: I5437aa0283d78624ffb3a43404e7248b7e91372c
Fixes: 32575746
2016-12-14 14:39:16 -08:00
Adrian Roos
6f65fad606 Keyguard: Don't lock if SIM is NOT_READY
am: e92de95261

Change-Id: I3aaaa7099c7b114606e90c62ed3376369b0d86d2
2016-12-14 01:07:02 +00:00
Adrian Roos
f37fce5182 DirectReply: Show bouncer when occluded
Fixes a bug where Direct Reply would not work when the
lockscreen is occluded.

Change-Id: I064f0367b19ea3572e7bafff7ae532baddbfbedb
Merged-In: I064f0367b19ea3572e7bafff7ae532baddbfbedb
Fixes: 32558539
Test: Open navigation, lock phone, turn phone on, direct reply to a notification
2016-12-13 15:19:29 -08:00
Adrian Roos
e92de95261 Keyguard: Don't lock if SIM is NOT_READY
Fixes an issue with MVNOs where the lockscreen
would show in response to a virtual SIM switch.

Now we no longer lock with NOT_READY.

Change-Id: I520200311a5ae3218f1743b1fc9a568c39933ebf
Fixes: 33386149
Bug: 30997251
Test: Set up secure lockscreen, insert Fi SIM, dial *#*#346398#*#*, verify screen does not lock, eject SIM, verify screen locks.
2016-12-13 14:53:49 -08:00
Xiaohui Chen
bb18d78ea1 sysui: add assets and dimentions for sw900dp
am: 376b1756d4

Change-Id: I4df31eea74b4978a4e8711730507e5d26877431d
2016-12-12 23:42:50 +00:00
Xiaohui Chen
f400349eb9 Merge "sysui: add assets and dimentions for sw900dp" into nyc-mr2-dev 2016-12-12 23:36:55 +00:00
Jason Monk
46f24b6707 Fix animations for app QS tiles.
am: d2274f848c

Change-Id: I32fdb2e9047e402650e374024fcc7cb39b2a83f9
2016-12-12 20:33:51 +00:00
Jason Monk
fe6e3dd735 Fix loading bar positioning.
am: 76bf8eb3d6

Change-Id: Ibf167360200be9969c1c725d84e4b9b9e442f553
2016-12-12 20:31:56 +00:00
Jason Monk
eb3623c7dd Merge "Fix animations for app QS tiles." into nyc-mr2-dev 2016-12-12 20:22:22 +00:00
Jason Monk
76bf8eb3d6 Fix loading bar positioning.
Move it down and make sure it covers entire width.

Change-Id: If906ea86ae1e78b7a75e2376c65f0ff0e191b86c
Fixes: 30292983
Test: Manual visual inspection of UI element locations
2016-12-12 13:07:50 -05:00
Jason Monk
d2274f848c Fix animations for app QS tiles.
Use correct context for third party tile drawable creation, also
fix comparison so that AVDs don't animate multiple times.

Change-Id: Ifcf7b818304d6677eacf080ed8c22893c91fdf73
Fixes: 32779384
Test: Install app with animated app QS tile.
2016-12-12 12:02:16 -05:00
Yoshinori Hirano
aa6018c735 Merge "Don't include front most excluded task in Multi-Window mode" am: a8c2c229d7 am: 435db7e690
am: 14ea407321

Change-Id: I90bd2c3fe52c4f3b82a1b8794176716cdafbe9ea
2016-12-08 21:18:07 +00:00
Yoshinori Hirano
14ea407321 Merge "Don't include front most excluded task in Multi-Window mode" am: a8c2c229d7
am: 435db7e690

Change-Id: Iedb0b93fd599170132ddd545490a3564e575cdc0
2016-12-08 21:13:10 +00:00
Treehugger Robot
a8c2c229d7 Merge "Don't include front most excluded task in Multi-Window mode" 2016-12-08 20:52:15 +00:00
Xiaohui Chen
376b1756d4 sysui: add assets and dimentions for sw900dp
We are enabling all large (sw900dp) Android devices to have a
consistent sysui designed for bigger screen similar to Pixel C.

Bug: 32516898
Test: Locally on pixel c
Change-Id: Iefd81225dd8801d41976f080e1fa71a1712f92de
2016-12-08 12:03:09 -08:00
Adrian Roos
889c64a30b EmergencyCryptkeeperText: Make sure we update if airplane mode changes
am: 72abcdaec7

Change-Id: I1784384d0a38c39efe14047c6986337b4526495b
2016-12-08 02:00:59 +00:00
TreeHugger Robot
1e1d5b07a6 Merge "EmergencyCryptkeeperText: Make sure we update if airplane mode changes" into nyc-mr2-dev 2016-12-08 01:50:14 +00:00
Adrian Roos
4613f571e4 Revert "Direct Reply: Add back emoji button" This reverts commit 713fed9226.
am: d575d88d8e

Change-Id: Ia9e4c3942a4605d9520b833493bf7957e7a985c1
2016-12-08 00:34:18 +00:00