Commit Graph

4949 Commits

Author SHA1 Message Date
Svetoslav Ganov
bc2c3db8f9 Add print job settings screen.
Added a list of active print jobs to the main print settings
screen. Selecting a print job from there leads to a print job
settings screen with more information about the print job and
actions to change the prit job state such as cancel and restart.

bug:10935736

Change-Id: Idd6826a998309941c3d8478dafe4b039c8ca4f45
2013-09-26 13:58:59 -07:00
Martijn Coenen
077f83a22c Merge "Latest UX for Tap & pay." into klp-dev 2013-09-26 17:57:47 +00:00
Amith Yamasani
cb407569b3 Merge "Make sure that external callers cannot pass in the confirm bypass extra" into klp-dev 2013-09-25 23:48:34 +00:00
Martijn Coenen
0e940d6c00 Latest UX for Tap & pay.
Bug: 10862185
Change-Id: I4344f70533a69d422159547c58bbc981f4d889ca
2013-09-25 15:01:24 -07:00
Amith Yamasani
66026773bb Make sure that external callers cannot pass in the confirm bypass extra
Security fix for vulnerability where an app could launch into the screen lock
change dialog without first confirming the existing password/pattern.

Also, make sure that the fragments are launched with the correct corresponding
activity.

Bug: 9858403
Change-Id: I0f2c00a44abeb624c6fba0497bf6036a6f1a4564
2013-09-25 14:05:33 -07:00
Brian Carlstrom
372b6f74b1 Enable runtime selection for art for user builds
Bug: 10069754
Change-Id: I4b9780b52d3aac900e5d4da629e3e6b22c3cb323
2013-09-25 11:22:19 -07:00
Edward Jee
5ad8bf0700 Merge "Once the user allows PBAP phonebook access, do not ask again." into klp-dev 2013-09-24 22:23:26 +00:00
Christopher Tate
254975aac1 Merge "Use a generic icon for Home" into klp-dev 2013-09-24 18:44:14 +00:00
Jeff Sharkey
d572a03ad8 Use a generic icon for Home
It's only a *foolish* consistency that is the hobgoblin of
little minds.

Bug 10849877

Change-Id: Ice60cbb13a754edc104ae8630cb3d8dfe637d1af
2013-09-23 17:48:37 -07:00
David Christie
4fff3d9b9d Merge "Don't show background apps in Settings->Location (b/10806272)" into klp-dev 2013-09-24 00:18:39 +00:00
David Christie
b1e381be21 Don't show background apps in Settings->Location (b/10806272)
Change-Id: I7ed0249bbc4509e4116dfc88181faccde60365e1
2013-09-23 15:52:24 -07:00
Edward Jee
46c746551f Once the user allows PBAP phonebook access, do not ask again.
Bug: 9876209
Change-Id: I8d9dcfa03e8d85577af4c4664fa34b3830e3d8f6
2013-09-23 15:21:27 -07:00
Dianne Hackborn
88cf7709cb Implement issue #10895990: Better durations for proc stats
Add new option to select data duration to show, with the default
being 3 hours.

Reworked how menus are updated to remove redundant code.

Switch to using new proc stats service API for retrieving stats,
which is more efficient and won't hit IPC limits.

Fixed layout for details items to ellipsize long items.

Change-Id: I1a0f8a4adf8fc330c2639077323c6379d23ad987
2013-09-23 15:02:13 -07:00
David Christie
1efb1b52d6 Merge "Remove "Android System" from recent apps list in Settings (b/10855277)" into klp-dev 2013-09-21 16:33:51 +00:00
Svetoslav
995e69d1e1 Merge "Offer to enable a print service after it is installed (Settings)." into klp-dev 2013-09-21 01:15:52 +00:00
David Christie
bec860d6c4 Remove "Android System" from recent apps list in Settings (b/10855277)
Change-Id: I22d74c22c482786298af088abb7b25c790fd4b21
2013-09-20 18:08:54 -07:00
Svetoslav
0ad40283bb Offer to enable a print service after it is installed (Settings).
The user has to explicitly enable a print service from the settings UI
before using it. Usually, users very rarely if at all interact with print
services, therefore all print service management task are performed from
the print settings. We also have to get user consent warning that the
user's data is about to be given to a third-party app. We now post a
notification allowing the user to go directly to the settings screen to
turn the service on.

bug:10447510

