3630 Commits

Author SHA1 Message Date
Geoff Mendal
e1b43ee918 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-04-29 14:18:41 +00:00
Geoff Mendal
3f4e8c74df Import translations. DO NOT MERGE
Change-Id: Icf8a8e3bc6d5a88293a6954c35e766ac8c494a4d
Auto-generated-cl: translation import
2015-04-29 07:18:14 -07:00
John Spurlock
2d67b2887c am 8dbcda1b: Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev
* commit '8dbcda1b33ad9cd1c19052a332404cc221da42ee':
  Volume: Simple dialog footer, DND in quick settings.
2015-04-29 14:11:35 +00:00
John Spurlock
8dbcda1b33 Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev 2015-04-29 14:02:52 +00:00
John Spurlock
d9c75dba75 Volume: Simple dialog footer, DND in quick settings.
- Show DND tile by default, this is now the only
   place to manage DND modes / end conditions.
 - Remove super footer from volume dialog, replace with
   a simplified version that displays the current mode
   and allows ending DND.
 - Remove obsolete text-only footer from codebase.
 - Migrate remaining volume items into main resource files.
 - Rename "No interruptions" to "Total silence".
 - Add new user information banner for "Total silence"
 - Crude media filtering for Total Silence.
   (deeper muting changes will be done as a followup)
 - Disable volume dialog sliders completely if muted due
   to zen.
 - Cleanup ZenModePanel: assume embedded mode, remove
   expandable subhead
 - Remember "favorite" DND mode inside the DND config panel.
 - AudioService: consult ringer-mode-delegate before voluming
   down into silent.
 - Add new hour options to time-based exit conditions.
 - Volume dialog visual updates to move closer to final visuals.
 - Unify ringer=silent with DND.

Bug: 19260237
Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717
2015-04-29 09:58:38 -04:00
Geoff Mendal
aa6bb66159 Import translations. DO NOT MERGE
Change-Id: If87615207a55eac714ecd7895f2a73ee120d6cbe
Auto-generated-cl: translation import
2015-04-29 05:58:27 -07:00
Selim Cinek
79db321e2a am ab994358: am 3a9c049d: am 61a75423: Merge "Follow up CL for heads up notification refactoring" into mnc-dev
* commit 'ab994358fb21f2307e36f3dd646d308c846700e1':
  Follow up CL for heads up notification refactoring
2015-04-29 02:24:53 +00:00
Jorim Jaggi
2248f8f0f1 am 581629c8: am de2aef5a: am 9a1df486: Merge "Add animation for fingerprint error state" into mnc-dev
* commit '581629c87fec0c082080501ff2b5c222da55b725':
  Add animation for fingerprint error state
2015-04-29 02:24:29 +00:00
Selim Cinek
3a9c049d03 am 61a75423: Merge "Follow up CL for heads up notification refactoring" into mnc-dev
* commit '61a75423648a0070406e9b7aeda1a55e173bd467':
  Follow up CL for heads up notification refactoring
2015-04-29 01:44:14 +00:00
Jorim Jaggi
de2aef5a4e am 9a1df486: Merge "Add animation for fingerprint error state" into mnc-dev
* commit '9a1df48620d07d743f2da5bec2cc9c8a68591c97':
  Add animation for fingerprint error state
2015-04-29 01:43:51 +00:00
Selim Cinek
61a7542364 Merge "Follow up CL for heads up notification refactoring" into mnc-dev 2015-04-28 23:27:58 +00:00
Selim Cinek
684a442b81 Follow up CL for heads up notification refactoring
Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
2015-04-28 16:24:40 -07:00
Jorim Jaggi
9a1df48620 Merge "Add animation for fingerprint error state" into mnc-dev 2015-04-28 23:01:14 +00:00
Jorim Jaggi
27267d6869 Add animation for fingerprint error state
- Put lock icon logic in a separate class.
- Add animation when switching between fingerprint scanning and
fingerprint error.

