12679 Commits

Author SHA1 Message Date
Svetoslav Ganov
2c99ea3524 Merge "Remove not needed contacts related permissions." into mnc-dev 2015-06-23 23:04:20 +00:00
Svetoslav Ganov
6d2c0e5ee2 Remove not needed contacts related permissions.
This reverts commit ed5ff51b2ca7c051e2719dfc8a8a083e6208848e.

Change-Id: If2407e4e474a438d95e1b7ad1aa6f441bb3ace08
2015-06-23 23:03:55 +00:00
Adam Lesinski
8144aa2e9a Merge "Allow system apps to be granted android.permission.PACKAGE_USAGE_STATS" into mnc-dev 2015-06-23 21:37:20 +00:00
Adam Lesinski
f374a4bc2a Allow system apps to be granted android.permission.PACKAGE_USAGE_STATS
Bug:22008542
Change-Id: Ifb4565ec8077e88596f0304328c083c7d1c9db04
2015-06-23 14:15:04 -07:00
Jeff Davidson
8d9ad19341 Merge "Default permissions for carrier apps." into mnc-dev 2015-06-23 20:43:06 +00:00
Jeff Davidson
2a88031208 Default permissions for carrier apps.
Grant permissions in the PHONE and LOCATION buckets to default carrier
apps as defined by the telephony stack. Provide a system API to grant
default permissions for carrier apps, as the set of apps may change
when a new SIM is inserted.

Since the phone process is separate from the system process, we need
to allow for binder calls to these APIs.

Also fix a log tag that is too long (android.util.Log drops messages
silently if the tag is > 23 characters).

Bug: 21696731
Change-Id: I98ca0c49c69f621f835ba57c1fd0505f2cec0d0d
2015-06-23 09:55:23 -07:00
Bart Sears
1ef23adef8 Merge "Revert "Remove not needed contacts related perissions."" into mnc-dev 2015-06-23 06:18:20 +00:00
Bart Sears
ed5ff51b2c Revert "Remove not needed contacts related perissions."
Broke the build, reverting.

This reverts commit a2991da0d671adf511ccb884cf25bf1241303f92.

Change-Id: I2bdfa70fbd8a6c03e48426f85eeb63896762d5da
2015-06-23 06:16:25 +00:00
Nancy Chen
4d30d34294 Merge "Add vvm short codes to white list for sms messages." into mnc-dev 2015-06-23 04:42:54 +00:00
Svet Ganov
2b5bec9356 Merge "Remove not needed contacts related perissions." into mnc-dev 2015-06-23 04:00:06 +00:00
Adam Powell
9f49dcda24 Merge "Add voice interaction support to ResolverActivity/ChooserActivity" into mnc-dev 2015-06-23 01:18:28 +00:00
Adam Powell
4c470d641c Add voice interaction support to ResolverActivity/ChooserActivity
All options are sent to the VoiceInteractor once ChooserTargetServices
have reported in. We don't perform explicit progressive refinement or
filtering, but an explicit option picked will be invoked.

Also fix a lingering bug around being able to nested-fling the
resolver drawer closed.

Bug 21516866

Change-Id: I6b141f5fa87d74dccec9dcb88110630696e9c38e
2015-06-22 18:11:10 -07:00
Vinit Deshpande
a2cbb3e632 Merge changes from topic 'mwd-merge-wifi-062215' into mnc-dev
* changes:
  Added config_wifi_hotspot2_enabled.
  make sure wifi link stats are reset
2015-06-23 00:21:34 +00:00
Jan Nordqvist
c88e8b230b Added config_wifi_hotspot2_enabled.
Change-Id: I1ebf3137e00d2b3cfb6079f599fb0ede6f56df34
(cherry picked from commit ecddf7925fd95ecedfc5bd628109ee7097979f12)
2015-06-22 16:31:08 -07:00
Alan Viverette
2928f184b9 Merge "Invert time picker dialog column order when in RTL layout" into mnc-dev 2015-06-22 23:10:12 +00:00
Alan Viverette
81598d7adf Invert time picker dialog column order when in RTL layout
Bug: 21933765
Change-Id: I39becd18f093ea2d3e9adf8affc9b32dfce19c8e
2015-06-22 15:25:08 -07:00
Jeff Davidson
50ca295020 Define a list of carrier apps to disable by default until use.
Bug: 21814643
Change-Id: Ifc8b99526fbe3aa5e276d2d1c1872a9b8d89f9ec
2015-06-22 15:07:41 -07:00
Svet Ganov
a2991da0d6 Remove not needed contacts related perissions.
Removing the read/write profile/social stream permissions as they
are not needed anymore. These permissions are for accessing data
nested in the conacts provider which is already guaded by the
read/write contacts runtime permissions. The removed permissions
would be in the contacts group which means they would not provide
more protection compated to read/write contacts. Also removing
the permissions voids the need for app op support for legacy apps.

