14305 Commits

Author SHA1 Message Date
Julia Reynolds
73d96fb4bb Merge "Remove Notification Topics." into nyc-dev 2016-02-19 19:17:25 +00:00
Jason Monk
ea168d229d Merge changes Ie427a2d8,I213f1f76 into nyc-dev
* changes:
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:50:05 +00:00
Christopher Tate
43fbc5f898 Add android:backupInForeground
An app can now declare that it really needs to be backed up
whenever possible even if it is currently engaged in foreground-
equivalent work.  Only applies to full-data backup clients: key/value
backups are not intrusive on normal lifecycle so they can already
happen in such circumstances.

Bug 26790411

Change-Id: Ia0ebcc7a53da888ae9ae4d63cd4bcab6e3a2e866
2016-02-18 20:47:36 +00:00
Jason Monk
5dbd4aad80 SysUI Tuner: Night mode v3
TwilightService:
 - Add support for locking on/off twilight globally
 - Change twilight state to have float amount rather than
   having clients calculate it using the sunrise/set values
 - State controlled through secure setting
 - Override mode which locks to a state for a couple hours then
   resets
 - Add broadcast for SysUI to listen to

Brightness/Power:
 - Updates to handle TwilightService changes
 - Added secure setting to control whether or not to use
   twilight when calculating brightness.

Tuner:
 - UI Overhall
 - NightModeController will set the values of the custom color matrix
   taking into account the current twilight service state and any
   custom calibration set by the user.
 - Probably other stuff.

Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
2016-02-18 14:06:51 -05:00
Julia Reynolds
ef37f28436 Remove Notification Topics.
Bug: 23220370
Change-Id: Ifbcdbab1cf6974c192483091512f75762784a98e
2016-02-18 08:55:33 -05:00
Martijn Coenen
087fd6829d Merge "Update protected broadcasts used by NFC." into nyc-dev 2016-02-18 12:25:03 +00:00
Martijn Coenen
5e906f8829 Update protected broadcasts used by NFC.
Change-Id: Ie7d062e83929e1058e19427f6ca624ab3f8ee472
2016-02-18 12:19:39 +01:00
Michal Karpinski
8c98d2b208 Applying final strings for remote bugreports after notification rework
Bug: 26226230
Change-Id: If9f6e882c545821fc36925fbdc4e0eff64115fe5
2016-02-18 10:55:40 +00:00
Adrian Roos
a41849c80c Merge "App Crashes: Clarify mute option" into nyc-dev 2016-02-18 01:35:35 +00:00
Chet Haase
f4bfeab164 Merge "Fix typo in CalendarView style docs" into nyc-dev 2016-02-18 00:31:45 +00:00
Adrian Roos
6837ded87b App Crashes: Clarify mute option
Change-Id: I3e0298980628091ee88590d231d295174454f68e
2016-02-17 23:15:06 +00:00
Adrian Roos
5607da49a8 Notification: Fix tombstones and action alignment
Bug: 27166437
Change-Id: I8ddacb31b908abcfc238a1559eef22e7b18b2187
2016-02-17 19:24:54 +00:00
Geoff Mendal
10121495c2 Import translations. DO NOT MERGE
Change-Id: I01c7b9f2ca1bdff55f474ddf2020051cb09d4b71
Auto-generated-cl: translation import
2016-02-17 08:27:36 -05:00
Michal Karpinski
910a367cbf Merge "Remote bugreport notifications rework" into nyc-dev 2016-02-17 10:53:19 +00:00
Chet Haase
5e1d7d0455 Fix typo in CalendarView style docs
Issue #26533040  Incorrect description for android:maxDate under CalendarView XML Attributes

Change-Id: Ib6d4f1578ca55007cbe4ffc5fb3ec547146c1e51
2016-02-17 00:24:54 +00:00
Jaewan Kim
c3e78d5e62 Merge "Revert "PIP: Use long press HOME for PIP on Android TV (2/2)"" into nyc-dev 2016-02-16 17:11:58 +00:00
Jaewan Kim
76b7d0d5d7 Revert "PIP: Use long press HOME for PIP on Android TV (2/2)"
Long press HOME will launch recents instead.

Bug: 27159966
Change-Id: I9a4fd847d716d7e4e4754c7a9c48628c46f82233
2016-02-16 09:09:18 -08:00
Jeff Sharkey
37fc7a7fc0 More protected broadcasts.
These actions are owned by the system and should not be sent by
third-party apps for security reasons.

Bug: 27171917, 27169730, 27172357, 27163393
Change-Id: I3161cd3c1c37d26a92723b22878dc5aef6f30c47
2016-02-16 09:41:57 -07:00
Michal Karpinski
e9377a7d84 Remote bugreport notifications rework
Merging two notifications into one.

