6997 Commits

Author SHA1 Message Date
Amith Yamasani
919e36d5f6 Merge "Allow non-system apps to use restricted accounts" into jb-mr2-dev 2013-04-15 20:59:50 +00:00
Amith Yamasani
e993ae197b Allow non-system apps to use restricted accounts
Anyway they need to request account access and user will be asked to approve access to the account
at runtime.

Bug: 8617168
Change-Id: I31de852b9bb25f496becc3e6470265b5c330e6ad
2013-04-15 13:42:57 -07:00
Baligh Uddin
87d19d04ea Import translations. DO NOT MERGE
Change-Id: Ifcb746e1bec6ba3252d57feef425738ef84636e6
Auto-generated-cl: translation import
2013-04-15 08:59:28 -07:00
Amith Yamasani
ccbe389b4d Introducing manifest flag requiredAccountType
This can be used by apps that won't work without an account of that
type in the limited user environment. This way we can avoid letting
users select these apps when setting up a limited user.

Bug: 8600261
Change-Id: Iaa0dd5ff88e89fa7a1d8a4e70317290268411bdb
2013-04-12 17:52:42 -07:00
Baligh Uddin
51d2a4359b Import translations. DO NOT MERGE
Change-Id: I10fbc89bea48711ace448934bab2aacf6afd9549
Auto-generated-cl: translation import
2013-04-12 08:47:44 -07:00
Dianne Hackborn
7721664288 Merge "Implement #7341342 API request: way to determine current orientation..." into jb-mr2-dev 2013-04-12 00:08:13 +00:00
Dianne Hackborn
b9ec1ac51b Implement #7341342 API request: way to determine current orientation...
...to allow for orientation locking

This doesn't add an API to get the current orientation, since that is
inherantly racy.  Instead there is a new "locked" orientation mode that
locks the screen into whatever the current rotation is.

While at it, added a few other useful orientation modes.

Change-Id: I5c369e6511cb72294e9e922ea8acffd770df9440
2013-04-11 17:07:40 -07:00
Jeff Sharkey
6f0a36e691 Merge "Enforce READ_EXTERNAL_STORAGE on emulator." into jb-mr2-dev 2013-04-11 22:16:51 +00:00
Nick Kralevich
32eb5b1824 Optional <uses-permission> not yet supported.
Change-Id: Ieaa97a29db75161f35905ff340b2c525bbf50612
2013-04-11 10:20:09 -07:00
Amith Yamasani
b3a9872549 Merge "Show an error dialog when account type is requested on a limited user" into jb-mr2-dev 2013-04-11 00:27:49 +00:00
Jeff Sharkey
1153a302b6 Enforce READ_EXTERNAL_STORAGE on emulator.
Bug: 7203378
Change-Id: Iecc6e3caebfad714f8f6de6d036644c57e88a1af
2013-04-10 15:42:13 -07:00
Amith Yamasani
23c8b96a7e Show an error dialog when account type is requested on a limited user
This covers the scenario where an app doesn't find an account of the
required type and requests the account manager to add one of that
type.

Bug: 8537648
Change-Id: I4d9c8842c2d90aa668f16034d3db007dc61714b8
2013-04-10 15:36:54 -07:00
Jaikumar Ganesh
8ce470dd4b GPS Hardware geofencing.
Add support for doing geofencing in hardware.

Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
2013-04-10 15:25:07 -07:00
Baligh Uddin
0cb1990921 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-10 19:36:55 +00:00
Dianne Hackborn
8f980e1a5a Merge "Reduce duration of rotation xfade animation." into jb-mr2-dev 2013-04-10 17:48:21 +00:00
Baligh Uddin
4b359f7246 Import translations. DO NOT MERGE
Change-Id: I82df70ed91e543b19e8c8b0ed5002cecec5e293d
Auto-generated-cl: translation import
2013-04-10 09:08:43 -07:00
Adam Powell
da26650b39 Integrate inverted menu panel assets
Add assets for menu panels when holo menus appear above their anchor
rather than below.

Bug 7049080