Removed deprecated APIs for social streams as these were deprecated
and will go away in the next release. We want apps targeting M to
not be able to compile if still suing these APIs to help with
migration.

Change-Id: I26ed9055847af7f92c78eb0f4ac8f9f1aa616fcd
2015-06-22 13:20:55 -07:00
Jason Monk
6283a12579 Merge "ButtonBarLayout: Let allowStacking to be set through code" into mnc-dev 2015-06-22 19:53:01 +00:00
Jason Monk
5658328d8d ButtonBarLayout: Let allowStacking to be set through code
Bug: 21997648
Change-Id: I7ac38d39b4aa282f59b7d13f21d06c7c465ebb20
2015-06-22 14:47:00 -04:00
Dianne Hackborn
5d1462f708 Merge "Fix issue #21930140: Add config to turn off auto power features" into mnc-dev 2015-06-22 18:29:51 +00:00
Geoff Mendal
c424d1f0fa Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-22 17:42:14 +00:00
Geoff Mendal
0365d4acbc Import translations. DO NOT MERGE
Change-Id: If66d91682adc7a02ebbf87e63b542d91c3d44037
Auto-generated-cl: translation import
2015-06-22 10:30:49 -07:00
Dianne Hackborn
92617036fc Fix issue #21930140: Add config to turn off auto power features
Doze and app standby are now off in the default platform config.
The Google overlay turns them on.  Other people can do that as
well, if they are feeling like it.

Change-Id: Ic8a87f696df94f2d8354fe0772d03b672f464e32
2015-06-22 10:09:45 -07:00
Rubin Xu
c54bcade1b Merge "New internal permission to protect apps against rogue Nfc message." into mnc-dev 2015-06-22 15:44:51 +00:00
Svet Ganov
d8e247db8c Make READ_EXTERNAL_STORAGE dangerous
We have a new storage permission group that has read and
write external storage. However, read external storage is
(not a regression) a normal permission while write is a
dangerous one. This leads to cases where the user disables
the Storage permission and apps still read form it. This
change makes read external storage a dangerous permission.

bug:21949045

Change-Id: I7e28f629dda6e9c1f70cb20a3d5bea74fb109890
2015-06-19 23:57:52 -07:00
Hyunyoung Song
95499dcbb4 Merge "Change com.android.launcher.permission.INSTALL_SHORTCUT permission to normal level https://docs.google.com/document/d/12H0b6R2tmyIoNoOs2t8PbyzlGFcbxT8OnGpRb6P6c6s/edit" into mnc-dev 2015-06-19 23:07:53 +00:00
Hyunyoung Song
8a1533ed2e Change com.android.launcher.permission.INSTALL_SHORTCUT permission to normal level
https://docs.google.com/document/d/12H0b6R2tmyIoNoOs2t8PbyzlGFcbxT8OnGpRb6P6c6s/edit

b/21853008

Change-Id: If9c4e88fd2074de17814120d111546d6ecf58cf4
2015-06-19 15:27:42 -07:00
Rubin Xu
1213487aa7 New internal permission to protect apps against rogue Nfc message.
Bug: 19838376
Change-Id: Id23f6d14ce8d93988e4382ea0d0dc5c586456bf7
2015-06-19 20:38:43 +01:00
Nancy Chen
eca4194269 Add vvm short codes to white list for sms messages.
These are the short codes to text for activating visual voicemail on
select carriers. The whitelist is necessary so that the user does not
get unexpected warning messages because the system is quietly activating
visual voicemail.

Bug: 20499563
Change-Id: Ibe44b89cb5243fc84e750a8824659d9a04e80abc
2015-06-19 11:00:47 -07:00
Gustav Sennton
1b48a6430a Merge "Revert "Load WebView from one out of a list of packages."" into mnc-dev 2015-06-19 13:23:52 +00:00
Gustav Sennton
d973018221 Revert "Load WebView from one out of a list of packages."
This was not a clean revert!

