Commit Graph

266851 Commits

Author SHA1 Message Date
Dianne Hackborn
7572b6a9d9 Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: 7a1aa92610
am: 31ed6e646b

* commit '31ed6e646bebdaf2928fc739874ae7e1c1d5094d':

Change-Id: Ic552d02d6e3bdcd3ed08dec17f9d1f716a93a08b
2016-05-25 00:32:58 +00:00
Dianne Hackborn
30dc5aa8d4 Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: ae02bfdd28
am: f7af7ed20b

* commit 'f7af7ed20bf448259b5b2b838c650ec443f428db':

Change-Id: I54b65dd4096b4ffad927a653e4f38826e114586a
2016-05-25 00:32:52 +00:00
Jim Miller
57c29c6f09 Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev am: 0db3ad2410 am: 97fb2690c4
am: 1afcb4aabf

* commit '1afcb4aabf38959dd59a7c813876fb7549eda1d0':
  Fix missing permission check when saving pattern/password

Change-Id: I8a8b88c8a1d7af18ca4bae9c4dafc42ad4385215
2016-05-25 00:30:55 +00:00
Pavlin Radoslavov
b35b1afd3d Merge "Add missing "try ... finally" safeguards" into nyc-dev am: 0810732a2a am: 505425c063
am: 2a206db284

* commit '2a206db284847fcd239f50fa37523f52e2ea834e':
  Add missing "try ... finally" safeguards

Change-Id: I61f4b2c7654288fea18e0ab5a22dede839519115
2016-05-25 00:30:51 +00:00
Selim Cinek
8fba3b395f Merge "Fixed a few battery issues in SystemUI" into nyc-dev 2016-05-25 00:30:46 +00:00
Dianne Hackborn
ea833e898e Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: 7a1aa92610 am: 9bebd9edb0
am: caf8c3c160

* commit 'caf8c3c160952aff4b4197c1e0282489583a942d':
  Fix issue #28931042: wtf in system server

Change-Id: I86bf73a1294ccf4ef7ef63188e72942b17e61b0c
2016-05-25 00:30:46 +00:00
Dianne Hackborn
52cea80a0f Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: ae02bfdd28 am: 3f2704b112
am: 4cb2d09cc9

* commit '4cb2d09cc9ffeb2826a6409ccfe5e9a40bf5b71d':
  Fix issue #28931042: wtf in system server

Change-Id: I157db2bf789bcf339748f5462e8ce3e4dc41478a
2016-05-25 00:30:40 +00:00
Ta-wei Yen
b42fd29e80 Merge "Switch VVM SMS filter to Builder pattern" into nyc-mr1-dev am: 85663d7edf
am: 4567add419

* commit '4567add4196dfd148051961e11ac40e0f8e8d0a9':
  Switch VVM SMS filter to Builder pattern

Change-Id: Ice7acd136d8a03971c288b3067102f9a491e115f
2016-05-25 00:24:56 +00:00
Daniel Nishi
5da495ee25 Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev am: 9746deefbb
am: 15d6c4bf7c

* commit '15d6c4bf7c5feb1e77a50ae014e3e2c27740c898':
  Add a flag to toggle the automatic storage manager on and off.

Change-Id: I39652f61fc252bfd7a50b801ea46d7d00c60e83b
2016-05-25 00:24:51 +00:00
Jim Miller
1afcb4aabf Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev am: 0db3ad2410
am: 97fb2690c4

* commit '97fb2690c493bab4e874f0a12f28acff494a3b91':
  Fix missing permission check when saving pattern/password

Change-Id: I0f3f4848949427f074fc36da61a3620a93fff711
2016-05-25 00:24:35 +00:00
Pavlin Radoslavov
2a206db284 Merge "Add missing "try ... finally" safeguards" into nyc-dev am: 0810732a2a
am: 505425c063

* commit '505425c0631585a943de164a051bb6a83fd1ffec':
  Add missing "try ... finally" safeguards

Change-Id: I65dd9d226f759b997e548186d5c3c8c85eb44da2
2016-05-25 00:24:32 +00:00
Dianne Hackborn
caf8c3c160 Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: 7a1aa92610
am: 9bebd9edb0

* commit '9bebd9edb0ca6131da4b0e34dc58328f9e5b26cf':
  Fix issue #28931042: wtf in system server

