Fragement, or Fragment: that is the question

Change-Id: Iac3a14b9d2d7b4bd1e452db987b3c5c95dbefd3b
Telephony: Avoid Infinite loop problem in Tethering

No need to have delayed message functionality for retrying
since we are listening to CONNECTIVITY_ACTION and would
retry if the upStream interface is available.

Change-Id: Ib56331dd699cfbab6060c1e8e8b82e272bd961ef
action bar compat documentation fix according to issue 58108

Change-Id: I09db7a19752b530a1979ca5a82d919ffa690becb
Signed-off-by: Guillaume Cottenceau <gcottenc@gmail.com>

Conflicts:
	docs/html/guide/topics/ui/actionbar.jd
Fix crash issue when linkified remote textview url clicked

Fix AppWidget Host crash issue when a linkified remote textview url clicked, as
the remote textview's context is not an Activity context. This issue is fixed
by using the Activity instead of the remote context to start the URL view intent.

Change-Id: Iaac5d5840a6236fb430361efed53c7211ba10721
Signed-off-by: HUANG Menghuai <linker.huang@gmail.com>
Add NULL check in updateProxyConfig

If the exclusionList was null in updateProxyConfig the VM would
crash when converting it to a UTF8 string. Avoid this by adding a
null check.

Change-Id: I0d8106fd54385bd9ae9c652a6c67d459a119cf2b
ContentValues: improves documentation

This corrects and clarifies the documentation for ContentValues.

Change-Id: Iddf54da093e97c32da2568eab8802b1b2715303b
Signed-off-by: Steve Pomeroy <steve@staticfree.info>
Reduce EntropyMixer seed size from 4096 to 512 bytes.

The suggested seed size from Linux drivers/char/random.c is 512 bytes
rather than the 4096 bytes currently used.

Change-Id: I3dd55105f0a95ce9cda34b4cf08987b8a28c4ac9
Make EntropyMixer mix in output of Hardware RNG into Linux RNG.

On devices with Hardware RNG (HW RNG), this makes EntropyMixer
periodically (every three hours) read 512 bytes from HW RNG and mix
them into the Linux RNG.

This is done without increasing Linux RNG's entropy estimates to
avoid having to trust the quality of the HW RNG. This approach cannot
reduce the quality of the Linux RNG output, but may increase it.

Change-Id: Ifde851004301ffd41b2189151a64a0c5989c630f
improve rotation handling

this commit was rewritten/inspired by one made to our jb 4.1 branch by sonicxml.

cheers buddy!

Change-Id: Ib3b46aa54e7bf6602f8c0557ed770624063af529
ZygoteInit: increase GC threshold amount when preloading to postpone GC

todo: instead of hardcoding this number.. make it dependent on the amount
set for heapgrowthlimit in the build.prop. for now we'll just turn it "off".

Change-Id: I7a6e195b82ebe2f4bd5bbb506e19200d452fa3e5
allow customized memory cache size for webkit

ps2: add missing ;

Change-Id: I3cb12a5026b5f7f78fde1f2368e25e96ef02bf37
todo: test and set this in vendor make files when an optimized amount is found
Wifi: Add IBSS supported method

Add method isIbssSupported() to WifiManager and related classes to query wether
the driver supports IBSS mode. The query is answered by wpa_supplicants new
command "get_capability modes".

This adds a new public API: boolean WifiManager.isIbssSupported()

It will only return a correct result after WIFI_STATE_ENABLED has been
reached.

Change-Id: I463ebc58ab16494680c04b354c5c8f4d520aaceb
Wifi: Get the list of supported channels

Get the list of supported channels/frequencies from wpa_supplicant and provide
them thru WifiManager.getSupportedChannels();

One channel is represented thru the class WifiChannel which includes channel
number, frequency in MHz and a flag if IBSS mode is allowed on this channel.

Like isIbssSupported() we can only expect a result after WIFI_STATE_ENABLED has
been reached.

Change-Id: Ib32c8a1c78cb28933985f70aee7ce4ee2966d074
framework/base: Handle ASSOC-REJECT events

Disable current network and enable other saved networks(if any)
once number of ASSOC-REJECTs on an attempt to connect to a corresponding
network exceeds the threshold.

Change-Id: Iac3c1596aa800d93c55b0ac5d8070a058c3842bd
Wifi: Enable Ad-Hoc (IBSS) network configuration

This adds two public variables to WifiConfiguration: isIBSS and frequency.
These are used for configuring IBSS mode. Frequency is only used in IBSS mode.

WifiConfigStore is exended to get and set these variables to wpa_supplicant
(via WifiNative).

Change-Id: I42c7b84236ddc7c96e3815a6009d7136c07bada7
Add support for NETWORK_TYPE_GSM

Add support for NETWORK_TYPE_GSM in TelephonyManager and
corresponding mapping in ServicState.java so that when
application queries for getVoiceNetworkType() and currently
camped rat is GSM, they get network mode as GSM instead
of network mode unknown.

Change-Id: Ibe4672b04a5044710d63499c4cf2b6ebe91444bf
Merge branch 'jb-4.3' of https://github.com/PSX-PureSpeed/android_frameworks_base into HEAD