16151 Commits

Author SHA1 Message Date
Jorim Jaggi
5673353559 Animations/success state for external confirm device credentials (1/2)
Bug: 20929186
Change-Id: I8ca396e353189da7da3e9c98f841b76c876e461e
2015-06-09 15:25:40 -07:00
Xiyuan Xia
12149b699e Merge "Add setting for assistant" into mnc-dev 2015-06-09 22:00:32 +00:00
Xiyuan Xia
e6de8b9ad4 Add setting for assistant
- Add assistant setting in Settings.Secure;
- If the assistant setting is missing, start assistant as current behavior;
- If the setting is present, start assistant use the setting value;

Bug:20210110
Change-Id: I946fbb504452e445879ad688130a1570b857b9c5
2015-06-09 14:21:38 -07:00
Winson Chung
a278cae54c Skip recents preloading when there is no task to animate to.
Bug: 21696081
2015-06-09 13:51:13 -07:00
Joseph Wen
871fe6ed66 Update Statement Service
* Change the well known file location to assetlinks.json.
* Cleanup http connection after verification.

BUG=21487368
BUG=21163039

Change-Id: I0d317ac32c44933af7ed9a98ff1b0efa13eb44b1
2015-06-09 16:47:50 -04:00
Jason Monk
eac2751908 Merge "Add hotspot accessibility description" into mnc-dev 2015-06-09 20:02:26 +00:00
Jason Monk
08187a4b26 Add hotspot accessibility description
Bug: 20811452
Change-Id: I8de71b1734d37f6154bc59e59ce17adc0cd6f5f3
2015-06-09 15:59:25 -04:00
John Spurlock
93f6fe9594 Merge "Fix horrible warning on every systemui startup." into mnc-dev 2015-06-09 19:55:30 +00:00
Chris Wren
bd6b5fb4c3 instrument notification longpress controls
Bug: 21700903
Change-Id: Iafd0c16d202ed5dde626ee007259d56aec4de5ec
2015-06-09 15:13:01 -04:00
Robin Lee
472834518e Switch over to updated VPN warning strings
These are more consistent and have placeholders for the description of
whatever VPN apps are actually active.

Bug: 20516964
Bug: 17474682
Change-Id: I37ff287b795f10bbbb192540f09f8100bb27b1a0
2015-06-09 12:04:23 -07:00
John Spurlock
66f6cd63b7 Merge "Volume: Show disabled level on slider when muted by zen." into mnc-dev 2015-06-09 18:56:51 +00:00
John Spurlock
f5b1f04427 Fix horrible warning on every systemui startup.
- Migrate away from deprecated getDrawable calls in DismissViewButton.

Change-Id: If85d5b0f9cbfb76536ffb50d0daddd6e311f1339
2015-06-09 14:46:01 -04:00
John Spurlock
b0a2e5fbc5 Volume: Show disabled level on slider when muted by zen.
Bug: 21267436
Change-Id: I366b19e443589be7cc989f1c501801a7f49f0195
2015-06-09 14:41:52 -04:00
Jason Monk
33e737bbd1 Merge "QS: Accessibility announce entering/exiting detail" into mnc-dev 2015-06-09 18:41:14 +00:00
Jason Monk
17b70a503d QS: Accessibility announce entering/exiting detail
Bug: 19327327
Change-Id: I97c1daaa71361fca0b3b29614eb14a4a4199ae7a
2015-06-09 18:12:30 +00:00
Jason Monk
e3fd6de9d6 Fix build.
Change-Id: I560dc798a238173d72e3835962ed82681977dba1
2015-06-09 13:58:57 -04:00
Ben Kwa
907c695d40 Merge "Add a divider between the roots selector and files list." into mnc-dev 2015-06-09 17:48:31 +00:00
Tony Mantler
9b0f9a2c9b Merge "Tweak ApplicationsState for use by TvSettings" into mnc-dev 2015-06-09 17:44:49 +00:00
Ben Kwa
a6a50d037b Add a divider between the roots selector and files list.
BUG=21643911

Change-Id: Ie7c4d1a014b9fbdccb91d80907c89e2309c9891f
2015-06-09 10:43:59 -07:00
Tony Mantler
bdbb5a8d77 Tweak ApplicationsState for use by TvSettings
b/21328967