Change-Id: Ic42f1fbaff38f96f5215aa959a5bad209052eba2
2016-05-25 00:24:27 +00:00
Dianne Hackborn
4cb2d09cc9 Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: ae02bfdd28
am: 3f2704b112

* commit '3f2704b112efd596c732965840762a3a53e5831b':
  Fix issue #28931042: wtf in system server

Change-Id: I9c49dc77bcd6b6ef31342da9846cbe672f46f57d
2016-05-25 00:24:21 +00:00
Jim Miller
a95f7d775b Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev
am: 0db3ad2410

* commit '0db3ad24100e21d1a6bd2e6fb6cf1cdd67d02e47':
  Fix missing permission check when saving pattern/password

Change-Id: Iec05d3688aa270cfa6fa8ead54fd1a933591786d
2016-05-25 00:18:59 +00:00
Ta-wei Yen
4567add419 Merge "Switch VVM SMS filter to Builder pattern" into nyc-mr1-dev
am: 85663d7edf

* commit '85663d7edfddd275e6e433bfe2c8b99bab019a49':
  Switch VVM SMS filter to Builder pattern

Change-Id: I85aaa4fc34a7f0b240f05bba98104879438c6331
2016-05-25 00:18:58 +00:00
Pavlin Radoslavov
e818ac4abf Merge "Add missing "try ... finally" safeguards" into nyc-dev
am: 0810732a2a

* commit '0810732a2affee7264d12b73fbcfa82d0db991b4':
  Add missing "try ... finally" safeguards

Change-Id: I227ab98f33c025543e4ac4adf16453acd6159713
2016-05-25 00:18:53 +00:00
Dianne Hackborn
31ed6e646b Merge "Fix issue #28931042: wtf in system server" into nyc-dev
am: 7a1aa92610

* commit '7a1aa926109b090251d193426ba9fdc699e6f3b7':
  Fix issue #28931042: wtf in system server

Change-Id: I84142fe627ae93b680577bff91327419715db4bb
2016-05-25 00:18:45 +00:00
Daniel Nishi
15d6c4bf7c Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev
am: 9746deefbb

* commit '9746deefbbfa3f6561bdf27e7d697cc352853f13':
  Add a flag to toggle the automatic storage manager on and off.

Change-Id: Icd5688b8ea9c72c6bab9dbb0eedd895bd0b09aca
2016-05-25 00:18:39 +00:00
Dianne Hackborn
f7af7ed20b Merge "Fix issue #28931042: wtf in system server" into nyc-dev
am: ae02bfdd28

* commit 'ae02bfdd289f7172faeb57664ef47de8b547fa05':
  Fix issue #28931042: wtf in system server

Change-Id: I0b15977a1b4e79743a6fe6937cd3463a4e3c2c3c
2016-05-25 00:18:37 +00:00
Jim Miller
97fb2690c4 Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev
am: 0db3ad2410

* commit '0db3ad24100e21d1a6bd2e6fb6cf1cdd67d02e47':
  Fix missing permission check when saving pattern/password

Change-Id: I76b097259a3bd072536b69476da7ef36b3b73de4
2016-05-25 00:17:09 +00:00
Pavlin Radoslavov
505425c063 Merge "Add missing "try ... finally" safeguards" into nyc-dev
am: 0810732a2a

* commit '0810732a2affee7264d12b73fbcfa82d0db991b4':
  Add missing "try ... finally" safeguards

Change-Id: I29408abab67992b5d33684254c1d7ea7abf34e33
2016-05-25 00:17:06 +00:00
Dianne Hackborn
9bebd9edb0 Merge "Fix issue #28931042: wtf in system server" into nyc-dev
am: 7a1aa92610

* commit '7a1aa926109b090251d193426ba9fdc699e6f3b7':
  Fix issue #28931042: wtf in system server

Change-Id: Ifc7c884f7fe54f4b4d9d0769c1a0af1b9f6f2e0b
2016-05-25 00:17:02 +00:00
Dianne Hackborn
3f2704b112 Merge "Fix issue #28931042: wtf in system server" into nyc-dev
am: ae02bfdd28

* commit 'ae02bfdd289f7172faeb57664ef47de8b547fa05':
  Fix issue #28931042: wtf in system server

