146769 Commits

Author SHA1 Message Date
John Spurlock
f7ae44258f QS: Back button closes detail (if showing)
Bug:16649931
Change-Id: I9748a0793e6a71d833f7c7f884c189e16cccb8f9
2014-08-01 12:45:18 -04:00
John Spurlock
c1d48a5b71 QS: New disabled icon states for wifi/cell tiles.
Bug:15988601
Change-Id: I82c1b0f80277a6529e8648708199c45c5226b81f
2014-08-01 12:12:32 -04:00
John Spurlock
1a66bdb9a6 Replace wifi tether icon with new style.
Bug:15988601
Change-Id: Idadb87e6312a02ed204c4b41537ff4aed02f84c7
2014-08-01 11:48:28 -04:00
John Spurlock
41fef15495 QS: Fix datatype overlays.
- And simplify demo mode wiring.

Bug:15988601
Change-Id: I6827b87700cd88394b115e5e1609520b3afa8660
2014-08-01 11:26:44 -04:00
Winson Chung
19fc117c2f Unregistering receiver in onStart/Stop vs onCreate/Destroy. (Bug 16513124)
Change-Id: I11ccc3cea41311d74811dc19e6950da3bbddbfe2
2014-08-01 14:40:58 +00:00
John Spurlock
be0f59ea65 QS: Update traffic indicator icons.
- New vectors, remove obsolete pngs.
- New datatype overlays that better handle RTL.

Bug:15988601
Change-Id: I39499f1289a7f4f8381d00653389ffedf9c33552
2014-08-01 10:31:01 -04:00
John Spurlock
347ec2ec20 Update wifi icon for open network notification.
Bug:15988601
Change-Id: I66ac99d7e6cec46199f01ffb49ff71b062a38431
2014-08-01 09:46:24 -04:00
Jorim Jaggi
8b73006a36 Clean up speedbump handling when going to SHADE_LOCKED
Bug: 16291973
Change-Id: Ibaa127709ff7a1a001402bd958016998e2bd23bf
2014-08-01 13:15:28 +00:00
Jorim Jaggi
6ff837a95b Animate clock when going to SHADE_LOCKED or SHADE
Bug: 16291973
Change-Id: Idf2fa7bd26800be4df38d99993533069120e7075
2014-08-01 13:14:58 +00:00
Jorim Jaggi
60d07c597c Implement timings for go-to-full-shade transition.
Change-Id: Ib7c0f65b7e2565a6c30b9962e9f81547537b408a
2014-08-01 13:12:30 +00:00
Christoph Studer
a0506e72f5 SysUI: Fix notification leak
Fix bug where we kept a reference to the old Notification when
we re-use notification entries on updates.

Bug: 16513124
Change-Id: I066ff7447952516e27e122df57d4e6e67ee1cea3
2014-08-01 13:02:05 +00:00
Chris Wren
d2fafdda57 Merge "Optimize large preview from the screenshot notification." into lmp-dev 2014-07-31 19:45:19 +00:00
Chris Wren
f63185e7bd Optimize large preview from the screenshot notification.
Crop out a notification_panel_width by notification_max_height
section of the screenshot for the preview.

This will only save about 25% of the bytes on a phone-like device over
the existing square crop, but on a tablet-like device the savings will be
more significant: above 75%.

Bug: 16631778
Change-Id: I05d4d402e44f7700f17b8b97018f6c00c3b0196d
2014-08-01 09:56:51 +00:00
Zoltan Szatmary-Ban
3f1ddf83a4 Add AsUser versions of existing DevicePolicyManager methods
Some API methods on DevicePolicyManager call underlying IDevicePolicyManager methods
that can be parameterised with a user id. DPM however only exposed methods for the current user.
This CL makes it possible to call them with any user id by introducing hidden methods on
DevicePolicyManager.