Bug: 27095707
Change-Id: Ib6582dabb7370f9b3b6e673b19ab43b70c73433a
2016-02-16 16:34:35 +00:00
Jeff Sharkey
115d2c189a Add feature versions for devices and apps.
We're starting to see more instances of device features that will
increment separately from the SDK API level, such as camera HAL,
GPU capabilities, Bluetooth, and other hardware standards.

This change adds the ability for device features to specify a
version, which is defined to be backwards compatible.  That is, apps
requesting an older version of a feature must continue working on
devices with a newer version of that same feature.

When a version is undefined, we assume the default version "0".

Bug: 27162500
Change-Id: If890bf3f3dbb715e8feb80e7059a0d65618482ea
2016-02-15 17:45:42 -07:00
Rubin Xu
6bdd7cab5a Merge "Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras." into nyc-dev 2016-02-15 14:30:00 +00:00
Rubin Xu
b5f0049f98 Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras.
Change-Id: Ic949a0d7f72d46d7cc36018b4b0fc54024c3b180
2016-02-15 14:12:32 +00:00
Geoff Mendal
7c2d8e011a Import translations. DO NOT MERGE
Change-Id: Ie2f607c102f9345c68edc8eaca3eb6a73f622f5d
Auto-generated-cl: translation import
2016-02-15 08:26:51 -05:00
Kenny Guy
b1b302660c Support FBE for managed profiles.
Allow launcher to see and attempt to launch non-crypto
aware application when profile is locked.
Hide unlock notification until parent user is unlocked.
Have unlock notitication use confirm credentials to unlock
the profile.
Updated notification strings as per suggestions in mocks
to make it clearer between users and profiles.

Bug: 27038260

Change-Id: If2d2c8148670d814544f4edd44193d15da32a289
2016-02-12 14:29:37 +00:00
Jim Miller
f77d612568 Update FBE notification strings
Fixes bug 26863154

Change-Id: I6b130a8ba6e21e2cbd47551aabf5fc3e31f6f1c0
(cherry picked from commit 6338561c925fc4885275949d29193c14e83db71f)
2016-02-12 02:22:36 +00:00
Seigo Nonaka
d538e38a00 Introduce dimension of text edit related floating window.
This is a follow up CL of I5a9bcbe29400d6193eb0532a5e711a78a12383cd.
Floating toolbar and suggestion window has a same elevation and
layout_margin. Introduce dimension value for elevation and
layout_margin and refer them.

Bug: 15347319

Change-Id: I6c635398241b60415437707285faeac76a1a4b6d
(cherry picked from commit eee8941e52042ff8a9be1b20f91c8c5045aa3b83)
2016-02-11 15:54:02 +00:00
Mark Renouf
06844df823 Assign Theme.DeviceDefault.Settings -> Theme.Micro for watches
This theme is explicitly referenced via a ContextThemeWrapper,
used in InputMethodManager when constructing the alert dialog for
showInputMethodPicker(). This theme does not seem to be referenced
elsewhere in the platform.

BUG: 24803707
Change-Id: I5a67ef6e4387620a9624d13e7d76ef6f4f1d2cd2
2016-02-10 21:23:31 +00:00
Geoff Mendal
e0f0fd94f9 Import translations. DO NOT MERGE
Change-Id: I8e98fc3cdb339c3374a7e4acd6f5d3973963687c
Auto-generated-cl: translation import
2016-02-10 10:39:33 -05:00
Roozbeh Pournader
85fc47b8a0 Merge "Language list heading: add padding and make it bold [DO NOT MERGE]" into nyc-dev 2016-02-10 01:02:50 +00:00
Mihai Nita
e6beed8075 Language list heading: add padding and make it bold [DO NOT MERGE]
This makes it consistent with heading labels used in other areas
of the Settings app.

Bug: 26758145
Change-Id: I9b66e97b5a0a8b0646e4b345b25b6d93178fc8e6
(cherry picked from commit 5d1e9977350b85828f3ba533f3bf9d17917a9977)
2016-02-10 01:01:50 +00:00
Selim Gurun
8b67c1697e Merge "Introduce a use32bitAbi flag" into nyc-dev 2016-02-09 18:32:28 +00:00
Selim Gurun
2d291d89f9 Introduce a use32bitAbi flag
Bug: 26874366

On Multiarch apps, it might be necessary to prioritize 32bit Abi ahead
of 64bit ones. The use32bitAbi flag enables this.

This CL also reverts the public api changes in  I2c1fd1d036efe72b28b5fe996416df69a583959f and Ie3ecea6d84e2cb1522e736a21c3a3a24ac62eb27. Previously
the same functionality was provided using a raw abi string that
utilized cpuabioverride flag.

