Commit Graph

4587 Commits

Author SHA1 Message Date
Mathias Agopian
a2d9f48153 Merge "fix an issue where sensors power usage wasn't reported properly" 2013-02-06 01:16:09 +00:00
Dianne Hackborn
9833787387 App ops: add UI for SMS ops.
Change-Id: I595df9a286ba5389f9e309516dc4a8ab34773277
2013-02-05 11:57:00 -08:00
Amith Yamasani
82562e2696 Merge "Improve error message to figure out which fragment class is problematic." 2013-02-05 19:15:07 +00:00
Amith Yamasani
258f7c7e1c Improve error message to figure out which fragment class is problematic.
Bug: 8057867
Change-Id: I6ad0bc8c8a6ed9bc8a1cca5debffe15c6de3a1b5
2013-02-05 10:56:55 -08:00
Mathias Agopian
b287ba3e2b fix an issue where sensors power usage wasn't reported properly
the battery service records a sensor's *handle*, but the
PowerUsageSummary code used it as a sensor *type*.

Change-Id: I0d2cbdffc24238d5e02f0d6369fa44ed990176a4
2013-02-04 19:24:46 -08:00
Jaewan Kim
bb0e621f18 Fix Settings app crash after enabled multi-user
Bug: 8128225
Change-Id: I2918a5ec36e861a1ce4b2e67cf7607929732a7bf
2013-02-04 15:36:17 +09:00
Benoit Goby
4ea8937707 Merge "Settings: Add setting to clear adb public keys" 2013-02-02 02:38:48 +00:00
Dianne Hackborn
8b0afc7fb5 App ops: improve presentation.
Change-Id: Ia8702f9421a2cf2e27e8e24bfdc596321ace515a
2013-02-01 17:29:15 -08:00
Dianne Hackborn
27daaab633 App ops: Support neighboring cells, call phone, improve UI.
Change-Id: I0783c7ae941499cf9847bcf657141c3aea76f59d
2013-02-01 15:14:42 -08:00
Daniel Sandler
df3f6d6c47 Migrate package notification controls to AppOps.
We still show the [X] Show Notifications box in
InstalledAppDetails for now, however the information should
be mostly in sync with the AppOps screen. ("Mostly" because
there's no way to register for changes to AppOp modes at
present.)

Change-Id: Ia5cdda26c140aed8ee7329caaeedac04b8cbd8f1
2013-02-01 13:29:52 -05:00
Daniel Sandler
f6ab51cd67 Merge "Fix bugs with null AppOp permissions." 2013-02-01 14:43:39 +00:00
Per Allard
5416d07100 Prevent cursor from causing global reference leaks.
To fix this the ContentQueryMap needs to be closed
when onStop is called so any global references can
be reclaimed.

Change-Id: I0c679c10b0d75ab0aac2fe499563c57d934e318a
2013-02-01 08:09:04 +01:00
Daniel Sandler
7d3a4c160c Fix bugs with null AppOp permissions.
Change-Id: I9f199d4f5843fbba374ced8206902098811b3786
2013-01-31 15:48:56 -05:00
Svetoslav
ce51eb18b3 Merge "Remove "enhance web scripts" from settings." 2013-01-31 03:17:06 +00:00
Dianne Hackborn
596f0cfb46 Improve resetting of application state.
We now reset preferred apps to our defaults, instead of
just clearing everything out.

Change-Id: I70f713ce62b2ffb2d7f6a8e056978847734c27f7
2013-01-29 15:22:22 -08:00
Svetoslav
53023d6178 Remove "enhance web scripts" from settings.
See change Ic125514c34f191aea0416a469e4b3481ab3200b9 for details.

bug:8089372

Change-Id: I47eda16579c29051aa24b8d4c38035439aa00915
2013-01-29 13:57:04 -08:00
Tony Guo
63c91f0973 Check if the Activity is finishing before showDialog()
Check if the Activity is going through its finishing phase before
displaying the Dialog, because Showing dialog once the activity
is no longer in context will cause BadTokenException.

Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
2013-01-29 14:39:26 +01:00
Irfan Sheriff
addfc551e6 Merge "Follow UX design guideline for frequency band" 2013-01-28 16:46:49 +00:00
Dianne Hackborn
86cb3df2bb am bbf8daf4: am 505232be: Merge "Fix of Settings application sort crash"
# By Jia Arlan
# Via Android Git Automerger (1) and others
* commit 'bbf8daf4602b62d806c4946196b526edbe08e056':
  Fix of Settings application sort crash
