Commit Graph

4672 Commits

Author SHA1 Message Date
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
Irfan Sheriff
adf4926a97 Merge "Update enterprise API usage" 2013-01-15 09:03:20 -08:00
Irfan Sheriff
de11bcec8d Update enterprise API usage
Also, remove the unnecessary keystore lock/unlock checks since these
are now controlled at lockscreen

Change-Id: If65c4029d4cf2b8377fbc3512c9f691572125995
2013-01-14 14:45:16 -08:00
Jeff Sharkey
4b5728bbfb Merge "Invert split action bar logic." 2013-01-12 14:17:38 -08:00
Jeff Brown
e428e02f16 Support wifi display settings on tablets.
Bug: 7612891
Change-Id: Ie1268f97e4c28cd9a321a966cd6952bd2a9bc281
2013-01-11 15:29:27 -08:00
Jeff Sharkey
cc0d26bb14 Invert split action bar logic.
The majority of Settings activities don't want split action bars, so
invert the logic to be opt-in instead of opt-out.

Bug: 7545845
Change-Id: I794f6df911dda61904e02a0f6b917ab92c846293
2013-01-11 11:16:31 -08:00
Irfan Sheriff
1ec14c18d7 Merge "Allow underscore in proxy hostnames" 2013-01-07 15:20:51 -08:00
Irfan Sheriff
61298b3fda Allow underscore in proxy hostnames
Some proxies use underscore and we should allow configuring them

Change-Id: I6b4eeac7d486ff1eb10cc14cee5ef36db0f9e278
2013-01-07 15:03:15 -08:00
Romain Guy
70618480d9 Change "track frame time property" to a list preference
The preference can now be used to disable GPU profiling, expose
profiling data to dumpsys gfxinfo or display that data on screen.

Change-Id: Ib77e9695445fae4a7419667716e92bcc196437df
2013-01-07 11:25:10 -08:00
Amith Yamasani
8f716f66cf Refresh battery stats when the battery state or charge level changes.
This will keep them in sync. We still don't automatically update
the stats periodically, in case the user is investigating some
behavior. That's why we have a refresh button.

Bug: 7737824
Change-Id: I8a59cad6c72f540533b3526fc476260465c73492
2012-12-26 08:41:25 -08:00
Elliott Hughes
c611de2dca am 52d623ed: am f141594c: Merge "Correct check box visibility in Display / Brightness"
* commit '52d623ede4a697259b1b3506b0464941e376218e':
  Correct check box visibility in Display / Brightness
2012-12-20 11:06:47 -08:00
Elliott Hughes
52d623ede4 am f141594c: Merge "Correct check box visibility in Display / Brightness"
* commit 'f141594c0507dccd26e876bf2cd40ba15a34d68b':
  Correct check box visibility in Display / Brightness
2012-12-20 11:03:50 -08:00
Jeff Sharkey
d54d34557a One final pass at unquoted NetworkPolicies.
Correctly shows the metered status of legacy policies in UI.

Bug: 7695807
Change-Id: I13c9f4c1716d8457343c41433afac0b5f00e02fe
2012-12-18 18:07:31 -08:00
Jeff Sharkey
53f2855808 Clean up oddly quoted NetworkPolicies.
Bug: 7695807
Change-Id: Ia3f04dc3e918d6ca4af62f263a9c90273b3485ff
2012-12-18 17:32:10 -08:00
Jeff Sharkey
a66c0ab094 Fix metered SSID matching regression.
WifiInfo changed to return SSIDs with quotes included, so relax our
identity matching to accept matches regardless of quotedness.

Bug: 7695807
Change-Id: I53c0361f9e44b4d47ec8764991a3cd545c253edd
2012-12-18 17:06:23 -08:00
Benn Porscke
106cf669c1 Correct check box visibility in Display / Brightness
The check box for "Automatic brightness" should not be visible in
Brightness screen if the product configuration
config_automatic_brightness_available in config.xml is set to false.

Change-Id: I0d81137723d0eacd97aa88bf08b69e12dd4d73fa
Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>
2012-12-18 10:38:41 +01:00