Change-Id: I87c3f101d645a990d5397b82a797c9ee40a63da2
2015-04-28 13:27:12 -07:00
Geoff Mendal
7bdd6aa1a4 Import translations. DO NOT MERGE
Change-Id: I56af308506de3258cefb3c96d49ca5ccaed1a57d
Auto-generated-cl: translation import
2015-04-27 21:38:29 -07:00
Geoff Mendal
d5e80e5576 Import translations. DO NOT MERGE
Change-Id: I7d4844ba446d75b4596a0213579fb94395df3d92
Auto-generated-cl: translation import
2015-04-27 07:33:21 -07:00
Geoff Mendal
83909c4d22 Import translations. DO NOT MERGE
Change-Id: Ifbfcce1013790a9a77299564fa2e037574fcdeb4
Auto-generated-cl: translation import
2015-04-27 06:13:51 -07:00
Geoff Mendal
f1facef1fb Import translations. DO NOT MERGE
Change-Id: I88ab579013a6824872195c6c7714055462d63340
Auto-generated-cl: translation import
2015-04-26 18:47:08 -07:00
Geoff Mendal
7d12285130 Import translations. DO NOT MERGE
Change-Id: Id8f27460d1cbdb97a9843a21d531f0b03ab72505
Auto-generated-cl: translation import
2015-04-25 00:23:36 -07:00
Jorim Jaggi
a47f4d7c4d Merge "Position panel dynamically when expanding" 2015-04-23 18:53:18 +00:00
Jorim Jaggi
6d4a27fb7f Position panel dynamically when expanding
Bug: 17125022
Change-Id: Ia39aa40c27958a6ba4eb183522d22bfad958fe5e
2015-04-23 11:48:22 -07:00
Selim Cinek
6746c28b81 Improved the usablility of the lockscreen affordances
Bug: 19563694
Change-Id: I47c24eae432ae168f6a3eaaed57fbcc59a411f8a
2015-04-22 20:28:11 -07:00
Geoff Mendal
0c886bbb9b Import translations. DO NOT MERGE
Change-Id: I971de964d782fbfd1b54a1fcb5d1366c7416f0e8
Auto-generated-cl: translation import
2015-04-22 06:01:35 -07:00
Robin Lee
9cb1d5f641 SecurityController: track VPN for all users
Fixes inconsistencies when switching users.

Bug: 17763561
Bug: 17506956
Bug: 18419023
Change-Id: I65988e6c45afd00a402d1e266922d5648fd12743
2015-04-21 15:28:20 +01:00
Geoff Mendal
e13825328e Import translations. DO NOT MERGE
Change-Id: Ib763e6d6dc2f6eca3cd26ceb314b97ac90032719
Auto-generated-cl: translation import
2015-04-20 06:00:16 -07:00
Geoff Mendal
664622fb77 Import translations. DO NOT MERGE
Change-Id: I0558ebee84c3b599dce7f50583753724e0e396b1
Auto-generated-cl: translation import
2015-04-17 21:00:43 -07:00
John Spurlock
90be37953d An update on VolumePanel.
Retired, and removed all claimed resources.

VolumeDialog is now the only option.

Bug: 19260237
Change-Id: I6e8abff0f8c16c4e02c47c8b7f24d5703cb3dbdf
2015-04-16 12:14:56 -04:00
Andrew Flynn
64e605a5be Merge "SysUI: Carrier Network Change icon" 2015-04-16 13:15:02 +00:00
Geoff Mendal
b300d6930a Import translations. DO NOT MERGE
Change-Id: Ib81a9725011568bacb0250dac5a59b50450209fc
Auto-generated-cl: translation import
2015-04-16 05:54:43 -07:00
Andrew Flynn
a478d70a68 SysUI: Carrier Network Change icon
- Listen for new PhoneStateListener.CARRIER_NETWORK_CHANGE events.
- Show/hide a new unique animated icon in status bar and quick settings during
  Carrier Network Change events if we are instructed by PhoneStateListener
  and it's during a period without connectivity.
- ObjectAnimator doesn't let you animate colors between themed colors, so
  there's quite a bit of boilerplate duplication in the animation xml.
- Add a new demo mode command to toggle it on/off.

Change-Id: Ic5bb2aa7444303c6b7f2456526a9c25325c6e1f4
2015-04-16 08:37:43 -04:00
John Spurlock
dd5b1f5f2f Mark sysui string reference as untranslatable.
Bug: 19260237
Change-Id: I4a2267462ece1d21ced0156cb1e99be913ea2ada
2015-04-16 06:04:00 -04:00
Selim Cinek
dc3e29c390 Merge changes from topic 'headsup'
* changes:
  Finishing up heads up changes
  Added the heads up scrim back
  Fixed a bug where a notification could not be collapsed
  Made ranking consistent with heads Up manager
  Fixed a bug where the intrinsic height was not updated
  Fixed more heads up bugs
  More Heads Up bug fixes
  Adapted the interpolator of the heads up appear motion
  Treating headsUpViews now as real notification citizen
  Handling a few more border cases with HUNs
  Integrate Heads-up notifications into the shade
  Fixed a bug with notification clipping
2015-04-15 21:44:03 +00:00
Selim Cinek
aac932591d Added the heads up scrim back
Also fixed a bug where the notification panel would
keep a hardware layer.
Also improved the interal structure of the HeadsUpManager

Change-Id: I635e4a89b0a32573c26515cc3e65e142d77593ec
2015-04-15 13:14:27 -07:00
Selim Cinek
b8f09cf553 Integrate Heads-up notifications into the shade
Change-Id: I4ca0fb4e76e7c974490538c168da0564fe97e0ae
2015-04-15 12:32:00 -07:00
Geoff Mendal
366c18b74d Import translations. DO NOT MERGE
Change-Id: I44ddb37b2a54af8c7b9861f362a5a2af2ded02e7
Auto-generated-cl: translation import
2015-04-15 05:54:00 -07:00
John Spurlock
691ae9dc25 Merge "Zen: Add new user introduction msg for "Priority only"." 2015-04-14 20:00:22 +00:00
Fyodor Kupolov
a08c444d1d Merge "Display a notification for a new guest" 2015-04-14 17:43:45 +00:00
Fyodor Kupolov
f4d6ad2663 Display a notification for a new guest
Display a notification for a new guest, which includes information that they
are using the device as a guest and how to remove guest.