Bug: 15558397
Change-Id: I1786a64fa7cf5f6590ddd04cbf4527bb159f8795
2014-08-01 09:27:19 +00:00
Narayan Kamath
1fa73206e5 Merge "Don't assume languages are 2 letter codes." into lmp-dev 2014-07-29 22:44:51 +00:00
Narayan Kamath
11bfc2261f Don't assume languages are 2 letter codes.
Also, note that this method never worked. Locale
settings were stored with underscores (like Locale.toString)
but matched against AssetManager.getLocales() which
returned language-tag like output.

bug: 10090157

(cherry picked from commit fd138cd81a689ff46e6ae90e46adcdc53f3c5442)

Change-Id: Ifc81ac902c297387dba8c40aba0656e18af57c86
2014-08-01 13:32:12 +01:00
Fergus Henderson
732af43eb1 Merge "Simplify generics, and make Builder concrete." into lmp-dev 2014-07-31 19:45:19 +00:00
Robin Lee
a0995ab821 Always show error dialog for other profiles
Apps running on another profile of the same user were previously
considered to be running in the background, so their error dialogs
would not show unless ANR_SHOW_BACKGROUND was set.

@bug 15665024

Change-Id: I7e559c6b7f8befc1553bc0ec06e89e5d7906d198
2014-08-01 11:03:26 +00:00
Chris Wren
97c0b90f89 Expose headsUpContentView so developers can customize it.
Bug: 13510114
Change-Id: I645c204e366fefab58224d2e67d00e701dc661aa
2014-08-01 10:57:05 +00:00
Niels Egberts
2a236a6466 Simplify generics, and make Builder concrete.
Change-Id: I3e14966527c254d2c15dddefc2ef60cdde30421f
2014-08-01 11:46:16 +01:00
Vinit Deshpande
38a7170449 Merge "Rename HotspotListener to BssidListener" into lmp-dev 2014-07-30 19:31:16 +00:00
ztenghui
1c4d8b2173 Correct the tag's name in the exceptions
Change-Id: I9d1499fbcf8adb6bf0c5c0b7a10a8b480a708c09
2014-07-31 19:42:31 +00:00
Joe Fernandez
8d7c55bd10 am 441e7aa2: am eb4bc851: am 69ed58ac: Merge "docs: Adding TIF one-pager to TV docs in L-Preview" into klp-modular-docs
* commit '441e7aa23478b8de386efc69d43f889979bc6eee':
  docs: Adding TIF one-pager to TV docs in L-Preview
2014-07-31 18:43:21 +00:00
Joe Fernandez
441e7aa234 am eb4bc851: am 69ed58ac: Merge "docs: Adding TIF one-pager to TV docs in L-Preview" into klp-modular-docs
* commit 'eb4bc851aade1090c0a4e1f1e6f7ecd136b4a47a':
  docs: Adding TIF one-pager to TV docs in L-Preview
2014-07-31 18:40:05 +00:00
Joe Fernandez
eb4bc851aa am 69ed58ac: Merge "docs: Adding TIF one-pager to TV docs in L-Preview" into klp-modular-docs
* commit '69ed58aced0e884d7758d84067134b04fbcee9c0':
  docs: Adding TIF one-pager to TV docs in L-Preview
2014-07-31 18:35:02 +00:00
Wonsik Kim
c2b74b73a1 Fix NPE when fused geofence hardware is not available.
b/16690237

Change-Id: I3ac50c8fd50fc799afcfc76126a5fd0c9ba0a5f4
2014-07-31 18:24:23 +00:00
Eunae Kim
ad3aa32fee Fix a bug that the RecentTask list of other’s may show up to non-primary users.
Cherry-pick from aosp to lmp-dev.

When switching to a newly created user, the user may face this bug
when he opens the RecentTask screen.

A possible bug scenario is described as follows:
A user id of a removed user may be recycled when created a new user.
However, mRecentTasks is not correctly controlled so that old
information may still remain and be possibly mapped to wrong user.
This patch prevents this bug by explicitly removing old information
in mRecentTasks when removing existing user.

Change-Id: I1874dbd604598a5d740ae1e034981e21214c15c6
Signed-off-by: Eunae Kim <eunae.kim@lge.com>

Conflicts:
	services/java/com/android/server/am/ActivityManagerService.java