Change-Id: I24ca8dbb0f9935651fbeaf84b58407eb05abc064
2016-05-25 00:16:57 +00:00
Andrew Sapperstein
eb38bd74a6 Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev am: 8943d9dff4
am: 00e2a3e659

* commit '00e2a3e6593e5af9abd99bfcce635a5fb9de0e9c':
  Replace bluetooth pngs with vector drawables.

Change-Id: Ic57fc5547c709e88cc607ca9f45bc974092e0263
2016-05-25 00:16:45 +00:00
Pavlin Radoslavov
9a69daa706 Add missing "try ... finally" safeguards
Safeguards for code protected by ReentrantReadWriteLock.

Bug: 28734075
Bug: 28799467
Change-Id: Ib7f598a92e8df6bd855ca48cdd094c1c73a935f2
(cherry picked from commit e957a8a0b4)
2016-05-24 17:14:51 -07:00
Ta-wei Yen
85663d7edf Merge "Switch VVM SMS filter to Builder pattern" into nyc-mr1-dev 2016-05-25 00:13:06 +00:00
Daniel Nishi
9746deefbb Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev 2016-05-25 00:10:56 +00:00
Doris Liu
61045c518b Clamp start delay to non-negative range
Bug: 28936388
Change-Id: I2a225e07cad53c6ffc3637219f8c741aca5c008c
2016-05-25 00:10:25 +00:00
Jim Miller
0db3ad2410 Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev 2016-05-25 00:09:46 +00:00
TreeHugger Robot
0810732a2a Merge "Add missing "try ... finally" safeguards" into nyc-dev 2016-05-25 00:09:29 +00:00
Andrew Sapperstein
00e2a3e659 Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev
am: 8943d9dff4

* commit '8943d9dff4accfb20fbea1765b97d94c375e7cb1':
  Replace bluetooth pngs with vector drawables.