Change-Id: I7803f9414c2b2cb96274bf062adeccfc302a0d43
2013-04-09 19:22:57 -07:00
Baligh Uddin
5660b4843e Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-09 17:34:24 +00:00
Baligh Uddin
4c4a07ce1f Import translations. DO NOT MERGE
Change-Id: Ia150446de499f4272f73b1c5f30bf5adc7b0ae39
Auto-generated-cl: translation import
2013-04-08 10:26:44 -07:00
Daniel Sandler
91fe8455d6 Clean up language in forced foreground service notifications.
Old:  [ IC ] %s running
      [ ON ] %s is running

New:  [ IC ] %s is running
      [ ON ] Touch for more information or to stop the app.

Additionally, disallow these misbehaving services from
supplying their own content views; if you attempt to run a
foreground service with icon == 0, this is the notification
you will get, period.

Bug: 8525548
Change-Id: I2bfd7340396ef925885e8c2160a720f9eff07a35
2013-04-08 13:01:02 -04:00
Nick Kralevich
d7c4186ae0 Merge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev 2013-04-07 17:53:27 +00:00
Nick Kralevich
ddfbe00b66 AppSecurityPermissions: add support for revoking permissions
Add UI support for revoking optional permissions. When the user
taps on an optional permission, two new boxes will appear:

  [Cancel] | [Revoke]

Selecting [Revoke] will revoke the permission from the app.

The [Cancel] / [Revoke] options are only shown for apps which support
optional permissions.

Bug: 8332307
Change-Id: I27e374773747737e3a6d7f48ea1448a0178e3393
2013-04-05 18:42:03 -07:00
Adam Powell
e0e2f4fd3a Fix accessibility in action bars and add extra customization
Fix a bug where the content description of the big unified Home/Up
button was not getting set properly.

Add the ability to change the home-as-up glyph from ActionBar.

Add the ability to set a custom action description for the home-as-up
button, useful if the above functionality is used.

Bug 8548229

Change-Id: I0635799772c7234b68247dfc105dce7f11acda32
2013-04-05 16:46:22 -07:00
Fabrice Di Meglio
c51628aa6f Merge "Fix AlertDialog in RTL mode" into jb-mr2-dev 2013-04-05 21:17:50 +00:00
Daniel Sandler
5feceebb89 New NotificationListenerService.
This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
2013-04-05 19:54:44 +00:00
Ben Gruver
65f420ec98 Merge "Add a config updater component for the intent firewall" into jb-mr2-dev 2013-04-05 16:35:26 +00:00
Baligh Uddin
1cbe12157f Import translations. DO NOT MERGE
Change-Id: Ifb0d09822f93bb719c48bc3e0108e0f81c592c66
Auto-generated-cl: translation import
2013-04-05 08:50:47 -07:00
Ben Gruver
633dc9bcef Add a config updater component for the intent firewall
Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3
2013-04-04 19:46:22 -07:00
Fabrice Di Meglio
5a78b1b20d Merge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" into jb-mr2-dev 2013-04-04 21:16:43 +00:00
Fabrice Di Meglio
787e662c0d Fix for bug #8146846 Phone App should be mirrored for RTL languages
- add RTL version of quickcontact badge overlay

Change-Id: I007d0dae9ceec9c42684e45a735ea6b06aa6f9a0
2013-04-03 21:01:58 -07:00
Baligh Uddin
572c241047 Import translations. DO NOT MERGE
Change-Id: I75964c44ea483a91bc9e4be7433055be4cca57cf
Auto-generated-cl: translation import
2013-04-03 09:02:22 -07:00
Justin Koh
d378ad74c6 Add global key configuration file
Add global key configuration file. A global key is one that is handled by
PhoneWindowManager before dispatching and sent to a given component via
broadcast instead of going to the foreground app.
Bug: 8510681

Change-Id: Ic6a8e559680d005613ed22874b27eb78bbfc4499
2013-04-02 18:09:27 -07:00
Fabrice Di Meglio
c238f51958 Fix AlertDialog in RTL mode
- the list view need to define textAlignment to "viewStart" so that the
list view items will inherit it.

Change-Id: Ib8cd75f28dcaf8a1afb22dd595490afa8e24d25f
2013-04-01 14:17:56 -07:00
Baligh Uddin
d087c4ee5b Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-03-31 02:51:01 +00:00
Amith Yamasani
42bc734b30 Merge "Block access to accounts for limited users." into jb-mr2-dev 2013-03-31 01:32:39 +00:00
Amith Yamasani
27db46850b Block access to accounts for limited users.
Make sure that apps that have access to restricted accounts can see them.
If they don't have access, they shouldn't be able to add a new account either.
Show an error message in the account picker if the user/app is not authorized.