2014-07-31 10:27:28 -07:00
riddle_hsu
214be42ea6 [ActivityManager] Prevent coredump file may not complete for testing.
Cherry-pick from aosp to lmp-dev

Sympton:
During testing, skip kill native crash process manually because it
will continue to die by default.

Root Cause:
Large process may take some time to do coredump.In auto test, crash
process will be killed immediately that results incomplete coredump
file.

Solution:
If the tester (IActivityController) will handle app crash event,
Do not kill native crashed process if the rom is debuggable.

Change-Id: Ia360af147d694125d440e5ba2f958c4759a50494

Conflicts:
	services/java/com/android/server/am/ActivityManagerService.java
2014-07-31 10:18:59 -07:00
Raph Levien
ebbbb2cfc3 Merge "Re-remove AndroidEmoji.ttf." into lmp-dev 2014-07-30 19:31:16 +00:00
Roozbeh Pournader
37cc0713e0 Re-remove AndroidEmoji.ttf.
It was mistakenly re-added in 6feb729b686b902be2520a91281e1a000c055da2.

Change-Id: I99a41ed8e6f1975e9808d8063e594fbb996d4334
(cherry picked from commit a7d8d7bfa75b283588aacae16cce78f6161acce9)
2014-07-31 16:58:53 +00:00
Roozbeh Pournader
fa4aeeeb71 Crunch Roboto and fix its digits to have the same width.
Update to upstream version 2.001045, which adds fontcrunch to the font
production process and fixes a problem with uneven digit widths. Should fix
https://code.google.com/p/android-developer-preview/issues/detail?id=330.

The font footprint is reduced by 705KB, most of it due to the crunching, but
also by using a newer version of fonttools that removes extra unnecessary
paddings from the glyf table.

Bug: 15348046
Bug: 16296048
Bug: 16299966

Change-Id: I838711916f8c47db011cfe889b232e60e6f1aa0c
(cherry picked from commit 6feb729b686b902be2520a91281e1a000c055da2)
2014-07-31 16:56:15 +00:00
Mike Lockwood
2754fd0cd3 Add toString() methods to some audio classes to help with debugging.
Change-Id: I2b61d8cdfbcaa7671705771325205b074c50ab1e
2014-07-31 16:50:02 +00:00
George Mount
cad10680b7 Merge "Fix visibility propagation check." into lmp-dev 2014-07-30 23:34:26 +00:00
riddle_hsu
9bcc6e83d9 [ActivityManager] Avoid mistaking visibility by finishing task.
Cherry-picked from aosp into lmp-dev.

Sympton:
Next activity only adds to history but does not launch/resume then results ANR.

Root Cause:
In a rare timing, some windows are switched at the same time,
it will cause some finishing records on the top temporarily,
then set startIt to false that skip to resume the real top activty.