Change-Id: Ibfb5368a09b1e012dd6dd0f3d33a5ad10e5ee00e
2013-09-20 17:34:34 -07:00
David Braun
1a2bfad425 Merge "Fix crash rotating with default SMS dialog up." into klp-dev 2013-09-20 23:29:41 +00:00
David Braun
be1f0a111e Fix crash rotating with default SMS dialog up.
Bug: 10845396 NPE storage == null when user rotates device while setting up 'Default SMS app'
Change-Id: I9a19ede726caabe5e66b83951585380768b66be6
2013-09-20 14:15:32 -07:00
Christopher Tate
8243c9a722 Incorporate home metadata into app details UI
Just as we don't expose disable/uninstall of home applications in this UI,
we now also don't allow disable/uninstall of packages that are proxying
for home apps via the android.app.home.alternate meta-data mechanism.

Also, don't display the 'Home' settings top-level category at all when
there is only a single available home app.

Finally, explicitly note the current user when sending broadcasts,
otherwise API sanity checks get suspicious.

Bug 10749961

Change-Id: I13e11032cb571df19798c4e13c91a572d1ee61a7
2013-09-19 15:39:42 -07:00
Christopher Tate
6741d4db7b Merge "Use META_HOME_ALTERNATE for home app uninstall target" into klp-dev 2013-09-19 19:46:07 +00:00
Christopher Tate
1ea5497562 Use META_HOME_ALTERNATE for home app uninstall target
So a bundled home app can proxy install/uninstall to a non-bundled
package cleanly.

Bug 10749961

Change-Id: Ia35663fc46c068fe17eafa9116b6dda34c124b04
2013-09-18 18:37:04 -07:00
David Braun
d810a6a59a Merge "Implement new method for handling SMS/MMS on the platform" into klp-dev 2013-09-17 22:15:13 +00:00
Amith Yamasani
f48e4b5bf6 Merge "Don't crash on rotation when cropping a profile picture" into klp-dev 2013-09-17 00:07:48 +00:00
David Braun
4e9f04de0a Implement new method for handling SMS/MMS on the platform
Multi project change:
The changes in this project update the settings app to support the new
default SMS app setting. I have also updated the order of the wireless
settings in the UX as per request from rachelg.

Bug: 10449618
Change-Id: Iba1ac6ea3f29c2a72af83b122ec5ea3a16a28e58
2013-09-16 13:45:42 -07:00
Svetoslav
256e51d328 Merge "Ignore print service settings activities if they are not exported." into klp-dev 2013-09-16 00:16:56 +00:00
Dianne Hackborn
2d29fad197 Merge "Various proc stats UI improvements." into klp-dev 2013-09-16 00:04:51 +00:00
Dianne Hackborn
49759af6b0 Various proc stats UI improvements.
- Option to include system processes.
- Option to use uss instead of pss sizes.
- Option to select type of stats: background processes, foreground (top)
  processes, cached processes.
- Details now shows max mem usage.

Change-Id: Ic994564ce846bc1021bf35576feeb9ef095b0e48
2013-09-15 13:22:28 -07:00
Svetoslav
17e72aa90b Ignore print service settings activities if they are not exported.
1. The print spooler cannot start not exported activities and they
   should not be started from another application anyway. Therefore,
   we do not start them from settings too even though settings can
   do that since it is signed with the platform certificate.

2. Adding some string changes to meet the translation deadline.

bug:10680224

Change-Id: I69c189e1c502985aceb68d269492f2e86de44ec4
2013-09-15 03:00:54 -07:00
Maggie Benthall
9d6c40e56d Activity for messaging installed CA certs, and icon in Settings.
Add the MonitoringCertInfoActivity, used by Settings, QuickSettings
and notification to explain about CA certs enabling network traffic
monitoring.
Add a button on the Security item in Settings when a cert is installed.

Bug: 10633199

Change-Id: Ic753fe22b66c30d837a9ba471a0632a07bb7471f
2013-09-14 15:02:51 -04:00
Amith Yamasani
b8e39041a5 Merge "Allow space management for device admins" into klp-dev 2013-09-13 23:52:01 +00:00
Zhihai Xu
856df43c06 Merge "MAP 1.1 Review fixes" into klp-dev 2013-09-13 23:00:36 +00:00
Kim Schulz
5d2595f051 MAP 1.1 Review fixes
- Fixes to the issues found during review.
- added support for BluetoothProfile ProfileService Classes
- Added new MapProfile.java to comply with new structure
- changed ORDINAL to use BluetoothProfile.MAP directly
- Moved construction of MapProfile to LocalBluetoothProfileManager constructor
- Added support for multiple concurent permission activities and/or multiple notifications (i.e. pbap and map permission request right after each other)
- cleanup
- changed settings to use Notification.Builder
- made the notifications for map/pbab more informative
- added handling of back button + "clear all notifications"

