Dianne Hackborn
c891ce6565
Fix some things in settings: manage apps, battery, procstats
...
Issue #17461567 : java.lang.ArithmeticException: divide by zero when
looking at Settings > Battery
Yeah, let's not do that.
Issue #17365562 : Running services RAM totals are wrong
Okay so like a few months ago, I had this vacation coming up, and
it was around the feature complete (hahah) deadline, and I had to
rush to get this in before I left. So I rushed. And, well, I forgot
a few things. Here they are. We now show the right numbers and
even update things correctly when you change what processes are
being shown. Wow.
Finally, fixed a few issues in the dev tools procstats UI.
Change-Id: I8348a9c2ec3226a455c5c8465729e4487f324c8b
2014-09-11 18:09:29 -07:00
Svetoslav
85dcef1226
Fix settings crash in print job screen.
...
The code was looking up the print job from the print manager
based on the lifecycle event of the hosting fragment. There
was a case missing and the print job not initialized on
rotation. This change looks up the job lazily making the
code more robust.
bug:17471952
Change-Id: I00075e161f69ca711bac6857f5ec00c20b5b17a0
2014-09-11 14:30:18 -07:00
PauloftheWest
8d6991348b
Fixed multiple Bluetooth Settings crashes.
...
+ Fixed a crash when selecting On/Off multiple times on an input device.
+ Fixed a crash when visiting different Bluetooth Settings after
disabling an input device.
Bug: 17402421
Change-Id: I23efa3a36ba8cf0df02cf41397586a10dae9e08c
2014-09-11 12:36:58 -07:00
Vinit Deshpande
c471629c7d
am 0a11f605
: Merge "Don\'t require CONNECTIVITY_INTERNAL check for protected broadcasts" into lmp-dev
...
* commit '0a11f60595a729e261b0dcfbbecca7e0ec8470ac':
Don't require CONNECTIVITY_INTERNAL check for protected broadcasts
2014-09-11 18:25:46 +00:00
Vinit Deshpande
0a11f60595
Merge "Don't require CONNECTIVITY_INTERNAL check for protected broadcasts" into lmp-dev
2014-09-11 18:17:00 +00:00
Svetoslav
842e9d04ad
am 72cfbcb4
: Merge "Fix print icons in settings." into lmp-dev
...
* commit '72cfbcb42952a8799daa497bf8034b2f033fad9e':
Fix print icons in settings.
2014-09-11 17:39:26 +00:00
Carlos Valdivia
a8627dd88e
am f79797c8
: am ea2fa0d9
: am db591467
: am 737d2d53
: am 61ced6d4
: am 01137c20
: am 663b4e97
: am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit 'f79797c8853741e80668f1d91c4d7d1a076bac18':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 17:39:25 +00:00
Svetoslav
72cfbcb429
Merge "Fix print icons in settings." into lmp-dev
2014-09-11 17:28:32 +00:00
Carlos Valdivia
f79797c885
am ea2fa0d9
: am db591467
: am 737d2d53
: am 61ced6d4
: am 01137c20
: am 663b4e97
: am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit 'ea2fa0d98a9777e37815624bf3e4345b4c6df643':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 17:25:05 +00:00
Carlos Valdivia
ea2fa0d98a
am db591467
: am 737d2d53
: am 61ced6d4
: am 01137c20
: am 663b4e97
: am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit 'db591467f6ae0e082c0ce627874a851f1926d63a':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 17:12:11 +00:00
Carlos Valdivia
db591467f6
am 737d2d53
: am 61ced6d4
: am 01137c20
: am 663b4e97
: am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit '737d2d538b81ee843192d229ef558e69f2a944a9':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 17:05:31 +00:00
Carlos Valdivia
737d2d538b
am 61ced6d4
: am 01137c20
: am 663b4e97
: am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit '61ced6d4270b86c336520856cb1545865cb01107':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 16:59:49 +00:00
Carlos Valdivia
61ced6d427
am 01137c20
: am 663b4e97
: am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit '01137c2004a617dae870f9c07b34a29f8706b615':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 16:49:32 +00:00
Carlos Valdivia
01137c2004
am 663b4e97
: am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit '663b4e9733e3c9dbfd2966f52edc2c7f7cff55c4':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 16:42:54 +00:00
Carlos Valdivia
663b4e9733
am 37b58a42
: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
...
* commit '37b58a420ff59254cbe9420c64685fdb7ea4e375':
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
2014-09-11 16:37:09 +00:00
Baligh Uddin
a2e918af43
am 9b45212b
: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
...
* commit '9b45212b1ddafd923bf785a754add5ac256ce624':
Import translations. DO NOT MERGE
2014-09-11 16:11:13 +00:00
Dan Sandler
e98bee54be
am 1fb51987
: Merge "Show a better list of apps." into lmp-dev
...
* commit '1fb5198732d627baf39492651364c32848abc1f0':
Show a better list of apps.
2014-09-11 16:01:27 +00:00
Zoltan Szatmary-Ban
55cd479d55
am cf911d10
: Merge "Check for DeviceAdminInfo type before casting" into lmp-dev
...
* commit 'cf911d107ac931306af80fd02eb696410bb2aaad':
Check for DeviceAdminInfo type before casting
2014-09-11 16:01:24 +00:00
Zoltan Szatmary-Ban
b46eeeb7be
am f572fdd1
: Merge "Fixing Trusted Credentials Settings crash" into lmp-dev
...
* commit 'f572fdd132c796448064f919dcbe22ae70659aa8':
Fixing Trusted Credentials Settings crash
2014-09-11 16:01:14 +00:00
Fabrice Di Meglio
b88d24df0e
am f8310c18
: Merge "Fix bug #17459965 Take photo for Profile twice leads to "A resource was acquired at attached stack trace but never released" into lmp-dev
...
* commit 'f8310c18508275b1125e7677579fd610cecf29c6':
Fix bug #17459965 Take photo for Profile twice leads to "A resource was acquired at attached stack trace but never released
2014-09-11 15:59:01 +00:00
PauloftheWest
23d0ac4491
am b2197d90
: Added bluetooth_device_settings_header to fix build breakage.
...
* commit 'b2197d90a8f173ef6ca3071aa434cc7283f85a42':
Added bluetooth_device_settings_header to fix build breakage.
2014-09-11 15:58:20 +00:00
Jim Miller
f496ae9413
am ca03758e
: Merge "Keep unlock attempt count after configuration change" into lmp-dev
...
* commit 'ca03758ed6399d73c841bec8685ea1f19bf38fea':
Keep unlock attempt count after configuration change
2014-09-11 15:57:42 +00:00
Baligh Uddin
9b45212b1d
Merge "Import translations. DO NOT MERGE" into lmp-dev
2014-09-11 15:49:25 +00:00
Baligh Uddin
321b25a144
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev
2014-09-11 15:49:24 +00:00
Dan Sandler
1fb5198732
Merge "Show a better list of apps." into lmp-dev
2014-09-11 11:58:55 +00:00
Zoltan Szatmary-Ban
cf911d107a
Merge "Check for DeviceAdminInfo type before casting" into lmp-dev
2014-09-11 10:52:57 +00:00
Zoltan Szatmary-Ban
f572fdd132
Merge "Fixing Trusted Credentials Settings crash" into lmp-dev
2014-09-11 09:23:55 +00:00
Vinit Deshpande
8a7cd97457
Don't require CONNECTIVITY_INTERNAL check for protected broadcasts
...
This change removes requirement that sender has this permission for
protected broadcasts (since they can only come from framework)
Bug: 17409667
Change-Id: I3431c20a4ed28b3ba2bfc3cf53772e63a3424a2c
2014-09-10 18:38:26 -07:00
Svetoslav
031e8b1432
Fix print icons in settings.
...
The print icons are in the framework resources and are not tinted
to enable usage from various places such as print spooler and
settings with different tinting. Settings was using not-tinted
print icons which were invisible on the white background. This
change switches settings to user tinted drawables.
bug:16966145
Change-Id: I2cf55d36d90b0192ba23686aac4f1d8e7e23f75a
2014-09-10 18:33:32 -07:00
Fabrice Di Meglio
f8310c1850
Merge "Fix bug #17459965 Take photo for Profile twice leads to "A resource was acquired at attached stack trace but never released" into lmp-dev
2014-09-11 00:23:32 +00:00
Fabrice Di Meglio
2a8f7cb736
Fix bug #17459965 Take photo for Profile twice leads to "A resource was acquired at attached stack trace but never released
...
- close the stream properly in all cases
Change-Id: I3a593be534ea444a2e2659458918cce221891456
2014-09-10 17:20:17 -07:00
PauloftheWest
b2197d90a8
Added bluetooth_device_settings_header to fix build breakage.
...
Change-Id: Ieca78c6bc34119e0cccc51a27cbcbf966b913bb1
2014-09-10 16:22:15 -07:00
PauloftheWest
52e1946554
am 1675c786
: Merge "Made Bluetooth device dialog fully scrollable." into lmp-dev
...
* commit '1675c786bfe213cce0d454d9eaf5fb51b4b4520c':
Made Bluetooth device dialog fully scrollable.
2014-09-10 22:20:37 +00:00
Jim Miller
ca03758ed6
Merge "Keep unlock attempt count after configuration change" into lmp-dev
2014-09-10 22:18:23 +00:00
PauloftheWest
1675c786bf
Merge "Made Bluetooth device dialog fully scrollable." into lmp-dev
2014-09-10 22:11:56 +00:00
John Spurlock
315e0a4a9e
am 31915522
: Settings: Remove fixed dropdown width from "From" pref.
...
* commit '31915522b764a097c5d660cb933d4acb5eb0fcb4':
Settings: Remove fixed dropdown width from "From" pref.
2014-09-10 22:06:09 +00:00
John Spurlock
31915522b7
Settings: Remove fixed dropdown width from "From" pref.
...
Bug:17457729
Change-Id: I99d294f43211765e410af53e87bb96b06715c0e3
2014-09-10 17:49:28 -04:00
PauloftheWest
4708092e4f
am 8b7d27cb
: Merge "Updated Bluetooth keyboard icon to teal." into lmp-dev
...
* commit '8b7d27cb78b09d9b2b2f4185308a042f471276ef':
Updated Bluetooth keyboard icon to teal.
2014-09-10 21:43:11 +00:00
PauloftheWest
8b7d27cb78
Merge "Updated Bluetooth keyboard icon to teal." into lmp-dev
2014-09-10 21:35:15 +00:00
PauloftheWest
26747b9da0
Made Bluetooth device dialog fully scrollable.
...
+ Also updated padding around Available Devices.
+ Also updated opacity on Bluetooth's "your device is visible" message.
Bug: 17398966
Change-Id: Id9631334ee0f3a01e40b00470d6debf6a31abe47
2014-09-10 14:33:52 -07:00
PauloftheWest
85daf61bda
Updated Bluetooth keyboard icon to teal.
...
Bug: 17140804
Change-Id: I59a4c0ff81b723ff4676b607e3da6cdc5c73625e
2014-09-10 14:24:11 -07:00
Carlos Valdivia
37b58a420f
SECURITY: Don't pass a usable Pending Intent to 3rd parties.
...
Unfortunately the Settings app has super powers. We shouldn't let
untrusted 3rd party authenticators re-purpose those powers to their own
nefarious ends. This means that we shouldn't pass along PendingIntents
that can have addressing information (component, action, category)
filled in by third parties.
Bug: 17356824
Change-Id: I397d26c5f465ddfb0e58bbc66cd44756e58cc507
(cherry picked from commit f5d3e74ecc
)
2014-09-10 21:13:10 +00:00
Jorim Jaggi
0cb467afe1
Keep unlock attempt count after configuration change
...
Bug: 17416448
Change-Id: I79839a5e8020b184dd8928b47fc018d5209988ed
2014-09-10 14:12:41 -07:00
Jason Monk
c80014fbbb
am 062f736c
: Adding zen mode condition dialog
...
* commit '062f736c8bfda9ac6ac7476ad51e52ca077f1505':
Adding zen mode condition dialog
2014-09-10 20:43:01 +00:00
Jason Monk
062f736c8b
Adding zen mode condition dialog
...
So that when you turn on priority or none in settings, you can
select the end condition.
Depends on framework changes: I9300af4f8b6d80042452b75db3418b20c5c5cc81
Bug: 15454830
Change-Id: I7856beabdd54de2ef10fa5c3d38bf27f36014693
2014-09-10 20:32:39 +00:00
Fabrice Di Meglio
743400b466
am 877fb7fb
: Merge "Fix bug #17449527 On Profile info alert box, profile picture button is unlabeled in accessibility" into lmp-dev
...
* commit '877fb7fb425ed63f01a941718cea5fc263e74731':
Fix bug #17449527 On Profile info alert box, profile picture button is unlabeled in accessibility
2014-09-10 20:19:55 +00:00
Fabrice Di Meglio
877fb7fb42
Merge "Fix bug #17449527 On Profile info alert box, profile picture button is unlabeled in accessibility" into lmp-dev
2014-09-10 20:14:15 +00:00
Fabrice Di Meglio
ade5761557
Fix bug #17449527 On Profile info alert box, profile picture button is unlabeled in accessibility
...
- add missing string
Change-Id: I9c6a50353075b05d0f80d112c999b2579cdb6676
2014-09-10 13:12:25 -07:00
Dan Sandler
3d4b542d75
Show a better list of apps.
...
By using the new LauncherApps service we can make sure to
use the same filter that launchers do. (For example, many apps
don't set CATEGORY_DEFAULT on their front door activity.)
Bug: 17423134
Change-Id: I9538f306c9e2a8607b0c25b1a9a6ac3a7879a2c8
2014-09-10 18:10:12 +00:00
John Spurlock
417b826176
am 1e7dbd45
: Settings: Use the same day sequence for downtime.
...
* commit '1e7dbd455eade6e6d8f1abd7969dd096972ed84f':
Settings: Use the same day sequence for downtime.
2014-09-10 17:06:33 +00:00