Change-Id: I117c0b14d7d06c5ac4e66506df156b174567f5f3
2013-03-30 18:25:49 -07:00
Baligh Uddin
24480faa6b Import translations. DO NOT MERGE
Change-Id: Idf70f5a7b5c553d0b7d96caa6e4a9dc2057a97fa
Auto-generated-cl: translation import
2013-03-29 17:34:35 -07:00
Geremy Condra
77118fb55e Add SELinux updater and Settings-based enforcement switch.
Bug: 8116902
Change-Id: Ifac495026a354dac7655c28ea2188499a2a319aa
2013-03-29 16:52:56 -07:00
Dianne Hackborn
a57c695bf2 Reduce duration of rotation xfade animation.
Also add code for tracking how long a rotation takes,
and who is causing it to take that time.

Change-Id: Ie3352ddfddd247f5a5c08f7da6bfe6b4da607ba2
2013-03-29 15:03:18 -07:00
Fabrice Di Meglio
3dc52ce711 Merge "Fix bug #8505156 WiFi properties dialog is having some issues in RTL mode" into jb-mr2-dev 2013-03-29 19:38:50 +00:00
Fabrice Di Meglio
618e3aafdd Fix bug #8505156 WiFi properties dialog is having some issues in RTL mode
- title should be "viewStart"
- link speed should be also "viewStart"

Change-Id: I8d85dd8b6850f8ae4c972dad40642c33b9004dce
2013-03-28 20:23:23 -07:00
kmccormick
798bb6175f am 5652935a: am 5a5ff0b8: am 6754e05b: am c1fbc91b: am a42ddee1: Merge "Doc update: fix broken XML causing prob in View" into jb-mr1.1-docs
* commit '5652935aef0a1a9ecb6eef5550eb0e6a52999135':
  Doc update: fix broken XML causing prob in View
2013-03-28 17:27:26 -07:00
kmccormick
5652935aef am 5a5ff0b8: am 6754e05b: am c1fbc91b: am a42ddee1: Merge "Doc update: fix broken XML causing prob in View" into jb-mr1.1-docs
* commit '5a5ff0b807f456055a7eadb46bca7f674585529d':
  Doc update: fix broken XML causing prob in View
2013-03-28 17:25:18 -07:00
kmccormick
5a5ff0b807 am 6754e05b: am c1fbc91b: am a42ddee1: Merge "Doc update: fix broken XML causing prob in View" into jb-mr1.1-docs
* commit '6754e05b4e034a5118d669a547708c7adebd3202':
  Doc update: fix broken XML causing prob in View
2013-03-28 17:23:03 -07:00
kmccormick
ac7122d984 Doc update: fix broken XML causing prob in View
"Bug: 5873694"

Change-Id: I2b2a822538886825f8a863c741f2aebb665883f8
2013-03-28 17:04:00 -07:00
Elliott Hughes
94eaab4a5d am 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]"
* commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30':
  Correct executable bit for source files [Take 2]
2013-03-28 14:29:21 -07:00
Elliott Hughes
a19647d3d8 Merge "Correct executable bit for source files [Take 2]" 2013-03-28 20:50:34 +00:00
Amith Yamasani
e494a81f9b Merge "Restricted account visibility" into jb-mr2-dev 2013-03-28 20:31:44 +00:00
Amith Yamasani
0ac1fc9d23 Restricted account visibility
When accounts are shared to a restricted/limited user, apps can
opt-in to viewing accounts of a certain type. Other shared accounts
are not visible to the app.

App would specify the account type in the manifest <application> tag
with the attribute restrictedAccountType="foo.bar", where "foo.bar"
is the account type as defined by the authenticator.

Change-Id: I7586da04d6d6d32aae15adc6b1366f325bb07384
2013-03-27 18:56:08 -07:00
Nick Kralevich
98ea19ed24 Merge "Reenable optional permissions parsing and expose APIs" into jb-mr2-dev 2013-03-28 00:13:45 +00:00