Bug:10692365
Change-Id: I9803c9658a96b1a9c1d4734d2fdd22f1421d2827
2013-09-13 15:44:26 -07:00
Christopher Tate
e238a47f5e Introduce 'Home' settings
Bug 9958444

Change-Id: I868f5b7aa6ae9273b725cb96e80821a82569e7e0
2013-09-13 12:50:41 -07:00
Amith Yamasani
7f5f0bb2ae Don't crash on rotation when cropping a profile picture
Bug: 8910780

Keep track of pending activity result and avoid deleting the intermediate file.

Change-Id: I56f63e1348c8b1f5229ad3e135016b8b75d3a335
2013-09-13 12:12:08 -07:00
Amith Yamasani
c6fe9cc319 Allow space management for device admins
If an active device admin has a space management UI, enable the button
to manage space.

Bug: 10527304

Change-Id: I1d03eec6d766b49b1c3d9bb30151db4cad7e84e8
2013-09-13 10:52:02 -07:00
David Christie
8b4cdbebcf Fix recent apps in appops.
Prior to this fix all apps would disappear from settings->location
15 minutes after the request was first made (even if request
was ongoing).  Tested this out - apps requesting location longer
than the threshold stay in the list, and apps stay in the list exactly
the threshold time after the location request ENDS.

Change-Id: I7d4db25c615df2ec41e93b1b3191ba606d26719d
2013-09-12 18:01:28 -07:00
Alan Viverette
9b625f0baa Fix manifest entry for CAPTIONING_SETTINGS action
BUG: 10708261
Change-Id: I54cfd8eaae97ed3da165521b9b4e73924bd3f0e1
2013-09-11 13:03:14 -07:00
Martijn Coenen
52df3343ab Merge "HCE: Latest UX and strings." into klp-dev 2013-09-11 17:52:36 +00:00
Martijn Coenen
da6c0ba382 HCE: Latest UX and strings.
Bug: 10262585
Change-Id: I5473c4d387fed884faf77c7448fab1332f710557
2013-09-11 12:30:46 +02:00
Amith Yamasani
2ad9625462 Fix profile picture picking for restricted profiles
Due to the new file picker UI and incorrect assumptions of access to sd card,
have to use content provider Uris instead of file paths.

Also makes the cropping robust in the event of not having a cropping intent
on the platform.

This should make the code play well with third party image
and camera apps as well.

Bug: 10666584

Change-Id: Ie8d834fe7aac96bc14829a7be084512a15ef4001
2013-09-10 17:16:12 -07:00
Przemyslaw Szczepaniak
eb306b4c15 Fix for empty "Listen to an example" string.
Because of bug in previous TTS related change (bugfix for hiding
"Play TTS sample" if default language is not supported), settings
stopped to call getSampleText() when it was established that current
default language is supported.

This change makes sure that getSampleText() is always called if language
is supported.

Bug: 10672535
Change-Id: I83bf7056e12ddbe2322b6a3f04552802037626aa
2013-09-10 10:35:57 +01:00
Jeff Sharkey
75c4204e8a Merge "Remove sdcard developer option, avoid data crash." into klp-dev 2013-09-10 04:41:19 +00:00
Jeff Sharkey
78ff1b8f10 Remove sdcard developer option, avoid data crash.
Remove READ_EXTERNAL_STORAGE enforcement UI, since the permission is
now always enforced.  Check to see if bandwidth module is enabled
when launching data usage, and finish gracefully if disabled.

Bug: 10116515, 10392597
Change-Id: Id0295c405b780a53867934b3bcd0a5f56db7d87a
2013-09-09 18:42:33 -07:00
Amith Yamasani
329e5b159a Merge "Fix NPE for stability tests" into klp-dev 2013-09-09 21:19:02 +00:00
Dianne Hackborn
d90ff6772b Merge "Follow-on for #10671878: Proc stats needs to remove old data structures" into klp-dev 2013-09-09 20:37:26 +00:00
Amith Yamasani
5334cf609f Fix NPE for stability tests
Bug: 9882651
Change-Id: I4164764a058d68d448ef4a4aba2a18f072079b9c
2013-09-09 13:16:00 -07:00
Tom O'Neill
b23c86dd2e Merge "Specify user when starting service" into klp-dev 2013-09-09 20:04:27 +00:00
Lifu Tang
d1253a2b43 Merge "Revert "Dim icons when recent apps category is disabled"" into klp-dev 2013-09-09 17:40:24 +00:00
Tom O'Neill
7f91d86283 Specify user when starting service
- Improve logging

- Fix b/10621831

Change-Id: Icbb265ce53640dcf63f1c81d682f5811f196efcc
2013-09-09 10:33:52 -07:00