Change-Id: I81753a18d1af8a0abb1325bc382010b1687e9439
2016-05-25 00:09:02 +00:00
Dianne Hackborn
7a1aa92610 Merge "Fix issue #28931042: wtf in system server" into nyc-dev 2016-05-25 00:00:07 +00:00
Eric Schmidt
22f5dd2372 docs: Instant Apps broken link, wonky video thumbnail
Bug: 28861513
Bug: 28842359
Change-Id: I8c90d3131f614727a96937702f062a95f998047a
2016-05-24 16:56:45 -07:00
Yohei Yukawa
8e9214b4bd Make IMM more robust to spurious window focus-in
InputMethodManager (IMM) has a latch switch named IMM#mHasBeenInactive
to forcefully refresh IME focus state when an inactive client
(IMM#mActive == false) is gaining window focus.  However, it turns out
that there is a race condition where the latch could be unexpectedly
turned off. This is probably what we have been chasing in bug 25373872.

Imagine the following scenario:

  1. An app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=false
  2. IMM inside the app receives MSG_SET_ACTIVE w/ active=false
  3. The app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=true
  4. The app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=false
  5. The app receives MSG_WINDOW_FOCUS_CHANGED w/ hasWindowFocus=true

Here, our current strategy has been:
  A. Turn on the latch when MSG_SET_ACTIVE (w/active=false) is handled.
  B. Turn off the latch and ask IMMS to start input when
     MSG_WINDOW_FOCUS_CHANGED (w/ hasWindowFocus=true) is handled.

The problem is that in the step B IMMS can reject the request if
WindowManagerService (WMS) tells that the window in question no longer
has window focus. This is not surprising because the app is
just handling messages in the message queue sequentially.  As a result,
the IME focus is not updated expectedly in the step 5, because the latch
is no longer enabled as we expected.

With this CL, the latch will be re-enabled if the app fails to start
input while IMM#mActive is false as a short-term solution.

In future we may want to address this issue in protocol level so that
we can address other known issues such as bug 26851566 at the same time.

Bug: 28281870
Change-Id: I60adb38013b063918b074c7b947649eada77b2c8
2016-05-24 23:55:29 +00:00
Selim Cinek
5f56d85552 Fixed a bug where the expand button was invisible
Since the view wasn't layouted yet it was layouting it wrongly

Change-Id: I62fcdde1eda457bab74765a290865b1749b08dac
Fixes: 28869354
2016-05-24 16:55:13 -07:00
TreeHugger Robot
8943d9dff4 Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev 2016-05-24 23:50:30 +00:00
Suprabh Shukla
64e0dcb989 Updating user restrictions when they are removed
Local user restrictions were not being updated in
AppOpsService#setUserRestrictions when a restriction was removed.

Bug: 28908581
Change-Id: If22f5834fadca33ec8b80bc4fb3993c1e1c29824
2016-05-24 16:47:41 -07:00
Doris Liu
1ccd7e1fc0 Merge "Fix blue channel gets updated incorrectly in ChangeText transition" 2016-05-24 23:39:41 +00:00
Adam Powell
143bf5b0f7 Update preloaded drawables
Remove holo assets and add all material assets referred to through
styles.

Bug 28729750

Change-Id: I34aac1ac55d087ac60f12c2954e612072a93366b
2016-05-24 16:39:16 -07:00
Chong Zhang
f58631a6a2 Destroy saved surfaces if one of the last visible windows gets removed
Also, if by the time the app is closing, a window is still invisible
in layout (or is already removed), mark the window as mAnimatingExit,
so that the surface is destroyed (or saved again). If it's marked
for removal, the window gets removed as well.

bug: 28913302
Change-Id: Ifa3dc0742f9c8c09d741fd64dcdc01b49075628c
2016-05-24 16:28:25 -07:00
Pavlin Radoslavov
e1a60983da Merge "Reduced the impact of "synchronized" statements"
am: 1c3b50a00e

* commit '1c3b50a00ea3ab23569a697ba1f1e756098a01a2':
  Reduced the impact of "synchronized" statements

Change-Id: I7ddeb85696efe31c52db3a97ec2a142cb03bee65
2016-05-24 23:25:03 +00:00
Jorim Jaggi
953f9b8624 Merge "Make navigation bar always slippery" into nyc-mr1-dev am: b5359a0ccf
am: 8800c68e66

* commit '8800c68e66b695a8209dce83a900a495b093fd5b':
  Make navigation bar always slippery

Change-Id: Ifce74323b37d45bbc6b60d933fffd1b3fdd7d5e8
2016-05-24 23:24:55 +00:00
Dianne Hackborn
ae02bfdd28 Merge "Fix issue #28931042: wtf in system server" into nyc-dev 2016-05-24 23:23:35 +00:00
Jorim Jaggi
8800c68e66 Merge "Make navigation bar always slippery" into nyc-mr1-dev
am: b5359a0ccf

* commit 'b5359a0ccf990d3befb0dfa5fa5fe5162a03aac8':
  Make navigation bar always slippery

Change-Id: I527426fc2005b29489261c3d277cff008858bd37
2016-05-24 23:17:40 +00:00
Treehugger Robot
1c3b50a00e Merge "Reduced the impact of "synchronized" statements" 2016-05-24 23:17:36 +00:00
TreeHugger Robot
b5359a0ccf Merge "Make navigation bar always slippery" into nyc-mr1-dev 2016-05-24 23:12:39 +00:00
Sudheer Shanka
b4742164b5 Merge "Merge "Fix usermanager related tests." into nyc-mr1-dev am: bb883ddf59" into nyc-mr1-dev-plus-aosp
am: ff2067f9dc

* commit 'ff2067f9dce6801a7b91e5185a53ee704b802856':
  Fix usermanager related tests.

Change-Id: Ifce5de3f6994d50cdfb5e9fb5a92bc47e7c9331c
2016-05-24 23:09:40 +00:00
Sid Soundararajan
bfdde363be Merge "Add support for dismissing in Talkback Mode" into nyc-dev am: a3cb77a9b4 am: 4771bc84d8
am: 438d5cfae4

* commit '438d5cfae48e05628e67e0d5c0779186bbd61daf':

Change-Id: I170124aa2f4bf45148acecdfaefa50d74d7c2e08
2016-05-24 23:09:36 +00:00
Jim Miller
18347a3289 resolve merge conflicts of f950ec9 to nyc-dev
Change-Id: I131632cb9d64156d10001b3555e8b3bfa471690d
2016-05-24 16:08:15 -07:00
Chet Haase
f3d5ec05b4 Remove hidden LocaleList default constructor
Previous change hid this constructor. Now removing it entirely for completeness.

Issue #28296200  API Review: LocaleList

Change-Id: I43476994070b101999d338ec1f5d1a1a0a2a7658
2016-05-24 16:07:00 -07:00