Change-Id: I1da8a908491ec4ade7fcc729acf6c08f043cc495
2015-06-09 10:42:59 -07:00
Ben Kwa
7c04308f51 Merge "Clean up icons in DocumentsUI." into mnc-dev 2015-06-09 17:35:20 +00:00
Tony Mantler
d951d65d8a Merge "Move ApplicationsState to SettingsLib" into mnc-dev 2015-06-09 17:20:19 +00:00
Paul Jensen
7b8ce2fa0e Merge "Log SslErrors from captive portal sign in app." into mnc-dev 2015-06-09 17:16:20 +00:00
Paul Jensen
16bef48d22 Merge "Add support for tel: links in captive portal app." into mnc-dev 2015-06-09 17:11:10 +00:00
Sudheer Shanka
0fcf4161c5 Merge "Update some strings." into mnc-dev 2015-06-09 16:26:12 +00:00
Tony Mantler
eeb3443cc6 Merge "Add uses-sdk to reduce red squigglies" into mnc-dev 2015-06-09 16:04:45 +00:00
Tony Mantler
95357fd49a Move ApplicationsState to SettingsLib
Also take InterestingConfigChanges along for the ride

b/21328967

Change-Id: I48af51cc4694ba5c492794631a1e1a54a60fce0b
2015-06-09 09:39:08 -04:00
Sudheer Shanka
5b1a21a385 Update some strings.
Bug: 20518822
Change-Id: I22ed55cf44575a484f727965e2f8f6095f7f2be0
2015-06-09 14:19:07 +01:00
Paul Jensen
41ff524a63 Log SslErrors from captive portal sign in app.
Bug:21604873
Change-Id: I0361da37039bb4f0f9d2e0dabbae4ab2ddbb05e3
2015-06-09 08:55:06 -04:00
Paul Jensen
fd54da9b7c Add support for tel: links in captive portal app.
Bug:21447011
Change-Id: I72ec4fd780ddb89cecfa584aa285f3822f326810
2015-06-09 07:50:51 -04:00
Sudheer Shanka
3c300f0d77 Merge "Update AfW related strings." into mnc-dev 2015-06-09 11:26:55 +00:00
Sudheer Shanka
427422d822 Update AfW related strings.
Bug: 20518822
Change-Id: I83304a44457c3942b2def6fc4f2c9a369f61d232
2015-06-09 12:13:23 +01:00
Neil Fuller
6394a39280 Stop showing long names for local timezones when it is ambiguous
Context:

Android uses a hand-crafted list for timezones to pick from in
Settings. Independently of what we actually show the user, when a
user is selecting their timezone they are selecting an olson timezone
ID. Separate olson ids exist for a sets of zone rules. If two places
have differed in their zone rules in the past they have different
olson ids. Olson Ids are usually named after cities and have
"exemplar locations", e.g. "Europe/London" covers the UK and the
exemplar location is "London".
Exemplar locations were often chosen based on historic considerations
and do not necessarily make sense to contemporary users.

Normal Android users don't know or care about any of this, but they do
understand geography/cities and sometimes understand things like
timezone names like "British Summer Time" (but usually not in other
countries).

Unfortunately timezone names understood by users also don't have a
one-to-one mapping with olson IDs. Two places can have the same
timezone name for part of the year but not the rest. For example, all
of a the country Foo may be using "Foo Standard Time" for part of the
year, but in summer some parts of the country may switch to "Foo
Summer Time" while others stay on "Foo Standard Time". These would
have different Olson Ids.

Also, two places that historically differed in their choice of
timezone rules may have since aligned. e.g. parts of Europe. They
still have their own olson ids.

The Android hand-crafted list is (I assume) based on a set of
compromises to provide reasonable coverage of users' needs without
overwhelming them with too many choices for historic irrelevancies.

To assist with picking a timezone that makes sense to a user, Android
currently does the following:

When selecting a timezone:

For "local" timezones Android shows the timezone "long name". e.g.
"British Summer Time", "Eastern Standard Time".
For non-local timezones Android uses the exemplar location (e.g. the
city).

This had an issue:

Some "local" timezones, e.g. Australia for English (Australian),
would show multiple entries for the same long timezone name without
any way of telling them apart.

After this change:

This change means that settings now uses the exemplar location in
preference when the Android display strings would be ambiguous. For
countries where there is no ambiguity (e.g. the UK) Android continues
to use the timezone long name.