Bug: 16956833
Change-Id: I21711949d3a80eaca47251faa6ee0cf04b5bf3e6
2015-04-14 10:36:53 -07:00
Kenny Guy
4fc266bbef Merge "Display toast when screen is unlocked to a work app." 2015-04-14 14:20:45 +00:00
John Spurlock
f55b7f2fb6 Zen: Add new user introduction msg for "Priority only".
Bug: 19260237
Change-Id: I3b5785befc05685c7f676e918710fb7500221172
2015-04-14 10:18:34 -04:00
Kenny Guy
3094d4a1c0 Show a status bar icon for managed profile activities.
Show a work icon in the status bar when the foreground
activity is from an app in the managed profile.

Bug: 19532434
Change-Id: Ie96935c089d26f44bc5b1b8fcf60c83a32283a0f
2015-04-13 20:58:44 +00:00
Kenny Guy
dae30d5dd3 Display toast when screen is unlocked to a work app.
Display a toast when the screen is unlocked and an
app from a managed profile is in the foreground.

Bug: 19539451
Bug: 19532135

Change-Id: Ic57e235b05ac4f47d2c944175461294dff083724
2015-04-13 16:49:55 +01:00
Geoff Mendal
9c240f37e8 Import translations. DO NOT MERGE
Change-Id: Ib5334deb0b529ee02756b9e31e4ff89b59ed1718
Auto-generated-cl: translation import
2015-04-13 05:58:15 -07:00
Geoff Mendal
b85f308da0 Import translations. DO NOT MERGE
Change-Id: I5b2374a7fbcf6354c1a5a20a30ecf1d3c5f70ae1
Auto-generated-cl: translation import
2015-04-10 23:25:52 -07:00
Jorim Jaggi
e144bb15d0 Merge "Keyguard FP UX update" 2015-04-10 21:46:06 +00:00
Jorim Jaggi
27c9b74350 Keyguard FP UX update
- Add scanning and error states to UI.
- Do not delay dismissing the panel when authenticating via
fingerprint.

Change-Id: I82e71c554c56e53ddf0677dca3e6909f7cedd59d
2015-04-10 14:43:08 -07:00
John Spurlock
11145938bb Merge "Volume: Update media bluetooth icons." 2015-04-10 02:07:52 +00:00
John Spurlock
f15ef112e7 Volume: Update media bluetooth icons.
Note + bt logo.

Bug: 19260237
Change-Id: I32cb497505f7dea94d761637064f8f8e585ffa94
2015-04-09 22:06:10 -04:00
John Spurlock
b2278d6571 An update on Downtime.
The update is that Downtime is obsolete.  Replaced by the
ability to define multiple named schedule calendars.

 - Make changes to ZenModeConfig to properly model manual
   and automatic rules.
 - Refactor the zen mode helper (and supporting classes) to
   properly handle / report multiple claims on zen mode.
   The "manual" rule (specified by the user in the UI) vs
   one or more automatic rules.
 - Automatic rules are still backed by condition providers,
   but the layering is now cleaner.  ConditionProviders is now
   completely generic, has no ties to zen mode.
 - Specifically, the new layering for zen mode (below noman) is:
   ZenModeHelper: Source of truth for zen state
     ZenModeFiltering: Subhelper dedicated to filtering rules.
     ZenModeConditions: Subhelper dedicated to managing automatic rules.
       ConditionProviders:  Underlying engine for reporting named boolean state.
 - Migration story for users with existing downtime config, migrated
   to a single new calendar named downtime.
 - For users with no existing downtime, two default calendars are created
   for weeknights + weekends (icu4j for all locales will be done in a followup).
 - Remove obsolete DowntimeConditionProvider/NextAlarmConditionProvider and tracking.
 - Clean up obsolete resources.
 - Add common zen summary description string computation.
 - Add proper noman wrappers for the new model.
 - Change the semantics of the global zen setting.  It is now read-only.  Setters
   must call noman, added a "reason" to all calls for better attribution.
 - Update zenmodepanel + volumedialog to the new model.
 - Display the one or more automatic rules in the new zen footer summary.
 - "Snooze" the automatic rules when the user explicitly turns zen off.

Bug: 20064962
Change-Id: Idd9deb865a6035ad0cfae660198dccb517e6d7cc
2015-04-09 21:45:08 -04:00
Jorim Jaggi
f3bf1ee431 Fix some jank when expanding quick settings
Change-Id: Iba0ceb8b6085bec9fdee588eead073527a44540d
2015-04-08 14:41:43 -07:00