Change-Id: Idce3cbfedd11ef9079ce8a2901e69d30b1cf9ef4
2016-02-09 10:20:21 -08:00
Pavel Zhamaitsiak
d820abddd2 Make ACTION_RADIO_OFF protected
Bug: 25113145
Change-Id: Idcb88cb1fd06d4761ef1f634136f8ec697bf0851
(cherry picked from commit ae6688ca5d2b506eff29ba27c7532513f2da7da8)
2016-02-09 18:16:48 +00:00
Oren Blasberg
8ec0c5eb13 Fix vector "right arrow" drawable to be properly 24dp.
This drawable is used for cascading menus. It was 25dp on one dimension
before, for some reason. I verified it looks fine at 24x24.

Change-Id: Iff5d4f00655d77830d9492190b1a74ef6f408f47
(cherry picked from commit c007e91cc0519adeb4ff35e9e8c436231c2be822)
2016-02-09 00:58:13 +00:00
Siyamed Sinir
087d7b7c9c Merge "Do not save TextView text when freezesText is false" into nyc-dev 2016-02-08 22:51:33 +00:00
Abhijith Shastry
901bbe0667 Merge "Hidden permissions to access blocked numbers." into nyc-dev 2016-02-08 22:40:36 +00:00
Siyamed Sinir
027711904b Do not save TextView text when freezesText is false
Currently TextView state is saved whenever selection is set even if
freezesText is false. This causes inconsistencies with the described
behavior for the attribute. This CL updates the behavior as:
- Always save the text for EditText
- Always save the selection if there are any.
- Do not save the text for TextView if freezesText is false.
- During onRestoreInstanceState if selection is out of the text
  boundaries, do not restore the selection.

Bug: 22076905
Change-Id: I5e05d343e752a7d106c8881993e4d95ae21a38ce
(cherry picked from commit 8535836673c801effce097c54f55814ef88448e7)
2016-02-08 22:23:25 +00:00
Amit Mahajan
c08268e647 Make permission RECEIVE_EMERGENCY_BROADCAST public.
It is required to receive intent SMS_EMERGENCY_CB_RECEIVED_ACTION
which is already public.

Bug: 24914029
Change-Id: I2d5461fcedb2cb347c818ab6f94577008f6af242
(cherry picked from commit 45d9b36fc6a609893022b812084987cda3e3717d)
2016-02-08 22:20:03 +00:00
Abhijith Shastry
d6e1ed5906 Hidden permissions to access blocked numbers.
BUG: 26232372
Change-Id: I213622ef4623dadcf56745798fb3452c57fa4bd5
2016-02-08 14:18:56 -08:00
Geoff Mendal
ca0c6a2061 Import translations. DO NOT MERGE
Change-Id: I477868c67814a6bd353474266dbff375d3b26b4c
Auto-generated-cl: translation import
2016-02-08 13:10:39 -08:00
Geoff Mendal
c2a4bddc05 Import translations. DO NOT MERGE
Change-Id: I14edb5a78192ca001f700de6dcc57c1c55b528fc
Auto-generated-cl: translation import
2016-02-08 11:22:17 -08:00
Geoff Mendal
4f4b41911d Import translations. DO NOT MERGE
Change-Id: Ibace3035d3275c1fdbb39cd3769844dfaef35d00
Auto-generated-cl: translation import
2016-02-08 10:52:49 -05:00
Chris Wren
10c63d8a12 move assistant to system API
Bug: 26693581
Change-Id: I7e29b8521e2c33683b8032e63da734cfde1dfcc9
2016-02-05 14:55:35 -05:00
Selim Cinek
2a7fc72ac4 Merge "Adapted the notification header colors to spec" 2016-02-05 19:22:01 +00:00
Selim Cinek
aef485a32a Adapted the notification header colors to spec
Change-Id: Ifa9483a5e71f32be2df14912982076d7bf2a6e9a
2016-02-05 10:43:00 -08:00
Adam Powell
fbaa5a8c04 Merge "Make ChooserActivity grid items focusable" 2016-02-05 01:04:24 +00:00
Adam Powell
62c0ee5755 Make ChooserActivity grid items focusable
Because keyboards are pretty cool.

Bug 26469615

Change-Id: Ie7a1a50c846ab9702821f9cf585f6d2c775cea38
2016-02-04 16:56:00 -08:00
Adrian Roos
5df0661daf Merge "App crash dialog polish" 2016-02-04 22:39:20 +00:00
Adrian Roos
70b89ce0bd App crash dialog polish
Bug: 26854994
Change-Id: I9b1012b00dbbcc5da27b5a32f0f8bd42187fa552
2016-02-04 14:36:14 -08:00
Selim Cinek
c1e3a38d29 Merge "Not truncating notification info anymore" 2016-02-04 18:29:41 +00:00