Bug: 19058953
Bug: https://code.google.com/p/android-developer-preview/issues/detail?id=2132
Change-Id: I01651f2416f500652bd2bcf447d056efd4fd3598
2015-06-09 10:14:44 +01:00
Jorim Jaggi
8972c2a0c7 Fix lockscreen launch animations
- Fix the case in WindowAnimator where the real window was ready
to draw while the starting window was playing the unlock animation.
- Always delay Keyguard done when clicking on a notification. Some
notifications started services/broadcasts instead and thus we didn't
wait, making it a jarring transition. In case the notification click
doesn't result in an activity start at all, we still have the timeout
that saves us from freezing (3s), but most notifications should start
an activity.

Bug: 19412725
Change-Id: I78f6839f59986f8f7ecdff70227d5690a504f475
2015-06-09 02:31:53 +00:00
Jim Miller
4f364c9e5f Fix NPE cause by new fingerprint permission check
We no longer send fingerprintid to non-privileged apps. Though
Keyguard can get the permission, it does not currently use fingerprint
info, so remove the API call.

Fixes bug 21040383

Change-Id: I8a9461ed138c368afc75601fe6d4eadc9a8b91c5
2015-06-08 19:24:13 -07:00
Jim Miller
800ebfc166 Merge "Update and cleanup FingerprintManager API to new spec" into mnc-dev 2015-06-09 01:46:22 +00:00
Jorim Jaggi
b835dd7641 Close assist when launching intents from notification shade
Bug: 21035363
Change-Id: I51a6dbe5f0d93aaf81a38d1f1afacaaeaf7732e2
2015-06-09 00:31:12 +00:00
Jorim Jaggi
2d144063a6 Merge "Fix flickering in alarm detail transition" into mnc-dev 2015-06-09 00:30:12 +00:00
Jorim Jaggi
2ba5979368 Fix flickering in alarm detail transition
Bug: 21400392
Change-Id: I28e4c0cbaa322d8711c5a84cd0ff7b409913b935
2015-06-08 17:29:33 -07:00
Jorim Jaggi
46ac19f32c Use better interpolator when clicking on QS header
This interpolator feels nicer when the reason why it animates comes
from a touch.

Change-Id: Ie13466c092e9546f8a8c5fdca589b35f78cde88c
2015-06-09 00:23:18 +00:00
Jorim Jaggi
59ec304eae Don't invert legacy notifications
Bug: 19130917
Change-Id: Id06fcf8fb11b783360a86534e024164b230e84a4
2015-06-09 00:20:51 +00:00
Jorim Jaggi
7b5e6c884d Merge "Only doze when not occluded" into mnc-dev 2015-06-09 00:20:30 +00:00
Jorim Jaggi
5cc86599ce Dismiss Keyguard correctly
When authenticating with fingerprint, we didn't go through the
dismiss action, and thus launching intents was broken when
authenticating with fingerprint from the bouncer. Also fixed a crash.

Bug: 21695578
Change-Id: I61f74b5b63d4d6ddf7f8f3ce96feb63b9644cd52
2015-06-09 00:10:09 +00:00
Jorim Jaggi
8396970065 Only doze when not occluded
This fixes a bug where an activity could have been started on top of
the lockscreen while dozing already. In that case, we would execute a
pulse and reveal the fully colored activity that is occluding the
Keyguard

Bug: 19465785
Change-Id: I9533390e13f11424a20a107005d60050a460e333
2015-06-09 00:02:55 +00:00
Selim Cinek
196597b7c0 Merge "Children which are removed when HUNd now animate out" into mnc-dev 2015-06-09 00:00:06 +00:00
Jim Miller
f501b58de8 Update and cleanup FingerprintManager API to new spec
Fixes bug 21040383

Change-Id: Ib97d486535869814d5b449cccb31670e8f412552
2015-06-08 16:36:29 -07:00
Dongwon Kang
0dd7ddc414 Merge "Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()" into mnc-dev 2015-06-08 22:58:56 +00:00
Tony Mantler
204a1d9bae Add uses-sdk to reduce red squigglies
Change-Id: I70257d7c643b904d8d5a4c462f00267dc0711cd4
2015-06-08 15:46:51 -07:00
Dongwon Kang
b0cf7ea65d Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()
Bug: 21485727
Change-Id: I6b639464a3543dec4d7a248bdd8042b2c3872fac
2015-06-08 14:16:54 -07:00
Ben Kwa
11be5de36c Clean up icons in DocumentsUI.
- Remove unused icons.
- Replace improperly sized icons with properly sized (24dp) ones.

BUG=21643433

Change-Id: I67595b6bfbbf94f11abe6c1feabe633488decc84
2015-06-08 14:11:33 -07:00