Solution:
If all activities in a task are finishing, do not use it to check.
The behavior/checking is the same concept as in JellyBean:
            // If starting in an existing task, find where that is...
            boolean startIt = true;
            for (int i = NH-1; i >= 0; i--) {
                ActivityRecord p = mHistory.get(i);
                if (p.finishing) { // <--
                    continue;
                }

Change-Id: I9d81a7b5182400c52e173da23eee61c74692beee

Conflicts:
	services/java/com/android/server/am/ActivityStack.java
2014-07-31 17:07:39 +00:00
George Mount
6ceac2eafb Fix visibility propagation check.
Bug 16704963

Change-Id: I2538bac4b4565ac8c6b27407c7679fea55b1092b
2014-07-31 17:05:37 +00:00
destradaa
beea442e72 Fix crash in Volantis because there is not FLP support.
b/16690237

Change-Id: Ie2dd159ad4e9b5cf4b3e2e66023b456927f18130
2014-07-31 17:02:01 +00:00
Joe Fernandez
a3e521540b am ecf76d1c: am b83127f0: Merge "docs: Add adb over TCP/IP connection instructions to ADT-1 FAQ" into klp-modular-docs
* commit 'ecf76d1cfd2846412270e6361ec8ba4cfccf8bec':
  docs: Add adb over TCP/IP connection instructions to ADT-1 FAQ
2014-07-30 18:14:04 +00:00
Joe Fernandez
ecf76d1cfd am b83127f0: Merge "docs: Add adb over TCP/IP connection instructions to ADT-1 FAQ" into klp-modular-docs
* commit 'b83127f0cf35a2d95684293818ca25171f6643e1':
  docs: Add adb over TCP/IP connection instructions to ADT-1 FAQ
2014-07-30 18:09:27 +00:00
Alan Lau
40274ada4a am b12318be: Merge "Revert "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views""" into klp-modular-dev
* commit 'b12318be13be00842d124e4391ce5eabce2d5104':
  Revert "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views""
2014-07-30 17:47:03 +00:00
Alan Lau
839ca0d5fa am 06a84554: Merge "Revert "Revert "DO NOT MERGE Fix extraneous allocation and copying""" into klp-modular-dev
* commit '06a8455421978d06597de2abfccabef928d06056':
  Revert "Revert "DO NOT MERGE Fix extraneous allocation and copying""
2014-07-30 17:44:20 +00:00
Andrew Solovay
60e7f54187 am d46bc784: am 81364215: Merge "docs: Revised page to include info about new Publisher API." into klp-modular-docs
* commit 'd46bc7845c221b84f9b4e570b95f407c7fc6d0e7':
  docs: Revised page to include info about new Publisher API.
2014-07-30 17:37:06 +00:00
Alan Lau
231a32a132 am c0062272: Merge "Revert "Revert "DO NOT MERGE Implement line breaking using ICU break iterator""" into klp-modular-dev
* commit 'c006227265d7ac705ebeef2f7d87104fdb63f32a':
  Revert "Revert "DO NOT MERGE Implement line breaking using ICU break iterator""
2014-07-30 17:37:02 +00:00
Andrew Solovay
d46bc7845c am 81364215: Merge "docs: Revised page to include info about new Publisher API." into klp-modular-docs
* commit '813642158979aca52b9d3913e52dda877d74a992':
  docs: Revised page to include info about new Publisher API.
2014-07-30 17:34:20 +00:00
Ricardo Cervera
9ae4c6f874 am b6bfa9e4: am a7898781: Merge "docs: Added system requirements for Studio. Bug: 16566355" into klp-modular-docs
* commit 'b6bfa9e45a953b83289ee57da661746deae7a63f':
  docs: Added system requirements for Studio. Bug: 16566355
2014-07-30 16:49:57 +00:00
Ricardo Cervera
b6bfa9e45a am a7898781: Merge "docs: Added system requirements for Studio. Bug: 16566355" into klp-modular-docs
* commit 'a7898781d6182b5c73a0a3899b71162f92582f66':
  docs: Added system requirements for Studio. Bug: 16566355
2014-07-30 16:46:07 +00:00
Joe Fernandez
b83127f0cf Merge "docs: Add adb over TCP/IP connection instructions to ADT-1 FAQ" into klp-modular-docs 2014-07-30 16:17:51 +00:00
Joe Fernandez
0d568c98c1 docs: Add adb over TCP/IP connection instructions to ADT-1 FAQ
Change-Id: Ifa8831e1594470ecf65761efea472de79aaf5ece
2014-07-30 10:10:19 -07:00
Alan Lau
06a8455421 Merge "Revert "Revert "DO NOT MERGE Fix extraneous allocation and copying""" into klp-modular-dev 2014-07-30 16:17:51 +00:00
Alan Lau
7ab1900a5a Revert "Revert "DO NOT MERGE Fix extraneous allocation and copying""
This reverts commit af60e56b39582ea90ccd7601cd06350a50bf6500.

Change-Id: I1aa698608773b9e540457831e11218f371c71268
2014-07-30 17:35:29 +00:00
Alan Lau
c006227265 Merge "Revert "Revert "DO NOT MERGE Implement line breaking using ICU break iterator""" into klp-modular-dev 2014-07-30 16:17:51 +00:00