2013-01-25 17:11:42 -08:00
Irfan Sheriff
998e9b3197 Follow UX design guideline for frequency band
Bug: 8019331
Change-Id: Ib87f4200ed42730d06485e339dc67cbb870b0538
2013-01-25 14:37:20 -08:00
Dianne Hackborn
0dd9902c89 App ops: add UI for viewing and controlling ops per-app.
Change-Id: Iadd68cbd429af4d431dcd09b9adacd09c5092ae6
2013-01-25 11:27:04 -08:00
Dianne Hackborn
bbf8daf460 am 505232be: Merge "Fix of Settings application sort crash"
# By Jia Arlan
# Via Gerrit Code Review (1) and Henrik Baard (1)
* commit '505232be07e388c602529e14254df013637b16f2':
  Fix of Settings application sort crash
2013-01-24 17:09:13 -08:00
Dianne Hackborn
505232be07 Merge "Fix of Settings application sort crash" 2013-01-25 01:02:58 +00:00
Dianne Hackborn
5744019051 Merge "Handle new "disabled until used" mode." 2013-01-23 22:45:28 +00:00
Benoit Goby
0761ffca60 Settings: Add setting to clear adb public keys
Change-Id: I1d5ab7a83a3b7b23f0cd51305d965f45793eb853
2013-01-22 18:45:00 -08:00
Dianne Hackborn
43052367c6 Handle new "disabled until used" mode.
We want these apps to still show up as normal apps,
not look like they have been disabled completely (entirely
gone) or by the user (listed separately as disabled).

Change-Id: Ib58ead274a74c6df3ee87c8db5f7d0652e37b9bd
2013-01-22 17:17:25 -08:00
Amith Yamasani
38947b8c60 am a6c51f3d: am 7b8b6618: Merge "Fix for battery temperature display"
* commit 'a6c51f3d0b1b43aa3e27bd98639f0ad3acf22ecc':
  Fix for battery temperature display
2013-01-22 16:25:15 -08:00
Amith Yamasani
a6c51f3d0b am 7b8b6618: Merge "Fix for battery temperature display"
* commit '7b8b6618219a2a9e1402858b513cf19628033204':
  Fix for battery temperature display
2013-01-22 16:20:28 -08:00
Amith Yamasani
7b8b661821 Merge "Fix for battery temperature display" 2013-01-23 00:09:51 +00:00
Irfan Sheriff
dd413128f1 am 814db19c: am 67995f97: Merge "Fix for F/C in WifiConfigInfo"
* commit '814db19c4631dba3c60ac807771be4bf04c20880':
  Fix for F/C in WifiConfigInfo
2013-01-22 15:23:57 -08:00
Irfan Sheriff
814db19c46 am 67995f97: Merge "Fix for F/C in WifiConfigInfo"
* commit '67995f973dd524ba20983b9246a17a10746c4590':
  Fix for F/C in WifiConfigInfo
2013-01-22 15:12:22 -08:00
Irfan Sheriff
67995f973d Merge "Fix for F/C in WifiConfigInfo" 2013-01-22 22:58:20 +00:00
Elliott Hughes
420b193069 am d7d5b33b: am 375b6d98: Merge "Force closed at settings application when delete Misc files"
* commit 'd7d5b33bcd78680d475c92fca7bafc4ac4279621':
  Force closed at settings application when delete Misc files
2013-01-22 08:03:32 -08:00
Elliott Hughes
d7d5b33bcd am 375b6d98: Merge "Force closed at settings application when delete Misc files"
* commit '375b6d985be9203fb221eb42810e586e196c34f8':
  Force closed at settings application when delete Misc files
2013-01-22 07:58:42 -08:00
Jia Arlan
dffcc39ba5 Fix of Settings application sort crash
The original implementation of compareTo function
will sometimes cause crash when the power usage list
above 32 items.