This reverts commit 2ed6fee15c85ff991f64ecfa8c1c4738e0fdf9b6.
We essentially only revert the functionality for going through a list of
WebView package names and picking the first compatible one.
Except for that functionality we also fetched the name of the shared
library from a flag in WebView and made some minor refactoring in the
initial commit, these changes have been left alone in this revert.

Bug: 21893371
Change-Id: Idb2539dc33cc5f9e2894ecd665c23573c6cba9f3
2015-06-19 11:38:56 +01:00
Pierre Vandwalle
0b00db8eeb Merge "create Wifi PNO ALARM intent" into mnc-dev 2015-06-18 23:13:19 +00:00
Todd Kennedy
f29c4a07f4 Merge "Add getPackageImportance() system API" into mnc-dev 2015-06-18 22:37:40 +00:00
Todd Kennedy
69810483c7 Add getPackageImportance() system API
Callers must have the permission GET_PACKAGE_IMPORTANCE

Bug: 20642684
Change-Id: I6f3ef2ec810c884e0dee239e5909bcb314957302
2015-06-18 15:27:44 -07:00
Alan Viverette
f1da9a1401 Merge "DO NOT MERGE: Remove DayNight theme" into mnc-dev 2015-06-18 22:21:49 +00:00
Alan Viverette
15d48a16f6 DO NOT MERGE: Remove DayNight theme
Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.

Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.

Bug: 21854466
Change-Id: I0b7cd116c23f7df88e94f31b3aee7dd22a102804
2015-06-18 15:15:16 -07:00
Pierre Vandwalle
b6ca937abe create Wifi PNO ALARM intent
Change-Id: I9bdae8ae37e30d36bf82b731468b8a157bb2862b
2015-06-18 14:48:39 -07:00
Vineeta Srivastava
7105fd43d2 Merge "Add config_tether_apndata for Canada MVNO" into mnc-dev 2015-06-18 20:12:29 +00:00
Craig Lafayette
b4c469095f Merge "Remove FRP wipe support for device initializers" into mnc-dev 2015-06-18 15:44:49 +00:00
Abodunrinwa Toki
e8378476b5 Merge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev 2015-06-18 01:05:07 +00:00
Raph Levien
8872ca4d55 Merge "Remove indents from TextView" into mnc-dev 2015-06-17 23:06:17 +00:00
Raph Levien
8edac58e55 Remove indents from TextView
On more careful reflection, the "indents" feature was not ready for
inclusion in the public API. It is still available at a lower level
in StaticLayout.

Also fix a minor typo in the doc for breakStrategy.

Bug: 20641996
Change-Id: I5cd976a536c48615980860396b1564b51b19e14a
2015-06-17 15:53:33 -07:00
Alan Viverette
2b18e42b7b Merge "Seekbar track background alpha should be disabledAlpha" into mnc-dev 2015-06-17 22:20:21 +00:00
Alan Viverette
3e9c4a82f4 Seekbar track background alpha should be disabledAlpha
Bug: 21728222
Change-Id: I92f21e85781ba6ed51858112aa67e00bf10914ae
2015-06-17 15:16:08 -07:00
Alan Viverette
0d96264bb6 Merge "Revert spinner caret size to 24x24dp" into mnc-dev 2015-06-17 22:10:27 +00:00
Nicolas Prevot
ad81a28556 Merge "In intent picker dialog, change "personal apps" to "personal"." into mnc-dev 2015-06-17 21:56:37 +00:00
Alan Viverette
833e24f41f Revert spinner caret size to 24x24dp
Bug: 21754326
Change-Id: I5f52ee96e73c7a6bddb20dd4361e2084e77a6efe
2015-06-17 14:42:32 -07:00
Adam Powell
074c340420 Merge "Add matching xml attributes for existing Toolbar properties" into mnc-dev 2015-06-17 20:22:37 +00:00
Nicolas Prevot
e973baeba3 In intent picker dialog, change "personal apps" to "personal".
Also setting a maximum length for the translations.
For some languages, the translation of "personal apps" took
too much space.
"Personal" is also more consistent with the string "work", used
for personal -> work.

BUG: 20481950
Change-Id: I595072d7ff267f1a110a43bb708bf48840ea750f
2015-06-17 12:44:32 -07:00