When comparing double values a proper comparison method
needs to be used. Using just subtraction does not take
into account NaN:S, infinities and +/-0 numbers. In certain
cirtumstances it seems that using subtraction causes
compareTo to return values that is not expected by the
sorting code and causes an illegal argument exception with
"Comparison method violates its general contract!".

This problem only happens if the sort code is called arrays
containing more than 32 (currently) due to how
ComparableTimSort works (call chain is Collections.sort ->
Arrays.sort(Object[]) -> ComparableTimSort.

Change-Id: If732f04797a3c8b2a43568c90bb73a1ec69a4c98
2013-01-21 14:22:49 +01:00
Irfan Sheriff
4044512744 Merge "Allow only valid EAP configs" 2013-01-19 18:16:36 +00:00
Shuhrat Dehkanov
15a6869fce Fix for F/C in WifiConfigInfo
1. Turn off Wi-Fi
2. Open the dialer and input *#*#4636#*#*
3. Navigate to Wi-Fi information -> Wi-Fi config and observe "Unfortunately,
Settings has stopped" dialog.

Change-Id: I6ed59fc157e9bd8a46e00184b91a1a9f0412d198
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
2013-01-19 21:50:06 +09:00
ikbae.kim
475b99cba2 Fix for battery temperature display
Centi temperature under zero degree is displayed with '-' sign.
Fix this using absolute value in centi degree display.

Change-Id: If4958d9c75c03d1f3ecfd14436fc80dc2fd57860
2013-01-19 17:42:49 +09:00
Dianne Hackborn
18b64f446c Improve app ops UI.
Merge app entries together some.

Also a little weekend present for swetland.

Change-Id: Ie2b6654d9de0b9eeaafbf4b070845353c130b9c1
2013-01-18 18:45:47 -08:00
Irfan Sheriff
f2e086be7f Allow only valid EAP configs
We allow configuring all possible EAP fields today even though
some of the configs make no sense and will not result in a
successful connection.

Allow only support configs for various EAP methods

Change-Id: I2e3e8d4d6203acb2eac8cd645df39e1a9ca579ab
2013-01-18 16:32:22 -08:00
Predrag Stanojevic
aee4b75aba Force closed at settings application when delete Misc files
NullPointerException in MiscFilesHandler.java, missing check to
ensure that dir.list() does not return null.

Change-Id: I13aac19949826b385610fd1fee2befb411684023
2013-01-18 08:56:19 +01:00
Chris Craik
e533c3191d Merge "Remove now obsolete tracing options" 2013-01-17 23:45:33 +00:00
Chris Craik
87c3ce7667 Remove now obsolete tracing options
Change-Id: I8bd79161e0cb88619e2713b18c5f94cc1a12cb87
2013-01-17 11:41:22 -08:00
Fabrice Di Meglio
fd50438e8e Merge "Fix Switches padding for Settings app" 2013-01-17 16:33:25 +00:00
Dianne Hackborn
b791c4b11d Merge "Show all apps that can perform an op." 2013-01-17 02:52:17 +00:00
Dianne Hackborn
228df665d4 Show all apps that can perform an op.
Change-Id: Ic4c6fdbc5b345c890a2f41a00b4b5c11272702d7
2013-01-16 18:49:48 -08:00
Amith Yamasani
486d1ac237 Merge "Use bindServiceAsUser() to follow API change." 2013-01-16 23:28:06 +00:00
Amith Yamasani
3f9c9b6eae Use bindServiceAsUser() to follow API change.
Change-Id: Ib12f1dcf7f3a5df7e166b732e1c29e7e9d0869ed
2013-01-16 12:34:16 -08:00
Dianne Hackborn
a522a8ef82 Quick and dirty UI for viewing app op information.
Change-Id: If17bfbe84cf438ca9bb37bf446564f39de99cee1
2013-01-15 19:20:19 -08:00
Fabrice Di Meglio
b27223f139 Fix Switches padding for Settings app
- use setPaddingRelative() instead of setPadding()

Change-Id: Ifd14193a5f60d303035b394616dc65a70e1ef5f9
2013-01-15 18:54:11 -08:00